diff --git a/crates/jacquard-api/Cargo.toml b/crates/jacquard-api/Cargo.toml index ee2bc5e7..ce3de493 100644 --- a/crates/jacquard-api/Cargo.toml +++ b/crates/jacquard-api/Cargo.toml @@ -20,7 +20,7 @@ bytes = { workspace = true, features = ["serde"] } jacquard-common = { version = "0.9", path = "../jacquard-common" } jacquard-derive = { version = "0.9", path = "../jacquard-derive" } jacquard-lexicon = { version = "0.9", path = "../jacquard-lexicon", default-features = false } -miette = { workspace = true, optional = true } +miette.workspace = true rustversion = "1.0" serde.workspace = true serde_ipld_dagcbor.workspace = true @@ -35,7 +35,7 @@ non_snake_case = "allow" [features] default = [ "minimal", "std"] -std = ["serde/std", "serde_ipld_dagcbor/std", "serde_bytes/std", "dep:miette"] +std = ["serde/std", "serde_ipld_dagcbor/std", "serde_bytes/std"] minimal = [ "com_atproto", "com_bad_example"] bluesky = [ "com_atproto", "app_bsky", "chat_bsky", "tools_ozone", "minimal"] other = ["sh_tangled", "sh_weaver", "pub_leaflet", "net_anisota", "network_slices", "com_whtwnd", "place_stream", "blue__2048", "minimal" ] @@ -47,40 +47,40 @@ streaming = ["jacquard-common/websocket"] # --- generated --- # Generated namespace features app_blebbit = [] -app_bsky = [] +app_bsky = ["com_atproto"] app_dropanchor = [] app_ocho = [] -app_rocksky = [] -art_cllctv = [] +app_rocksky = ["com_atproto"] +art_cllctv = ["app_bsky", "com_atproto"] beauty_cybernetic = [] -blog_pckt = [] +blog_pckt = ["com_atproto"] blue__2048 = [] blue_atplane = [] blue_linkat = [] blue_recipes = [] blue_rito = [] blue_zio = [] -buzz_bookhive = [] -chat_bsky = [] +buzz_bookhive = ["com_atproto"] +chat_bsky = ["app_bsky"] club_stellz = [] com__5jiji = [] com_atproto = [] com_atprotofans = ["com_atproto"] com_bad_example = [] com_crabdance = [] -com_shinolabs = [] +com_shinolabs = ["com_atproto"] com_whtwnd = [] com_yuna0x0 = [] -community_lexicon = [] +community_lexicon = ["com_atproto"] computer_aesthetic = [] dev_baileytownsend = [] dev_fudgeu = [] dev_ocbwoy3 = [] dev_regnault = [] fm_teal = [] -fyi_frontpage = [] -fyi_questionable = [] -fyi_unravel = [] +fyi_frontpage = ["com_atproto"] +fyi_questionable = ["com_atproto"] +fyi_unravel = ["com_atproto"] games_firehose = [] garden_lexicon = [] io_atcr = [] @@ -93,37 +93,37 @@ moe_karashiiro = [] my_skylights = [] net_aftertheinter = [] net_altq = [] -net_anisota = ["app_bsky"] +net_anisota = ["app_bsky", "com_atproto"] net_asadaame5121 = [] net_bnewbold = [] net_mmatt = [] net_shwilliam = [] -net_wafrn = [] -network_slices = [] +net_wafrn = ["com_atproto"] +network_slices = ["app_bsky"] org_devcon = [] org_farmapps = [] -org_okazu_diary = [] +org_okazu_diary = ["com_atproto"] org_robocracy = [] org_user_intents = [] place_atwork = [] -place_stream = ["app_bsky"] +place_stream = ["app_bsky", "com_atproto"] place_wisp = [] -pub_leaflet = [] +pub_leaflet = ["com_atproto"] sh_tangled = [] -sh_weaver = ["app_bsky"] -site_standard = [] +sh_weaver = ["app_bsky", "com_atproto"] +site_standard = ["com_atproto"] social_clippr = [] social_flockfeeds = [] -social_grain = [] +social_grain = ["com_atproto"] social_pmsky = [] -social_psky = [] +social_psky = ["com_atproto"] social_sket = [] -tech_manos = [] -tech_tokimeki = [] -tools_ozone = ["chat_bsky", "com_atproto"] +tech_manos = ["com_atproto"] +tech_tokimeki = ["com_atproto"] +tools_ozone = ["app_bsky", "chat_bsky", "com_atproto"] tools_smokesignal = [] uk_ewancroft = [] uk_skyblur = [] -us_polhem = [] +us_polhem = ["app_bsky"] win_tomo_x = [] -xyz_atpoke = [] +xyz_atpoke = ["com_atproto"] diff --git a/crates/jacquard-api/src/app_bsky/actor.rs b/crates/jacquard-api/src/app_bsky/actor.rs index ed282ca0..3b6aff4a 100644 --- a/crates/jacquard-api/src/app_bsky/actor.rs +++ b/crates/jacquard-api/src/app_bsky/actor.rs @@ -2698,7 +2698,107 @@ pub struct ContentLabelPref<'a> { #[serde(borrow)] pub labeler_did: std::option::Option>, #[serde(borrow)] - pub visibility: jacquard_common::CowStr<'a>, + pub visibility: ContentLabelPrefVisibility<'a>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ContentLabelPrefVisibility<'a> { + Ignore, + Show, + Warn, + Hide, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ContentLabelPrefVisibility<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Ignore => "ignore", + Self::Show => "show", + Self::Warn => "warn", + Self::Hide => "hide", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ContentLabelPrefVisibility<'a> { + fn from(s: &'a str) -> Self { + match s { + "ignore" => Self::Ignore, + "show" => Self::Show, + "warn" => Self::Warn, + "hide" => Self::Hide, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ContentLabelPrefVisibility<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "ignore" => Self::Ignore, + "show" => Self::Show, + "warn" => Self::Warn, + "hide" => Self::Hide, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ContentLabelPrefVisibility<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ContentLabelPrefVisibility<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ContentLabelPrefVisibility<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ContentLabelPrefVisibility<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ContentLabelPrefVisibility<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ContentLabelPrefVisibility<'_> { + type Output = ContentLabelPrefVisibility<'static>; + fn into_static(self) -> Self::Output { + match self { + ContentLabelPrefVisibility::Ignore => ContentLabelPrefVisibility::Ignore, + ContentLabelPrefVisibility::Show => ContentLabelPrefVisibility::Show, + ContentLabelPrefVisibility::Warn => ContentLabelPrefVisibility::Warn, + ContentLabelPrefVisibility::Hide => ContentLabelPrefVisibility::Hide, + ContentLabelPrefVisibility::Other(v) => { + ContentLabelPrefVisibility::Other(v.into_static()) + } + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ContentLabelPref<'a> { @@ -3592,7 +3692,7 @@ pub struct MutedWord<'a> { /// Groups of users to apply the muted word to. If undefined, applies to all users. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub actor_target: std::option::Option>, + pub actor_target: std::option::Option>, /// The date and time at which the muted word will expire and no longer be applied. #[serde(skip_serializing_if = "std::option::Option::is_none")] pub expires_at: std::option::Option, @@ -3617,37 +3717,37 @@ pub mod muted_word_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; type Targets; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; type Targets = Unset; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; - type Targets = S::Targets; + type Value = Unset; } ///State transition - sets the `targets` field to Set pub struct SetTargets(PhantomData S>); impl sealed::Sealed for SetTargets {} impl State for SetTargets { - type Value = S::Value; type Targets = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Targets = S::Targets; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `targets` field pub struct targets(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -3655,7 +3755,7 @@ pub mod muted_word_state { pub struct MutedWordBuilder<'a, S: muted_word_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option>>, @@ -3686,7 +3786,7 @@ impl<'a, S: muted_word_state::State> MutedWordBuilder<'a, S> { /// Set the `actorTarget` field (optional) pub fn actor_target( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.0 = value.into(); self @@ -3694,7 +3794,7 @@ impl<'a, S: muted_word_state::State> MutedWordBuilder<'a, S> { /// Set the `actorTarget` field to an Option value (optional) pub fn maybe_actor_target( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.0 = value; self @@ -3774,8 +3874,8 @@ where impl<'a, S> MutedWordBuilder<'a, S> where S: muted_word_state::State, - S::Value: muted_word_state::IsSet, S::Targets: muted_word_state::IsSet, + S::Value: muted_word_state::IsSet, { /// Build the final struct pub fn build(self) -> MutedWord<'a> { @@ -3807,6 +3907,99 @@ where } } +/// Groups of users to apply the muted word to. If undefined, applies to all users. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum MutedWordActorTarget<'a> { + All, + ExcludeFollowing, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> MutedWordActorTarget<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::All => "all", + Self::ExcludeFollowing => "exclude-following", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for MutedWordActorTarget<'a> { + fn from(s: &'a str) -> Self { + match s { + "all" => Self::All, + "exclude-following" => Self::ExcludeFollowing, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for MutedWordActorTarget<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "all" => Self::All, + "exclude-following" => Self::ExcludeFollowing, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for MutedWordActorTarget<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for MutedWordActorTarget<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for MutedWordActorTarget<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for MutedWordActorTarget<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for MutedWordActorTarget<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for MutedWordActorTarget<'_> { + type Output = MutedWordActorTarget<'static>; + fn into_static(self) -> Self::Output { + match self { + MutedWordActorTarget::All => MutedWordActorTarget::All, + MutedWordActorTarget::ExcludeFollowing => { + MutedWordActorTarget::ExcludeFollowing + } + MutedWordActorTarget::Other(v) => { + MutedWordActorTarget::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MutedWord<'a> { fn nsid() -> &'static str { "app.bsky.actor.defs" @@ -3899,6 +4092,12 @@ impl<'a> AsRef for MutedWordTarget<'a> { } } +impl<'a> core::fmt::Display for MutedWordTarget<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for MutedWordTarget<'a> { fn serialize(&self, serializer: S) -> Result where @@ -4574,7 +4773,114 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileAssociated<'a> { #[serde(rename_all = "camelCase")] pub struct ProfileAssociatedActivitySubscription<'a> { #[serde(borrow)] - pub allow_subscriptions: jacquard_common::CowStr<'a>, + pub allow_subscriptions: ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + Followers, + Mutuals, + None, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Followers => "followers", + Self::Mutuals => "mutuals", + Self::None => "none", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + fn from(s: &'a str) -> Self { + match s { + "followers" => Self::Followers, + "mutuals" => Self::Mutuals, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "followers" => Self::Followers, + "mutuals" => Self::Mutuals, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display +for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize +for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> +for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic +for ProfileAssociatedActivitySubscriptionAllowSubscriptions<'_> { + type Output = ProfileAssociatedActivitySubscriptionAllowSubscriptions<'static>; + fn into_static(self) -> Self::Output { + match self { + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Followers => { + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Followers + } + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Mutuals => { + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Mutuals + } + ProfileAssociatedActivitySubscriptionAllowSubscriptions::None => { + ProfileAssociatedActivitySubscriptionAllowSubscriptions::None + } + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Other(v) => { + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Other( + v.into_static(), + ) + } + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema @@ -4609,30 +4915,131 @@ for ProfileAssociatedActivitySubscription<'a> { #[serde(rename_all = "camelCase")] pub struct ProfileAssociatedChat<'a> { #[serde(borrow)] - pub allow_incoming: jacquard_common::CowStr<'a>, + pub allow_incoming: ProfileAssociatedChatAllowIncoming<'a>, } -impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileAssociatedChat<'a> { - fn nsid() -> &'static str { - "app.bsky.actor.defs" - } - fn def_name() -> &'static str { - "profileAssociatedChat" - } - fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { - lexicon_doc_app_bsky_actor_defs() +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ProfileAssociatedChatAllowIncoming<'a> { + All, + None, + Following, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ProfileAssociatedChatAllowIncoming<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::All => "all", + Self::None => "none", + Self::Following => "following", + Self::Other(s) => s.as_ref(), + } } - fn validate( - &self, - ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { - Ok(()) +} + +impl<'a> From<&'a str> for ProfileAssociatedChatAllowIncoming<'a> { + fn from(s: &'a str) -> Self { + match s { + "all" => Self::All, + "none" => Self::None, + "following" => Self::Following, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } } } -#[jacquard_derive::lexicon] -#[derive( - serde::Serialize, - serde::Deserialize, +impl<'a> From for ProfileAssociatedChatAllowIncoming<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "all" => Self::All, + "none" => Self::None, + "following" => Self::Following, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ProfileAssociatedChatAllowIncoming<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ProfileAssociatedChatAllowIncoming<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ProfileAssociatedChatAllowIncoming<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ProfileAssociatedChatAllowIncoming<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ProfileAssociatedChatAllowIncoming<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ProfileAssociatedChatAllowIncoming<'_> { + type Output = ProfileAssociatedChatAllowIncoming<'static>; + fn into_static(self) -> Self::Output { + match self { + ProfileAssociatedChatAllowIncoming::All => { + ProfileAssociatedChatAllowIncoming::All + } + ProfileAssociatedChatAllowIncoming::None => { + ProfileAssociatedChatAllowIncoming::None + } + ProfileAssociatedChatAllowIncoming::Following => { + ProfileAssociatedChatAllowIncoming::Following + } + ProfileAssociatedChatAllowIncoming::Other(v) => { + ProfileAssociatedChatAllowIncoming::Other(v.into_static()) + } + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileAssociatedChat<'a> { + fn nsid() -> &'static str { + "app.bsky.actor.defs" + } + fn def_name() -> &'static str { + "profileAssociatedChat" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_app_bsky_actor_defs() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, Debug, Clone, PartialEq, @@ -4692,37 +5099,37 @@ pub mod profile_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -5047,8 +5454,8 @@ impl<'a, S: profile_view_state::State> ProfileViewBuilder<'a, S> { impl<'a, S> ProfileViewBuilder<'a, S> where S: profile_view_state::State, - S::Did: profile_view_state::IsSet, S::Handle: profile_view_state::IsSet, + S::Did: profile_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileView<'a> { @@ -6367,7 +6774,7 @@ pub struct SavedFeed<'a> { pub id: jacquard_common::CowStr<'a>, pub pinned: bool, #[serde(borrow)] - pub r#type: jacquard_common::CowStr<'a>, + pub r#type: SavedFeedType<'a>, #[serde(borrow)] pub value: jacquard_common::CowStr<'a>, } @@ -6383,66 +6790,66 @@ pub mod saved_feed_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Id; - type Type; - type Pinned; type Value; + type Pinned; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Id = Unset; - type Type = Unset; - type Pinned = Unset; type Value = Unset; + type Pinned = Unset; + type Type = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Id = Set; - type Type = S::Type; - type Pinned = S::Pinned; type Value = S::Value; + type Pinned = S::Pinned; + type Type = S::Type; } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { type Id = S::Id; - type Type = Set; + type Value = Set; type Pinned = S::Pinned; - type Value = S::Value; + type Type = S::Type; } ///State transition - sets the `pinned` field to Set pub struct SetPinned(PhantomData S>); impl sealed::Sealed for SetPinned {} impl State for SetPinned { type Id = S::Id; - type Type = S::Type; - type Pinned = Set; type Value = S::Value; + type Pinned = Set; + type Type = S::Type; } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { type Id = S::Id; - type Type = S::Type; + type Value = S::Value; type Pinned = S::Pinned; - type Value = Set; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `type` field - pub struct r#type(()); - ///Marker type for the `pinned` field - pub struct pinned(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `pinned` field + pub struct pinned(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -6452,7 +6859,7 @@ pub struct SavedFeedBuilder<'a, S: saved_feed_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -6522,7 +6929,7 @@ where /// Set the `type` field (required) pub fn r#type( mut self, - value: impl Into>, + value: impl Into>, ) -> SavedFeedBuilder<'a, saved_feed_state::SetType> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); SavedFeedBuilder { @@ -6556,9 +6963,9 @@ impl<'a, S> SavedFeedBuilder<'a, S> where S: saved_feed_state::State, S::Id: saved_feed_state::IsSet, - S::Type: saved_feed_state::IsSet, - S::Pinned: saved_feed_state::IsSet, S::Value: saved_feed_state::IsSet, + S::Pinned: saved_feed_state::IsSet, + S::Type: saved_feed_state::IsSet, { /// Build the final struct pub fn build(self) -> SavedFeed<'a> { @@ -6588,6 +6995,99 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum SavedFeedType<'a> { + Feed, + List, + Timeline, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> SavedFeedType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Feed => "feed", + Self::List => "list", + Self::Timeline => "timeline", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for SavedFeedType<'a> { + fn from(s: &'a str) -> Self { + match s { + "feed" => Self::Feed, + "list" => Self::List, + "timeline" => Self::Timeline, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for SavedFeedType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "feed" => Self::Feed, + "list" => Self::List, + "timeline" => Self::Timeline, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for SavedFeedType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for SavedFeedType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for SavedFeedType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for SavedFeedType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for SavedFeedType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for SavedFeedType<'_> { + type Output = SavedFeedType<'static>; + fn into_static(self) -> Self::Output { + match self { + SavedFeedType::Feed => SavedFeedType::Feed, + SavedFeedType::List => SavedFeedType::List, + SavedFeedType::Timeline => SavedFeedType::Timeline, + SavedFeedType::Other(v) => SavedFeedType::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SavedFeed<'a> { fn nsid() -> &'static str { "app.bsky.actor.defs" @@ -6635,37 +7135,37 @@ pub mod saved_feeds_pref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Pinned; type Saved; + type Pinned; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Pinned = Unset; type Saved = Unset; - } - ///State transition - sets the `pinned` field to Set - pub struct SetPinned(PhantomData S>); - impl sealed::Sealed for SetPinned {} - impl State for SetPinned { - type Pinned = Set; - type Saved = S::Saved; + type Pinned = Unset; } ///State transition - sets the `saved` field to Set pub struct SetSaved(PhantomData S>); impl sealed::Sealed for SetSaved {} impl State for SetSaved { - type Pinned = S::Pinned; type Saved = Set; + type Pinned = S::Pinned; + } + ///State transition - sets the `pinned` field to Set + pub struct SetPinned(PhantomData S>); + impl sealed::Sealed for SetPinned {} + impl State for SetPinned { + type Saved = S::Saved; + type Pinned = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `pinned` field - pub struct pinned(()); ///Marker type for the `saved` field pub struct saved(()); + ///Marker type for the `pinned` field + pub struct pinned(()); } } @@ -6752,8 +7252,8 @@ impl<'a, S: saved_feeds_pref_state::State> SavedFeedsPrefBuilder<'a, S> { impl<'a, S> SavedFeedsPrefBuilder<'a, S> where S: saved_feeds_pref_state::State, - S::Pinned: saved_feeds_pref_state::IsSet, S::Saved: saved_feeds_pref_state::IsSet, + S::Pinned: saved_feeds_pref_state::IsSet, { /// Build the final struct pub fn build(self) -> SavedFeedsPref<'a> { @@ -6962,7 +7462,7 @@ pub struct StatusView<'a> { pub record: jacquard_common::types::value::Data<'a>, /// The status for the account. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: StatusViewStatus<'a>, } pub mod status_view_state { @@ -6975,37 +7475,37 @@ pub mod status_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Status; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Status = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Status = S::Status; + type Record = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type Record = S::Record; type Status = Set; + type Record = S::Record; } - /// Marker types for field names - #[allow(non_camel_case_types)] - pub mod members { - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `status` field + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Status = S::Status; + type Record = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -7017,7 +7517,7 @@ pub struct StatusViewBuilder<'a, S: status_view_state::State> { ::core::option::Option, ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -7118,7 +7618,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> StatusViewBuilder<'a, status_view_state::SetStatus> { self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); StatusViewBuilder { @@ -7132,8 +7632,8 @@ where impl<'a, S> StatusViewBuilder<'a, S> where S: status_view_state::State, - S::Record: status_view_state::IsSet, S::Status: status_view_state::IsSet, + S::Record: status_view_state::IsSet, { /// Build the final struct pub fn build(self) -> StatusView<'a> { @@ -7165,6 +7665,90 @@ where } } +/// The status for the account. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum StatusViewStatus<'a> { + Live, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> StatusViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Live => "app.bsky.actor.status#live", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for StatusViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "app.bsky.actor.status#live" => Self::Live, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for StatusViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "app.bsky.actor.status#live" => Self::Live, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for StatusViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for StatusViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for StatusViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for StatusViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for StatusViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for StatusViewStatus<'_> { + type Output = StatusViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + StatusViewStatus::Live => StatusViewStatus::Live, + StatusViewStatus::Other(v) => StatusViewStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for StatusView<'a> { fn nsid() -> &'static str { "app.bsky.actor.defs" @@ -7198,7 +7782,111 @@ pub struct ThreadViewPref<'a> { /// Sorting mode for threads. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub sort: std::option::Option>, + pub sort: std::option::Option>, +} + +/// Sorting mode for threads. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ThreadViewPrefSort<'a> { + Oldest, + Newest, + MostLikes, + Random, + Hotness, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ThreadViewPrefSort<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Oldest => "oldest", + Self::Newest => "newest", + Self::MostLikes => "most-likes", + Self::Random => "random", + Self::Hotness => "hotness", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ThreadViewPrefSort<'a> { + fn from(s: &'a str) -> Self { + match s { + "oldest" => Self::Oldest, + "newest" => Self::Newest, + "most-likes" => Self::MostLikes, + "random" => Self::Random, + "hotness" => Self::Hotness, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ThreadViewPrefSort<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "oldest" => Self::Oldest, + "newest" => Self::Newest, + "most-likes" => Self::MostLikes, + "random" => Self::Random, + "hotness" => Self::Hotness, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ThreadViewPrefSort<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ThreadViewPrefSort<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ThreadViewPrefSort<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ThreadViewPrefSort<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ThreadViewPrefSort<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ThreadViewPrefSort<'_> { + type Output = ThreadViewPrefSort<'static>; + fn into_static(self) -> Self::Output { + match self { + ThreadViewPrefSort::Oldest => ThreadViewPrefSort::Oldest, + ThreadViewPrefSort::Newest => ThreadViewPrefSort::Newest, + ThreadViewPrefSort::MostLikes => ThreadViewPrefSort::MostLikes, + ThreadViewPrefSort::Random => ThreadViewPrefSort::Random, + ThreadViewPrefSort::Hotness => ThreadViewPrefSort::Hotness, + ThreadViewPrefSort::Other(v) => ThreadViewPrefSort::Other(v.into_static()), + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ThreadViewPref<'a> { @@ -7269,13 +7957,13 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationPrefs<'a> { pub struct VerificationState<'a> { /// The user's status as a trusted verifier. #[serde(borrow)] - pub trusted_verifier_status: jacquard_common::CowStr<'a>, + pub trusted_verifier_status: VerificationStateTrustedVerifierStatus<'a>, /// All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. #[serde(borrow)] pub verifications: Vec>, /// The user's status as a verified account. #[serde(borrow)] - pub verified_status: jacquard_common::CowStr<'a>, + pub verified_status: VerificationStateVerifiedStatus<'a>, } pub mod verification_state_state { @@ -7289,50 +7977,50 @@ pub mod verification_state_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type TrustedVerifierStatus; - type VerifiedStatus; type Verifications; + type VerifiedStatus; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type TrustedVerifierStatus = Unset; - type VerifiedStatus = Unset; type Verifications = Unset; + type VerifiedStatus = Unset; } ///State transition - sets the `trusted_verifier_status` field to Set pub struct SetTrustedVerifierStatus(PhantomData S>); impl sealed::Sealed for SetTrustedVerifierStatus {} impl State for SetTrustedVerifierStatus { type TrustedVerifierStatus = Set; - type VerifiedStatus = S::VerifiedStatus; - type Verifications = S::Verifications; - } - ///State transition - sets the `verified_status` field to Set - pub struct SetVerifiedStatus(PhantomData S>); - impl sealed::Sealed for SetVerifiedStatus {} - impl State for SetVerifiedStatus { - type TrustedVerifierStatus = S::TrustedVerifierStatus; - type VerifiedStatus = Set; type Verifications = S::Verifications; + type VerifiedStatus = S::VerifiedStatus; } ///State transition - sets the `verifications` field to Set pub struct SetVerifications(PhantomData S>); impl sealed::Sealed for SetVerifications {} impl State for SetVerifications { type TrustedVerifierStatus = S::TrustedVerifierStatus; - type VerifiedStatus = S::VerifiedStatus; type Verifications = Set; + type VerifiedStatus = S::VerifiedStatus; + } + ///State transition - sets the `verified_status` field to Set + pub struct SetVerifiedStatus(PhantomData S>); + impl sealed::Sealed for SetVerifiedStatus {} + impl State for SetVerifiedStatus { + type TrustedVerifierStatus = S::TrustedVerifierStatus; + type Verifications = S::Verifications; + type VerifiedStatus = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `trusted_verifier_status` field pub struct trusted_verifier_status(()); - ///Marker type for the `verified_status` field - pub struct verified_status(()); ///Marker type for the `verifications` field pub struct verifications(()); + ///Marker type for the `verified_status` field + pub struct verified_status(()); } } @@ -7340,9 +8028,9 @@ pub mod verification_state_state { pub struct VerificationStateBuilder<'a, S: verification_state_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -7373,7 +8061,7 @@ where /// Set the `trustedVerifierStatus` field (required) pub fn trusted_verifier_status( mut self, - value: impl Into>, + value: impl Into>, ) -> VerificationStateBuilder< 'a, verification_state_state::SetTrustedVerifierStatus, @@ -7414,7 +8102,7 @@ where /// Set the `verifiedStatus` field (required) pub fn verified_status( mut self, - value: impl Into>, + value: impl Into>, ) -> VerificationStateBuilder<'a, verification_state_state::SetVerifiedStatus> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); VerificationStateBuilder { @@ -7429,8 +8117,8 @@ impl<'a, S> VerificationStateBuilder<'a, S> where S: verification_state_state::State, S::TrustedVerifierStatus: verification_state_state::IsSet, - S::VerifiedStatus: verification_state_state::IsSet, S::Verifications: verification_state_state::IsSet, + S::VerifiedStatus: verification_state_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationState<'a> { @@ -7458,6 +8146,210 @@ where } } +/// The user's status as a trusted verifier. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum VerificationStateTrustedVerifierStatus<'a> { + Valid, + Invalid, + None, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> VerificationStateTrustedVerifierStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Valid => "valid", + Self::Invalid => "invalid", + Self::None => "none", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for VerificationStateTrustedVerifierStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "valid" => Self::Valid, + "invalid" => Self::Invalid, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for VerificationStateTrustedVerifierStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "valid" => Self::Valid, + "invalid" => Self::Invalid, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for VerificationStateTrustedVerifierStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for VerificationStateTrustedVerifierStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for VerificationStateTrustedVerifierStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for VerificationStateTrustedVerifierStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for VerificationStateTrustedVerifierStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for VerificationStateTrustedVerifierStatus<'_> { + type Output = VerificationStateTrustedVerifierStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + VerificationStateTrustedVerifierStatus::Valid => { + VerificationStateTrustedVerifierStatus::Valid + } + VerificationStateTrustedVerifierStatus::Invalid => { + VerificationStateTrustedVerifierStatus::Invalid + } + VerificationStateTrustedVerifierStatus::None => { + VerificationStateTrustedVerifierStatus::None + } + VerificationStateTrustedVerifierStatus::Other(v) => { + VerificationStateTrustedVerifierStatus::Other(v.into_static()) + } + } + } +} + +/// The user's status as a verified account. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum VerificationStateVerifiedStatus<'a> { + Valid, + Invalid, + None, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> VerificationStateVerifiedStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Valid => "valid", + Self::Invalid => "invalid", + Self::None => "none", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for VerificationStateVerifiedStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "valid" => Self::Valid, + "invalid" => Self::Invalid, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for VerificationStateVerifiedStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "valid" => Self::Valid, + "invalid" => Self::Invalid, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for VerificationStateVerifiedStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for VerificationStateVerifiedStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for VerificationStateVerifiedStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for VerificationStateVerifiedStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for VerificationStateVerifiedStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for VerificationStateVerifiedStatus<'_> { + type Output = VerificationStateVerifiedStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + VerificationStateVerifiedStatus::Valid => { + VerificationStateVerifiedStatus::Valid + } + VerificationStateVerifiedStatus::Invalid => { + VerificationStateVerifiedStatus::Invalid + } + VerificationStateVerifiedStatus::None => { + VerificationStateVerifiedStatus::None + } + VerificationStateVerifiedStatus::Other(v) => { + VerificationStateVerifiedStatus::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VerificationState<'a> { fn nsid() -> &'static str { "app.bsky.actor.defs" @@ -7510,67 +8402,67 @@ pub mod verification_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Issuer; - type IsValid; type Uri; - type CreatedAt; + type IsValid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Issuer = Unset; - type IsValid = Unset; type Uri = Unset; - type CreatedAt = Unset; + type IsValid = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Issuer = S::Issuer; + type Uri = S::Uri; + type IsValid = S::IsValid; } ///State transition - sets the `issuer` field to Set pub struct SetIssuer(PhantomData S>); impl sealed::Sealed for SetIssuer {} impl State for SetIssuer { - type Issuer = Set; - type IsValid = S::IsValid; - type Uri = S::Uri; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `is_valid` field to Set - pub struct SetIsValid(PhantomData S>); - impl sealed::Sealed for SetIsValid {} - impl State for SetIsValid { - type Issuer = S::Issuer; - type IsValid = Set; + type Issuer = Set; type Uri = S::Uri; - type CreatedAt = S::CreatedAt; + type IsValid = S::IsValid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type CreatedAt = S::CreatedAt; type Issuer = S::Issuer; - type IsValid = S::IsValid; type Uri = Set; - type CreatedAt = S::CreatedAt; + type IsValid = S::IsValid; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `is_valid` field to Set + pub struct SetIsValid(PhantomData S>); + impl sealed::Sealed for SetIsValid {} + impl State for SetIsValid { + type CreatedAt = S::CreatedAt; type Issuer = S::Issuer; - type IsValid = S::IsValid; type Uri = S::Uri; - type CreatedAt = Set; + type IsValid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `issuer` field pub struct issuer(()); - ///Marker type for the `is_valid` field - pub struct is_valid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `is_valid` field + pub struct is_valid(()); } } @@ -7683,10 +8575,10 @@ where impl<'a, S> VerificationViewBuilder<'a, S> where S: verification_view_state::State, + S::CreatedAt: verification_view_state::IsSet, S::Issuer: verification_view_state::IsSet, - S::IsValid: verification_view_state::IsSet, S::Uri: verification_view_state::IsSet, - S::CreatedAt: verification_view_state::IsSet, + S::IsValid: verification_view_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationView<'a> { diff --git a/crates/jacquard-api/src/app_bsky/actor/status.rs b/crates/jacquard-api/src/app_bsky/actor/status.rs index ff34c2fc..d1cf088b 100644 --- a/crates/jacquard-api/src/app_bsky/actor/status.rs +++ b/crates/jacquard-api/src/app_bsky/actor/status.rs @@ -46,7 +46,7 @@ pub struct Status<'a> { pub embed: std::option::Option>, /// The status for the account. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: StatusStatus<'a>, } pub mod status_state { @@ -59,37 +59,37 @@ pub mod status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Status; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Status = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Status = S::Status; + type CreatedAt = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type CreatedAt = S::CreatedAt; type Status = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Status = S::Status; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -100,7 +100,7 @@ pub struct StatusBuilder<'a, S: status_state::State> { ::core::option::Option, ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -182,7 +182,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> StatusBuilder<'a, status_state::SetStatus> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); StatusBuilder { @@ -196,8 +196,8 @@ where impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, - S::CreatedAt: status_state::IsSet, S::Status: status_state::IsSet, + S::CreatedAt: status_state::IsSet, { /// Build the final struct pub fn build(self) -> Status<'a> { @@ -240,6 +240,90 @@ impl<'a> Status<'a> { } } +/// The status for the account. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum StatusStatus<'a> { + Live, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> StatusStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Live => "app.bsky.actor.status#live", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for StatusStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "app.bsky.actor.status#live" => Self::Live, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for StatusStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "app.bsky.actor.status#live" => Self::Live, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for StatusStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for StatusStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for StatusStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for StatusStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for StatusStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for StatusStatus<'_> { + type Output = StatusStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + StatusStatus::Live => StatusStatus::Live, + StatusStatus::Other(v) => StatusStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/app_bsky/ageassurance.rs b/crates/jacquard-api/src/app_bsky/ageassurance.rs index ba22d2e9..28310b88 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance.rs @@ -61,6 +61,12 @@ impl<'a> AsRef for Access<'a> { } } +impl<'a> core::fmt::Display for Access<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for Access<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1500,37 +1506,37 @@ pub mod config_region_rule_if_account_newer_than_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Date; type Access; + type Date; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Date = Unset; type Access = Unset; - } - ///State transition - sets the `date` field to Set - pub struct SetDate(PhantomData S>); - impl sealed::Sealed for SetDate {} - impl State for SetDate { - type Date = Set; - type Access = S::Access; + type Date = Unset; } ///State transition - sets the `access` field to Set pub struct SetAccess(PhantomData S>); impl sealed::Sealed for SetAccess {} impl State for SetAccess { - type Date = S::Date; type Access = Set; + type Date = S::Date; + } + ///State transition - sets the `date` field to Set + pub struct SetDate(PhantomData S>); + impl sealed::Sealed for SetDate {} + impl State for SetDate { + type Access = S::Access; + type Date = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `date` field - pub struct date(()); ///Marker type for the `access` field pub struct access(()); + ///Marker type for the `date` field + pub struct date(()); } } @@ -1620,8 +1626,8 @@ where impl<'a, S> ConfigRegionRuleIfAccountNewerThanBuilder<'a, S> where S: config_region_rule_if_account_newer_than_state::State, - S::Date: config_region_rule_if_account_newer_than_state::IsSet, S::Access: config_region_rule_if_account_newer_than_state::IsSet, + S::Date: config_region_rule_if_account_newer_than_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfigRegionRuleIfAccountNewerThan<'a> { @@ -1888,37 +1894,37 @@ pub mod config_region_rule_if_assured_over_age_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Age; type Access; + type Age; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Age = Unset; type Access = Unset; - } - ///State transition - sets the `age` field to Set - pub struct SetAge(PhantomData S>); - impl sealed::Sealed for SetAge {} - impl State for SetAge { - type Age = Set; - type Access = S::Access; + type Age = Unset; } ///State transition - sets the `access` field to Set pub struct SetAccess(PhantomData S>); impl sealed::Sealed for SetAccess {} impl State for SetAccess { - type Age = S::Age; type Access = Set; + type Age = S::Age; + } + ///State transition - sets the `age` field to Set + pub struct SetAge(PhantomData S>); + impl sealed::Sealed for SetAge {} + impl State for SetAge { + type Access = S::Access; + type Age = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `age` field - pub struct age(()); ///Marker type for the `access` field pub struct access(()); + ///Marker type for the `age` field + pub struct age(()); } } @@ -2008,8 +2014,8 @@ where impl<'a, S> ConfigRegionRuleIfAssuredOverAgeBuilder<'a, S> where S: config_region_rule_if_assured_over_age_state::State, - S::Age: config_region_rule_if_assured_over_age_state::IsSet, S::Access: config_region_rule_if_assured_over_age_state::IsSet, + S::Age: config_region_rule_if_assured_over_age_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfigRegionRuleIfAssuredOverAge<'a> { @@ -2276,37 +2282,37 @@ pub mod config_region_rule_if_declared_over_age_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Access; type Age; + type Access; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Access = Unset; type Age = Unset; - } - ///State transition - sets the `access` field to Set - pub struct SetAccess(PhantomData S>); - impl sealed::Sealed for SetAccess {} - impl State for SetAccess { - type Access = Set; - type Age = S::Age; + type Access = Unset; } ///State transition - sets the `age` field to Set pub struct SetAge(PhantomData S>); impl sealed::Sealed for SetAge {} impl State for SetAge { - type Access = S::Access; type Age = Set; + type Access = S::Access; + } + ///State transition - sets the `access` field to Set + pub struct SetAccess(PhantomData S>); + impl sealed::Sealed for SetAccess {} + impl State for SetAccess { + type Age = S::Age; + type Access = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `access` field - pub struct access(()); ///Marker type for the `age` field pub struct age(()); + ///Marker type for the `access` field + pub struct access(()); } } @@ -2396,8 +2402,8 @@ where impl<'a, S> ConfigRegionRuleIfDeclaredOverAgeBuilder<'a, S> where S: config_region_rule_if_declared_over_age_state::State, - S::Access: config_region_rule_if_declared_over_age_state::IsSet, S::Age: config_region_rule_if_declared_over_age_state::IsSet, + S::Access: config_region_rule_if_declared_over_age_state::IsSet, { /// Build the final struct pub fn build(self) -> ConfigRegionRuleIfDeclaredOverAge<'a> { @@ -2650,7 +2656,7 @@ for ConfigRegionRuleIfDeclaredUnderAge<'a> { pub struct Event<'a> { /// The access level granted based on Age Assurance data we've processed. #[serde(borrow)] - pub access: jacquard_common::CowStr<'a>, + pub access: EventAccess<'a>, /// The unique identifier for this instance of the Age Assurance flow, in UUID format. #[serde(borrow)] pub attempt_id: jacquard_common::CowStr<'a>, @@ -2685,7 +2691,7 @@ pub struct Event<'a> { pub region_code: std::option::Option>, /// The status of the Age Assurance process. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: EventStatus<'a>, } pub mod event_state { @@ -2698,83 +2704,83 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type CountryCode; type Status; type Access; + type CreatedAt; + type CountryCode; type AttemptId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type CountryCode = Unset; type Status = Unset; type Access = Unset; + type CreatedAt = Unset; + type CountryCode = Unset; type AttemptId = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type CountryCode = S::CountryCode; - type Status = S::Status; - type Access = S::Access; - type AttemptId = S::AttemptId; - } - ///State transition - sets the `country_code` field to Set - pub struct SetCountryCode(PhantomData S>); - impl sealed::Sealed for SetCountryCode {} - impl State for SetCountryCode { - type CreatedAt = S::CreatedAt; - type CountryCode = Set; - type Status = S::Status; - type Access = S::Access; - type AttemptId = S::AttemptId; - } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type CreatedAt = S::CreatedAt; - type CountryCode = S::CountryCode; type Status = Set; type Access = S::Access; + type CreatedAt = S::CreatedAt; + type CountryCode = S::CountryCode; type AttemptId = S::AttemptId; } ///State transition - sets the `access` field to Set pub struct SetAccess(PhantomData S>); impl sealed::Sealed for SetAccess {} impl State for SetAccess { + type Status = S::Status; + type Access = Set; type CreatedAt = S::CreatedAt; type CountryCode = S::CountryCode; + type AttemptId = S::AttemptId; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Status = S::Status; - type Access = Set; + type Access = S::Access; + type CreatedAt = Set; + type CountryCode = S::CountryCode; + type AttemptId = S::AttemptId; + } + ///State transition - sets the `country_code` field to Set + pub struct SetCountryCode(PhantomData S>); + impl sealed::Sealed for SetCountryCode {} + impl State for SetCountryCode { + type Status = S::Status; + type Access = S::Access; + type CreatedAt = S::CreatedAt; + type CountryCode = Set; type AttemptId = S::AttemptId; } ///State transition - sets the `attempt_id` field to Set pub struct SetAttemptId(PhantomData S>); impl sealed::Sealed for SetAttemptId {} impl State for SetAttemptId { - type CreatedAt = S::CreatedAt; - type CountryCode = S::CountryCode; type Status = S::Status; type Access = S::Access; + type CreatedAt = S::CreatedAt; + type CountryCode = S::CountryCode; type AttemptId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `country_code` field - pub struct country_code(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `access` field pub struct access(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `country_code` field + pub struct country_code(()); ///Marker type for the `attempt_id` field pub struct attempt_id(()); } @@ -2784,7 +2790,7 @@ pub mod event_state { pub struct EventBuilder<'a, S: event_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -2794,7 +2800,7 @@ pub struct EventBuilder<'a, S: event_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -2837,7 +2843,7 @@ where /// Set the `access` field (required) pub fn access( mut self, - value: impl Into>, + value: impl Into>, ) -> EventBuilder<'a, event_state::SetAccess> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); EventBuilder { @@ -3018,7 +3024,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> EventBuilder<'a, event_state::SetStatus> { self.__unsafe_private_named.10 = ::core::option::Option::Some(value.into()); EventBuilder { @@ -3032,10 +3038,10 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::CreatedAt: event_state::IsSet, - S::CountryCode: event_state::IsSet, S::Status: event_state::IsSet, S::Access: event_state::IsSet, + S::CreatedAt: event_state::IsSet, + S::CountryCode: event_state::IsSet, S::AttemptId: event_state::IsSet, { /// Build the final struct @@ -3080,6 +3086,204 @@ where } } +/// The access level granted based on Age Assurance data we've processed. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum EventAccess<'a> { + Unknown, + None, + Safe, + Full, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> EventAccess<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Unknown => "unknown", + Self::None => "none", + Self::Safe => "safe", + Self::Full => "full", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for EventAccess<'a> { + fn from(s: &'a str) -> Self { + match s { + "unknown" => Self::Unknown, + "none" => Self::None, + "safe" => Self::Safe, + "full" => Self::Full, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for EventAccess<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "unknown" => Self::Unknown, + "none" => Self::None, + "safe" => Self::Safe, + "full" => Self::Full, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for EventAccess<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for EventAccess<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for EventAccess<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for EventAccess<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for EventAccess<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for EventAccess<'_> { + type Output = EventAccess<'static>; + fn into_static(self) -> Self::Output { + match self { + EventAccess::Unknown => EventAccess::Unknown, + EventAccess::None => EventAccess::None, + EventAccess::Safe => EventAccess::Safe, + EventAccess::Full => EventAccess::Full, + EventAccess::Other(v) => EventAccess::Other(v.into_static()), + } + } +} + +/// The status of the Age Assurance process. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum EventStatus<'a> { + Unknown, + Pending, + Assured, + Blocked, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> EventStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Unknown => "unknown", + Self::Pending => "pending", + Self::Assured => "assured", + Self::Blocked => "blocked", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for EventStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for EventStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for EventStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for EventStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for EventStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for EventStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for EventStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for EventStatus<'_> { + type Output = EventStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + EventStatus::Unknown => EventStatus::Unknown, + EventStatus::Pending => EventStatus::Pending, + EventStatus::Assured => EventStatus::Assured, + EventStatus::Blocked => EventStatus::Blocked, + EventStatus::Other(v) => EventStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { fn nsid() -> &'static str { "app.bsky.ageassurance.defs" @@ -3388,6 +3592,12 @@ impl<'a> AsRef for Status<'a> { } } +impl<'a> core::fmt::Display for Status<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for Status<'a> { fn serialize(&self, serializer: S) -> Result where diff --git a/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs b/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs index dfeebbc7..f702cffd 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs @@ -75,8 +75,8 @@ pub enum BeginError<'a> { RegionNotSupported(std::option::Option>), } -impl std::fmt::Display for BeginError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for BeginError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidEmail(msg) => { write!(f, "InvalidEmail")?; diff --git a/crates/jacquard-api/src/app_bsky/bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark.rs index ac81a969..300946dc 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark.rs @@ -281,37 +281,37 @@ pub mod bookmark_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Item; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Item = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Item = S::Item; + type Subject = Unset; } ///State transition - sets the `item` field to Set pub struct SetItem(PhantomData S>); impl sealed::Sealed for SetItem {} impl State for SetItem { - type Subject = S::Subject; type Item = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Item = S::Item; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `item` field pub struct item(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -404,8 +404,8 @@ where impl<'a, S> BookmarkViewBuilder<'a, S> where S: bookmark_view_state::State, - S::Subject: bookmark_view_state::IsSet, S::Item: bookmark_view_state::IsSet, + S::Subject: bookmark_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BookmarkView<'a> { diff --git a/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs index 306c5fd9..6cdf6a4b 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs @@ -33,37 +33,37 @@ pub mod create_bookmark_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> CreateBookmarkBuilder<'a, S> where S: create_bookmark_state::State, - S::Uri: create_bookmark_state::IsSet, S::Cid: create_bookmark_state::IsSet, + S::Uri: create_bookmark_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateBookmark<'a> { @@ -183,8 +183,8 @@ pub enum CreateBookmarkError<'a> { UnsupportedCollection(std::option::Option>), } -impl std::fmt::Display for CreateBookmarkError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateBookmarkError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::UnsupportedCollection(msg) => { write!(f, "UnsupportedCollection")?; diff --git a/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs index bd6d20a5..7fcbe5f2 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs @@ -146,8 +146,8 @@ pub enum DeleteBookmarkError<'a> { UnsupportedCollection(std::option::Option>), } -impl std::fmt::Display for DeleteBookmarkError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteBookmarkError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::UnsupportedCollection(msg) => { write!(f, "UnsupportedCollection")?; diff --git a/crates/jacquard-api/src/app_bsky/contact.rs b/crates/jacquard-api/src/app_bsky/contact.rs index 2319ccd4..060c2ead 100644 --- a/crates/jacquard-api/src/app_bsky/contact.rs +++ b/crates/jacquard-api/src/app_bsky/contact.rs @@ -427,37 +427,37 @@ pub mod notification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type From; type To; + type From; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type From = Unset; type To = Unset; - } - ///State transition - sets the `from` field to Set - pub struct SetFrom(PhantomData S>); - impl sealed::Sealed for SetFrom {} - impl State for SetFrom { - type From = Set; - type To = S::To; + type From = Unset; } ///State transition - sets the `to` field to Set pub struct SetTo(PhantomData S>); impl sealed::Sealed for SetTo {} impl State for SetTo { - type From = S::From; type To = Set; + type From = S::From; + } + ///State transition - sets the `from` field to Set + pub struct SetFrom(PhantomData S>); + impl sealed::Sealed for SetFrom {} + impl State for SetFrom { + type To = S::To; + type From = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `from` field - pub struct from(()); ///Marker type for the `to` field pub struct to(()); + ///Marker type for the `from` field + pub struct from(()); } } @@ -530,8 +530,8 @@ where impl<'a, S> NotificationBuilder<'a, S> where S: notification_state::State, - S::From: notification_state::IsSet, S::To: notification_state::IsSet, + S::From: notification_state::IsSet, { /// Build the final struct pub fn build(self) -> Notification<'a> { @@ -602,37 +602,37 @@ pub mod sync_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SyncedAt; type MatchesCount; + type SyncedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SyncedAt = Unset; type MatchesCount = Unset; - } - ///State transition - sets the `synced_at` field to Set - pub struct SetSyncedAt(PhantomData S>); - impl sealed::Sealed for SetSyncedAt {} - impl State for SetSyncedAt { - type SyncedAt = Set; - type MatchesCount = S::MatchesCount; + type SyncedAt = Unset; } ///State transition - sets the `matches_count` field to Set pub struct SetMatchesCount(PhantomData S>); impl sealed::Sealed for SetMatchesCount {} impl State for SetMatchesCount { - type SyncedAt = S::SyncedAt; type MatchesCount = Set; + type SyncedAt = S::SyncedAt; + } + ///State transition - sets the `synced_at` field to Set + pub struct SetSyncedAt(PhantomData S>); + impl sealed::Sealed for SetSyncedAt {} + impl State for SetSyncedAt { + type MatchesCount = S::MatchesCount; + type SyncedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `synced_at` field - pub struct synced_at(()); ///Marker type for the `matches_count` field pub struct matches_count(()); + ///Marker type for the `synced_at` field + pub struct synced_at(()); } } @@ -705,8 +705,8 @@ where impl<'a, S> SyncStatusBuilder<'a, S> where S: sync_status_state::State, - S::SyncedAt: sync_status_state::IsSet, S::MatchesCount: sync_status_state::IsSet, + S::SyncedAt: sync_status_state::IsSet, { /// Build the final struct pub fn build(self) -> SyncStatus<'a> { diff --git a/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs b/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs index fa9bfb92..77635c4f 100644 --- a/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs +++ b/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs @@ -161,8 +161,8 @@ pub enum DismissMatchError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for DismissMatchError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DismissMatchError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidDid(msg) => { write!(f, "InvalidDid")?; diff --git a/crates/jacquard-api/src/app_bsky/contact/get_matches.rs b/crates/jacquard-api/src/app_bsky/contact/get_matches.rs index 4d82b94f..4b8e3f20 100644 --- a/crates/jacquard-api/src/app_bsky/contact/get_matches.rs +++ b/crates/jacquard-api/src/app_bsky/contact/get_matches.rs @@ -157,8 +157,8 @@ pub enum GetMatchesError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for GetMatchesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetMatchesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidDid(msg) => { write!(f, "InvalidDid")?; diff --git a/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs b/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs index 2a77e601..cf9229ff 100644 --- a/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs +++ b/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs @@ -56,8 +56,8 @@ pub enum GetSyncStatusError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for GetSyncStatusError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetSyncStatusError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidDid(msg) => { write!(f, "InvalidDid")?; diff --git a/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs b/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs index dd2d0340..cb9bae02 100644 --- a/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs +++ b/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs @@ -211,8 +211,8 @@ pub enum ImportContactsError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for ImportContactsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ImportContactsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidDid(msg) => { write!(f, "InvalidDid")?; diff --git a/crates/jacquard-api/src/app_bsky/contact/remove_data.rs b/crates/jacquard-api/src/app_bsky/contact/remove_data.rs index 7eb90251..fa9fcb72 100644 --- a/crates/jacquard-api/src/app_bsky/contact/remove_data.rs +++ b/crates/jacquard-api/src/app_bsky/contact/remove_data.rs @@ -52,8 +52,8 @@ pub enum RemoveDataError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for RemoveDataError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for RemoveDataError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidDid(msg) => { write!(f, "InvalidDid")?; diff --git a/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs b/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs index 9cbe7fde..0a7ac7bb 100644 --- a/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs +++ b/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs @@ -61,8 +61,8 @@ pub enum StartPhoneVerificationError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for StartPhoneVerificationError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for StartPhoneVerificationError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RateLimitExceeded(msg) => { write!(f, "RateLimitExceeded")?; diff --git a/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs b/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs index 79416043..8ed5442f 100644 --- a/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs +++ b/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs @@ -71,8 +71,8 @@ pub enum VerifyPhoneError<'a> { InternalError(std::option::Option>), } -impl std::fmt::Display for VerifyPhoneError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for VerifyPhoneError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RateLimitExceeded(msg) => { write!(f, "RateLimitExceeded")?; diff --git a/crates/jacquard-api/src/app_bsky/embed.rs b/crates/jacquard-api/src/app_bsky/embed.rs index 89519f16..803afd8f 100644 --- a/crates/jacquard-api/src/app_bsky/embed.rs +++ b/crates/jacquard-api/src/app_bsky/embed.rs @@ -38,37 +38,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Height; type Width; + type Height; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Height = Unset; type Width = Unset; - } - ///State transition - sets the `height` field to Set - pub struct SetHeight(PhantomData S>); - impl sealed::Sealed for SetHeight {} - impl State for SetHeight { - type Height = Set; - type Width = S::Width; + type Height = Unset; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { - type Height = S::Height; type Width = Set; + type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Width = S::Width; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `height` field - pub struct height(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `height` field + pub struct height(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Height: aspect_ratio_state::IsSet, S::Width: aspect_ratio_state::IsSet, + S::Height: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed/external.rs b/crates/jacquard-api/src/app_bsky/embed/external.rs index a5bee9cb..3cf7f167 100644 --- a/crates/jacquard-api/src/app_bsky/embed/external.rs +++ b/crates/jacquard-api/src/app_bsky/embed/external.rs @@ -38,51 +38,51 @@ pub mod external_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; - type Uri; type Description; + type Uri; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; - type Uri = Unset; type Description = Unset; + type Uri = Unset; + type Title = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Description = Set; type Uri = S::Uri; - type Description = S::Description; + type Title = S::Title; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Title = S::Title; - type Uri = Set; type Description = S::Description; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { + type Uri = Set; type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Description = S::Description; type Uri = S::Uri; - type Description = Set; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `description` field pub struct description(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -195,9 +195,9 @@ where impl<'a, S> ExternalBuilder<'a, S> where S: external_state::State, - S::Title: external_state::IsSet, - S::Uri: external_state::IsSet, S::Description: external_state::IsSet, + S::Uri: external_state::IsSet, + S::Title: external_state::IsSet, { /// Build the final struct pub fn build(self) -> External<'a> { @@ -784,49 +784,49 @@ pub mod view_external_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; type Uri; + type Description; type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; type Uri = Unset; + type Description = Unset; type Title = Unset; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; - type Uri = S::Uri; - type Title = S::Title; - } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Description = S::Description; type Uri = Set; + type Description = S::Description; + type Title = S::Title; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Uri = S::Uri; + type Description = Set; type Title = S::Title; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Description = S::Description; type Uri = S::Uri; + type Description = S::Description; type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `description` field + pub struct description(()); ///Marker type for the `title` field pub struct title(()); } @@ -941,8 +941,8 @@ where impl<'a, S> ViewExternalBuilder<'a, S> where S: view_external_state::State, - S::Description: view_external_state::IsSet, S::Uri: view_external_state::IsSet, + S::Description: view_external_state::IsSet, S::Title: view_external_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/app_bsky/embed/images.rs b/crates/jacquard-api/src/app_bsky/embed/images.rs index a23141e8..fc4af35f 100644 --- a/crates/jacquard-api/src/app_bsky/embed/images.rs +++ b/crates/jacquard-api/src/app_bsky/embed/images.rs @@ -760,51 +760,51 @@ pub mod view_image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Alt; - type Fullsize; type Thumb; + type Fullsize; + type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Alt = Unset; - type Fullsize = Unset; type Thumb = Unset; + type Fullsize = Unset; + type Alt = Unset; } - ///State transition - sets the `alt` field to Set - pub struct SetAlt(PhantomData S>); - impl sealed::Sealed for SetAlt {} - impl State for SetAlt { - type Alt = Set; + ///State transition - sets the `thumb` field to Set + pub struct SetThumb(PhantomData S>); + impl sealed::Sealed for SetThumb {} + impl State for SetThumb { + type Thumb = Set; type Fullsize = S::Fullsize; - type Thumb = S::Thumb; + type Alt = S::Alt; } ///State transition - sets the `fullsize` field to Set pub struct SetFullsize(PhantomData S>); impl sealed::Sealed for SetFullsize {} impl State for SetFullsize { - type Alt = S::Alt; - type Fullsize = Set; type Thumb = S::Thumb; - } - ///State transition - sets the `thumb` field to Set - pub struct SetThumb(PhantomData S>); - impl sealed::Sealed for SetThumb {} - impl State for SetThumb { + type Fullsize = Set; type Alt = S::Alt; + } + ///State transition - sets the `alt` field to Set + pub struct SetAlt(PhantomData S>); + impl sealed::Sealed for SetAlt {} + impl State for SetAlt { + type Thumb = S::Thumb; type Fullsize = S::Fullsize; - type Thumb = Set; + type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `alt` field - pub struct alt(()); - ///Marker type for the `fullsize` field - pub struct fullsize(()); ///Marker type for the `thumb` field pub struct thumb(()); + ///Marker type for the `fullsize` field + pub struct fullsize(()); + ///Marker type for the `alt` field + pub struct alt(()); } } @@ -917,9 +917,9 @@ where impl<'a, S> ViewImageBuilder<'a, S> where S: view_image_state::State, - S::Alt: view_image_state::IsSet, - S::Fullsize: view_image_state::IsSet, S::Thumb: view_image_state::IsSet, + S::Fullsize: view_image_state::IsSet, + S::Alt: view_image_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewImage<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed/record.rs b/crates/jacquard-api/src/app_bsky/embed/record.rs index d327e779..3e9d9eab 100644 --- a/crates/jacquard-api/src/app_bsky/embed/record.rs +++ b/crates/jacquard-api/src/app_bsky/embed/record.rs @@ -724,50 +724,50 @@ pub mod view_blocked_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Uri; - type Blocked; type Author; + type Blocked; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Uri = Unset; - type Blocked = Unset; type Author = Unset; + type Blocked = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Uri = Set; - type Blocked = S::Blocked; - type Author = S::Author; - } - ///State transition - sets the `blocked` field to Set - pub struct SetBlocked(PhantomData S>); - impl sealed::Sealed for SetBlocked {} - impl State for SetBlocked { - type Uri = S::Uri; - type Blocked = Set; type Author = S::Author; + type Blocked = S::Blocked; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { type Uri = S::Uri; - type Blocked = S::Blocked; type Author = Set; + type Blocked = S::Blocked; + } + ///State transition - sets the `blocked` field to Set + pub struct SetBlocked(PhantomData S>); + impl sealed::Sealed for SetBlocked {} + impl State for SetBlocked { + type Uri = S::Uri; + type Author = S::Author; + type Blocked = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `blocked` field - pub struct blocked(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `blocked` field + pub struct blocked(()); } } @@ -861,8 +861,8 @@ impl<'a, S> ViewBlockedBuilder<'a, S> where S: view_blocked_state::State, S::Uri: view_blocked_state::IsSet, - S::Blocked: view_blocked_state::IsSet, S::Author: view_blocked_state::IsSet, + S::Blocked: view_blocked_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewBlocked<'a> { @@ -934,37 +934,37 @@ pub mod view_detached_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Detached; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Detached = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Detached = S::Detached; + type Uri = Unset; } ///State transition - sets the `detached` field to Set pub struct SetDetached(PhantomData S>); impl sealed::Sealed for SetDetached {} impl State for SetDetached { - type Uri = S::Uri; type Detached = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Detached = S::Detached; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `detached` field pub struct detached(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -1037,8 +1037,8 @@ where impl<'a, S> ViewDetachedBuilder<'a, S> where S: view_detached_state::State, - S::Uri: view_detached_state::IsSet, S::Detached: view_detached_state::IsSet, + S::Uri: view_detached_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewDetached<'a> { @@ -1304,84 +1304,84 @@ pub mod view_record_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Cid; - type Value; type Author; type IndexedAt; type Uri; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Cid = Unset; - type Value = Unset; type Author = Unset; type IndexedAt = Unset; type Uri = Unset; + type Value = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { type Cid = Set; - type Value = S::Value; - type Author = S::Author; - type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Cid = S::Cid; - type Value = Set; type Author = S::Author; type IndexedAt = S::IndexedAt; type Uri = S::Uri; + type Value = S::Value; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { type Cid = S::Cid; - type Value = S::Value; type Author = Set; type IndexedAt = S::IndexedAt; type Uri = S::Uri; + type Value = S::Value; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { type Cid = S::Cid; - type Value = S::Value; type Author = S::Author; type IndexedAt = Set; type Uri = S::Uri; + type Value = S::Value; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Cid = S::Cid; - type Value = S::Value; type Author = S::Author; type IndexedAt = S::IndexedAt; type Uri = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Cid = S::Cid; + type Author = S::Author; + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -1620,10 +1620,10 @@ impl<'a, S> ViewRecordBuilder<'a, S> where S: view_record_state::State, S::Cid: view_record_state::IsSet, - S::Value: view_record_state::IsSet, S::Author: view_record_state::IsSet, S::IndexedAt: view_record_state::IsSet, S::Uri: view_record_state::IsSet, + S::Value: view_record_state::IsSet, { /// Build the final struct pub fn build(self) -> ViewRecord<'a> { diff --git a/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs b/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs index e530d9e9..c02886ff 100644 --- a/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs +++ b/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs @@ -33,37 +33,37 @@ pub mod record_with_media_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Media; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Media = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Media = S::Media; + type Record = Unset; } ///State transition - sets the `media` field to Set pub struct SetMedia(PhantomData S>); impl sealed::Sealed for SetMedia {} impl State for SetMedia { - type Record = S::Record; type Media = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Media = S::Media; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `media` field pub struct media(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> RecordWithMediaBuilder<'a, S> where S: record_with_media_state::State, - S::Record: record_with_media_state::IsSet, S::Media: record_with_media_state::IsSet, + S::Record: record_with_media_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordWithMedia<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed.rs b/crates/jacquard-api/src/app_bsky/feed.rs index 2d1792f6..e87bcebf 100644 --- a/crates/jacquard-api/src/app_bsky/feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed.rs @@ -2196,7 +2196,7 @@ pub struct GeneratorView<'a> { pub cid: jacquard_common::types::string::Cid<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub content_mode: std::option::Option>, + pub content_mode: std::option::Option>, #[serde(borrow)] pub creator: crate::app_bsky::actor::ProfileView<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -2234,105 +2234,105 @@ pub mod generator_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Creator; - type DisplayName; - type Did; - type IndexedAt; type Uri; type Cid; + type DisplayName; + type IndexedAt; + type Did; + type Creator; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Creator = Unset; - type DisplayName = Unset; - type Did = Unset; - type IndexedAt = Unset; type Uri = Unset; type Cid = Unset; + type DisplayName = Unset; + type IndexedAt = Unset; + type Did = Unset; + type Creator = Unset; } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type Creator = Set; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Cid = S::Cid; type DisplayName = S::DisplayName; - type Did = S::Did; type IndexedAt = S::IndexedAt; + type Did = S::Did; + type Creator = S::Creator; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; - type Cid = S::Cid; + type Cid = Set; + type DisplayName = S::DisplayName; + type IndexedAt = S::IndexedAt; + type Did = S::Did; + type Creator = S::Creator; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Creator = S::Creator; - type DisplayName = Set; - type Did = S::Did; - type IndexedAt = S::IndexedAt; type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Creator = S::Creator; - type DisplayName = S::DisplayName; - type Did = Set; + type DisplayName = Set; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Cid = S::Cid; + type Did = S::Did; + type Creator = S::Creator; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Creator = S::Creator; + type Uri = S::Uri; + type Cid = S::Cid; type DisplayName = S::DisplayName; - type Did = S::Did; type IndexedAt = Set; + type Did = S::Did; + type Creator = S::Creator; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Creator = S::Creator; type DisplayName = S::DisplayName; - type Did = S::Did; type IndexedAt = S::IndexedAt; - type Uri = Set; - type Cid = S::Cid; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + type Did = Set; type Creator = S::Creator; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type Uri = S::Uri; + type Cid = S::Cid; type DisplayName = S::DisplayName; - type Did = S::Did; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Cid = Set; + type Did = S::Did; + type Creator = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `creator` field - pub struct creator(()); - ///Marker type for the `display_name` field - pub struct display_name(()); - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `display_name` field + pub struct display_name(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `creator` field + pub struct creator(()); } } @@ -2343,7 +2343,7 @@ pub struct GeneratorViewBuilder<'a, S: generator_view_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>>, @@ -2446,7 +2446,7 @@ impl<'a, S: generator_view_state::State> GeneratorViewBuilder<'a, S> { /// Set the `contentMode` field (optional) pub fn content_mode( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.3 = value.into(); self @@ -2454,7 +2454,7 @@ impl<'a, S: generator_view_state::State> GeneratorViewBuilder<'a, S> { /// Set the `contentMode` field to an Option value (optional) pub fn maybe_content_mode( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.3 = value; self @@ -2648,12 +2648,12 @@ impl<'a, S: generator_view_state::State> GeneratorViewBuilder<'a, S> { impl<'a, S> GeneratorViewBuilder<'a, S> where S: generator_view_state::State, - S::Creator: generator_view_state::IsSet, - S::DisplayName: generator_view_state::IsSet, - S::Did: generator_view_state::IsSet, - S::IndexedAt: generator_view_state::IsSet, S::Uri: generator_view_state::IsSet, S::Cid: generator_view_state::IsSet, + S::DisplayName: generator_view_state::IsSet, + S::IndexedAt: generator_view_state::IsSet, + S::Did: generator_view_state::IsSet, + S::Creator: generator_view_state::IsSet, { /// Build the final struct pub fn build(self) -> GeneratorView<'a> { @@ -2703,6 +2703,100 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum GeneratorViewContentMode<'a> { + ContentModeUnspecified, + ContentModeVideo, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> GeneratorViewContentMode<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ContentModeUnspecified => "app.bsky.feed.defs#contentModeUnspecified", + Self::ContentModeVideo => "app.bsky.feed.defs#contentModeVideo", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for GeneratorViewContentMode<'a> { + fn from(s: &'a str) -> Self { + match s { + "app.bsky.feed.defs#contentModeUnspecified" => Self::ContentModeUnspecified, + "app.bsky.feed.defs#contentModeVideo" => Self::ContentModeVideo, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for GeneratorViewContentMode<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "app.bsky.feed.defs#contentModeUnspecified" => Self::ContentModeUnspecified, + "app.bsky.feed.defs#contentModeVideo" => Self::ContentModeVideo, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for GeneratorViewContentMode<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for GeneratorViewContentMode<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for GeneratorViewContentMode<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for GeneratorViewContentMode<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for GeneratorViewContentMode<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for GeneratorViewContentMode<'_> { + type Output = GeneratorViewContentMode<'static>; + fn into_static(self) -> Self::Output { + match self { + GeneratorViewContentMode::ContentModeUnspecified => { + GeneratorViewContentMode::ContentModeUnspecified + } + GeneratorViewContentMode::ContentModeVideo => { + GeneratorViewContentMode::ContentModeVideo + } + GeneratorViewContentMode::Other(v) => { + GeneratorViewContentMode::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GeneratorView<'a> { fn nsid() -> &'static str { "app.bsky.feed.defs" @@ -2811,7 +2905,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for GeneratorViewerState<'a> pub struct Interaction<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub event: std::option::Option>, + pub event: std::option::Option>, /// Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -2825,6 +2919,146 @@ pub struct Interaction<'a> { pub req_id: std::option::Option>, } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum InteractionEvent<'a> { + RequestLess, + RequestMore, + ClickthroughItem, + ClickthroughAuthor, + ClickthroughReposter, + ClickthroughEmbed, + InteractionSeen, + InteractionLike, + InteractionRepost, + InteractionReply, + InteractionQuote, + InteractionShare, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> InteractionEvent<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RequestLess => "app.bsky.feed.defs#requestLess", + Self::RequestMore => "app.bsky.feed.defs#requestMore", + Self::ClickthroughItem => "app.bsky.feed.defs#clickthroughItem", + Self::ClickthroughAuthor => "app.bsky.feed.defs#clickthroughAuthor", + Self::ClickthroughReposter => "app.bsky.feed.defs#clickthroughReposter", + Self::ClickthroughEmbed => "app.bsky.feed.defs#clickthroughEmbed", + Self::InteractionSeen => "app.bsky.feed.defs#interactionSeen", + Self::InteractionLike => "app.bsky.feed.defs#interactionLike", + Self::InteractionRepost => "app.bsky.feed.defs#interactionRepost", + Self::InteractionReply => "app.bsky.feed.defs#interactionReply", + Self::InteractionQuote => "app.bsky.feed.defs#interactionQuote", + Self::InteractionShare => "app.bsky.feed.defs#interactionShare", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for InteractionEvent<'a> { + fn from(s: &'a str) -> Self { + match s { + "app.bsky.feed.defs#requestLess" => Self::RequestLess, + "app.bsky.feed.defs#requestMore" => Self::RequestMore, + "app.bsky.feed.defs#clickthroughItem" => Self::ClickthroughItem, + "app.bsky.feed.defs#clickthroughAuthor" => Self::ClickthroughAuthor, + "app.bsky.feed.defs#clickthroughReposter" => Self::ClickthroughReposter, + "app.bsky.feed.defs#clickthroughEmbed" => Self::ClickthroughEmbed, + "app.bsky.feed.defs#interactionSeen" => Self::InteractionSeen, + "app.bsky.feed.defs#interactionLike" => Self::InteractionLike, + "app.bsky.feed.defs#interactionRepost" => Self::InteractionRepost, + "app.bsky.feed.defs#interactionReply" => Self::InteractionReply, + "app.bsky.feed.defs#interactionQuote" => Self::InteractionQuote, + "app.bsky.feed.defs#interactionShare" => Self::InteractionShare, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for InteractionEvent<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "app.bsky.feed.defs#requestLess" => Self::RequestLess, + "app.bsky.feed.defs#requestMore" => Self::RequestMore, + "app.bsky.feed.defs#clickthroughItem" => Self::ClickthroughItem, + "app.bsky.feed.defs#clickthroughAuthor" => Self::ClickthroughAuthor, + "app.bsky.feed.defs#clickthroughReposter" => Self::ClickthroughReposter, + "app.bsky.feed.defs#clickthroughEmbed" => Self::ClickthroughEmbed, + "app.bsky.feed.defs#interactionSeen" => Self::InteractionSeen, + "app.bsky.feed.defs#interactionLike" => Self::InteractionLike, + "app.bsky.feed.defs#interactionRepost" => Self::InteractionRepost, + "app.bsky.feed.defs#interactionReply" => Self::InteractionReply, + "app.bsky.feed.defs#interactionQuote" => Self::InteractionQuote, + "app.bsky.feed.defs#interactionShare" => Self::InteractionShare, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for InteractionEvent<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for InteractionEvent<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for InteractionEvent<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for InteractionEvent<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for InteractionEvent<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for InteractionEvent<'_> { + type Output = InteractionEvent<'static>; + fn into_static(self) -> Self::Output { + match self { + InteractionEvent::RequestLess => InteractionEvent::RequestLess, + InteractionEvent::RequestMore => InteractionEvent::RequestMore, + InteractionEvent::ClickthroughItem => InteractionEvent::ClickthroughItem, + InteractionEvent::ClickthroughAuthor => InteractionEvent::ClickthroughAuthor, + InteractionEvent::ClickthroughReposter => { + InteractionEvent::ClickthroughReposter + } + InteractionEvent::ClickthroughEmbed => InteractionEvent::ClickthroughEmbed, + InteractionEvent::InteractionSeen => InteractionEvent::InteractionSeen, + InteractionEvent::InteractionLike => InteractionEvent::InteractionLike, + InteractionEvent::InteractionRepost => InteractionEvent::InteractionRepost, + InteractionEvent::InteractionReply => InteractionEvent::InteractionReply, + InteractionEvent::InteractionQuote => InteractionEvent::InteractionQuote, + InteractionEvent::InteractionShare => InteractionEvent::InteractionShare, + InteractionEvent::Other(v) => InteractionEvent::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Interaction<'a> { fn nsid() -> &'static str { "app.bsky.feed.defs" @@ -3001,37 +3235,37 @@ pub mod not_found_post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type NotFound; type Uri; + type NotFound; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type NotFound = Unset; type Uri = Unset; - } - ///State transition - sets the `not_found` field to Set - pub struct SetNotFound(PhantomData S>); - impl sealed::Sealed for SetNotFound {} - impl State for SetNotFound { - type NotFound = Set; - type Uri = S::Uri; + type NotFound = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type NotFound = S::NotFound; type Uri = Set; + type NotFound = S::NotFound; + } + ///State transition - sets the `not_found` field to Set + pub struct SetNotFound(PhantomData S>); + impl sealed::Sealed for SetNotFound {} + impl State for SetNotFound { + type Uri = S::Uri; + type NotFound = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `not_found` field - pub struct not_found(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `not_found` field + pub struct not_found(()); } } @@ -3104,8 +3338,8 @@ where impl<'a, S> NotFoundPostBuilder<'a, S> where S: not_found_post_state::State, - S::NotFound: not_found_post_state::IsSet, S::Uri: not_found_post_state::IsSet, + S::NotFound: not_found_post_state::IsSet, { /// Build the final struct pub fn build(self) -> NotFoundPost<'a> { @@ -3207,83 +3441,83 @@ pub mod post_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Cid; + type IndexedAt; type Uri; type Author; - type IndexedAt; - type Cid; type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Cid = Unset; + type IndexedAt = Unset; type Uri = Unset; type Author = Unset; - type IndexedAt = Unset; - type Cid = Unset; type Record = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Author = S::Author; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Record = S::Record; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { type Uri = S::Uri; - type Author = Set; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type Author = S::Author; type Record = S::Record; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { + type Cid = S::Cid; + type IndexedAt = Set; type Uri = S::Uri; type Author = S::Author; - type IndexedAt = Set; - type Cid = S::Cid; type Record = S::Record; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Uri = S::Uri; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Uri = Set; type Author = S::Author; + type Record = S::Record; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Cid = Set; + type Uri = S::Uri; + type Author = Set; type Record = S::Record; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; type Uri = S::Uri; type Author = S::Author; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `author` field pub struct author(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `record` field pub struct record(()); } @@ -3598,10 +3832,10 @@ impl<'a, S: post_view_state::State> PostViewBuilder<'a, S> { impl<'a, S> PostViewBuilder<'a, S> where S: post_view_state::State, + S::Cid: post_view_state::IsSet, + S::IndexedAt: post_view_state::IsSet, S::Uri: post_view_state::IsSet, S::Author: post_view_state::IsSet, - S::IndexedAt: post_view_state::IsSet, - S::Cid: post_view_state::IsSet, S::Record: post_view_state::IsSet, { /// Build the final struct @@ -3759,37 +3993,37 @@ pub mod reason_repost_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type By; type IndexedAt; + type By; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type By = Unset; type IndexedAt = Unset; - } - ///State transition - sets the `by` field to Set - pub struct SetBy(PhantomData S>); - impl sealed::Sealed for SetBy {} - impl State for SetBy { - type By = Set; - type IndexedAt = S::IndexedAt; + type By = Unset; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type By = S::By; type IndexedAt = Set; + type By = S::By; + } + ///State transition - sets the `by` field to Set + pub struct SetBy(PhantomData S>); + impl sealed::Sealed for SetBy {} + impl State for SetBy { + type IndexedAt = S::IndexedAt; + type By = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `by` field - pub struct by(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `by` field + pub struct by(()); } } @@ -3902,8 +4136,8 @@ impl<'a, S: reason_repost_state::State> ReasonRepostBuilder<'a, S> { impl<'a, S> ReasonRepostBuilder<'a, S> where S: reason_repost_state::State, - S::By: reason_repost_state::IsSet, S::IndexedAt: reason_repost_state::IsSet, + S::By: reason_repost_state::IsSet, { /// Build the final struct pub fn build(self) -> ReasonRepost<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/generator.rs b/crates/jacquard-api/src/app_bsky/feed/generator.rs index 7389cad9..568320f9 100644 --- a/crates/jacquard-api/src/app_bsky/feed/generator.rs +++ b/crates/jacquard-api/src/app_bsky/feed/generator.rs @@ -26,7 +26,7 @@ pub struct Generator<'a> { pub avatar: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub content_mode: std::option::Option>, + pub content_mode: std::option::Option>, pub created_at: jacquard_common::types::string::Datetime, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -57,50 +57,50 @@ pub mod generator_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type DisplayName; - type CreatedAt; type Did; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type DisplayName = Unset; - type CreatedAt = Unset; type Did = Unset; + type CreatedAt = Unset; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { type DisplayName = Set; - type CreatedAt = S::CreatedAt; - type Did = S::Did; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type DisplayName = S::DisplayName; - type CreatedAt = Set; type Did = S::Did; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type DisplayName = S::DisplayName; - type CreatedAt = S::CreatedAt; type Did = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type DisplayName = S::DisplayName; + type Did = S::Did; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `display_name` field pub struct display_name(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -110,7 +110,7 @@ pub struct GeneratorBuilder<'a, S: generator_state::State> { __unsafe_private_named: ( ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option>>, @@ -185,7 +185,7 @@ impl<'a, S: generator_state::State> GeneratorBuilder<'a, S> { /// Set the `contentMode` field (optional) pub fn content_mode( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.2 = value.into(); self @@ -193,7 +193,7 @@ impl<'a, S: generator_state::State> GeneratorBuilder<'a, S> { /// Set the `contentMode` field to an Option value (optional) pub fn maybe_content_mode( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.2 = value; self @@ -318,8 +318,8 @@ impl<'a, S> GeneratorBuilder<'a, S> where S: generator_state::State, S::DisplayName: generator_state::IsSet, - S::CreatedAt: generator_state::IsSet, S::Did: generator_state::IsSet, + S::CreatedAt: generator_state::IsSet, { /// Build the final struct pub fn build(self) -> Generator<'a> { @@ -372,6 +372,100 @@ impl<'a> Generator<'a> { } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum GeneratorContentMode<'a> { + ContentModeUnspecified, + ContentModeVideo, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> GeneratorContentMode<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ContentModeUnspecified => "app.bsky.feed.defs#contentModeUnspecified", + Self::ContentModeVideo => "app.bsky.feed.defs#contentModeVideo", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for GeneratorContentMode<'a> { + fn from(s: &'a str) -> Self { + match s { + "app.bsky.feed.defs#contentModeUnspecified" => Self::ContentModeUnspecified, + "app.bsky.feed.defs#contentModeVideo" => Self::ContentModeVideo, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for GeneratorContentMode<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "app.bsky.feed.defs#contentModeUnspecified" => Self::ContentModeUnspecified, + "app.bsky.feed.defs#contentModeVideo" => Self::ContentModeVideo, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for GeneratorContentMode<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for GeneratorContentMode<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for GeneratorContentMode<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for GeneratorContentMode<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for GeneratorContentMode<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for GeneratorContentMode<'_> { + type Output = GeneratorContentMode<'static>; + fn into_static(self) -> Self::Output { + match self { + GeneratorContentMode::ContentModeUnspecified => { + GeneratorContentMode::ContentModeUnspecified + } + GeneratorContentMode::ContentModeVideo => { + GeneratorContentMode::ContentModeVideo + } + GeneratorContentMode::Other(v) => { + GeneratorContentMode::Other(v.into_static()) + } + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs b/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs index e79a069b..3549eba2 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs @@ -190,8 +190,8 @@ pub enum GetActorLikesError<'a> { BlockedByActor(std::option::Option>), } -impl std::fmt::Display for GetActorLikesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetActorLikesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BlockedActor(msg) => { write!(f, "BlockedActor")?; diff --git a/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs b/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs index 9cca794e..fccc92ac 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs @@ -230,8 +230,8 @@ pub enum GetAuthorFeedError<'a> { BlockedByActor(std::option::Option>), } -impl std::fmt::Display for GetAuthorFeedError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetAuthorFeedError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BlockedActor(msg) => { write!(f, "BlockedActor")?; diff --git a/crates/jacquard-api/src/app_bsky/feed/get_feed.rs b/crates/jacquard-api/src/app_bsky/feed/get_feed.rs index 26c26411..e48b696f 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_feed.rs @@ -188,8 +188,8 @@ pub enum GetFeedError<'a> { UnknownFeed(std::option::Option>), } -impl std::fmt::Display for GetFeedError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetFeedError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::UnknownFeed(msg) => { write!(f, "UnknownFeed")?; diff --git a/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs b/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs index 52618ed8..553d778c 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs @@ -192,8 +192,8 @@ pub enum GetFeedSkeletonError<'a> { UnknownFeed(std::option::Option>), } -impl std::fmt::Display for GetFeedSkeletonError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetFeedSkeletonError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::UnknownFeed(msg) => { write!(f, "UnknownFeed")?; diff --git a/crates/jacquard-api/src/app_bsky/feed/get_likes.rs b/crates/jacquard-api/src/app_bsky/feed/get_likes.rs index ee3d110c..eaa643f8 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_likes.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_likes.rs @@ -33,51 +33,51 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; type CreatedAt; type Actor; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; type CreatedAt = Unset; type Actor = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type CreatedAt = S::CreatedAt; - type Actor = S::Actor; + type IndexedAt = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type IndexedAt = S::IndexedAt; type CreatedAt = Set; type Actor = S::Actor; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `actor` field to Set pub struct SetActor(PhantomData S>); impl sealed::Sealed for SetActor {} impl State for SetActor { - type IndexedAt = S::IndexedAt; type CreatedAt = S::CreatedAt; type Actor = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type CreatedAt = S::CreatedAt; + type Actor = S::Actor; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `actor` field pub struct actor(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::IndexedAt: like_state::IsSet, S::CreatedAt: like_state::IsSet, S::Actor: like_state::IsSet, + S::IndexedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs b/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs index 1ae27130..44b18394 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs @@ -188,8 +188,8 @@ pub enum GetListFeedError<'a> { UnknownList(std::option::Option>), } -impl std::fmt::Display for GetListFeedError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetListFeedError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::UnknownList(msg) => { write!(f, "UnknownList")?; diff --git a/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs b/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs index d0fea83d..b8544a5a 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs @@ -206,8 +206,8 @@ pub enum GetPostThreadError<'a> { NotFound(std::option::Option>), } -impl std::fmt::Display for GetPostThreadError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetPostThreadError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotFound(msg) => { write!(f, "NotFound")?; diff --git a/crates/jacquard-api/src/app_bsky/feed/like.rs b/crates/jacquard-api/src/app_bsky/feed/like.rs index 0f43928c..a326a4b1 100644 --- a/crates/jacquard-api/src/app_bsky/feed/like.rs +++ b/crates/jacquard-api/src/app_bsky/feed/like.rs @@ -36,37 +36,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -159,8 +159,8 @@ impl<'a, S: like_state::State> LikeBuilder<'a, S> { impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CreatedAt: like_state::IsSet, S::Subject: like_state::IsSet, + S::CreatedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/post.rs b/crates/jacquard-api/src/app_bsky/feed/post.rs index cfbb0e0f..34fcc26b 100644 --- a/crates/jacquard-api/src/app_bsky/feed/post.rs +++ b/crates/jacquard-api/src/app_bsky/feed/post.rs @@ -38,50 +38,50 @@ pub mod entity_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Type; - type Index; type Value; + type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Type = Unset; - type Index = Unset; type Value = Unset; + type Index = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { type Type = Set; - type Index = S::Index; - type Value = S::Value; - } - ///State transition - sets the `index` field to Set - pub struct SetIndex(PhantomData S>); - impl sealed::Sealed for SetIndex {} - impl State for SetIndex { - type Type = S::Type; - type Index = Set; type Value = S::Value; + type Index = S::Index; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { type Type = S::Type; - type Index = S::Index; type Value = Set; + type Index = S::Index; + } + ///State transition - sets the `index` field to Set + pub struct SetIndex(PhantomData S>); + impl sealed::Sealed for SetIndex {} + impl State for SetIndex { + type Type = S::Type; + type Value = S::Value; + type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `type` field pub struct r#type(()); - ///Marker type for the `index` field - pub struct index(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `index` field + pub struct index(()); } } @@ -175,8 +175,8 @@ impl<'a, S> EntityBuilder<'a, S> where S: entity_state::State, S::Type: entity_state::IsSet, - S::Index: entity_state::IsSet, S::Value: entity_state::IsSet, + S::Index: entity_state::IsSet, { /// Build the final struct pub fn build(self) -> Entity<'a> { @@ -1097,37 +1097,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Parent; + type Root; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Parent = Unset; - } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Parent = S::Parent; + type Root = Unset; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Root = S::Root; type Parent = Set; + type Root = S::Root; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Parent = S::Parent; + type Root = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `parent` field pub struct parent(()); + ///Marker type for the `root` field + pub struct root(()); } } @@ -1200,8 +1200,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Root: reply_ref_state::IsSet, S::Parent: reply_ref_state::IsSet, + S::Root: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/postgate.rs b/crates/jacquard-api/src/app_bsky/feed/postgate.rs index 85162966..3d1d3c77 100644 --- a/crates/jacquard-api/src/app_bsky/feed/postgate.rs +++ b/crates/jacquard-api/src/app_bsky/feed/postgate.rs @@ -224,37 +224,37 @@ pub mod postgate_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Post; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Post = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Post = S::Post; + type CreatedAt = Unset; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type CreatedAt = S::CreatedAt; type Post = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Post = S::Post; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `post` field pub struct post(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -367,8 +367,8 @@ where impl<'a, S> PostgateBuilder<'a, S> where S: postgate_state::State, - S::CreatedAt: postgate_state::IsSet, S::Post: postgate_state::IsSet, + S::CreatedAt: postgate_state::IsSet, { /// Build the final struct pub fn build(self) -> Postgate<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/repost.rs b/crates/jacquard-api/src/app_bsky/feed/repost.rs index 2325253e..56e8e0d6 100644 --- a/crates/jacquard-api/src/app_bsky/feed/repost.rs +++ b/crates/jacquard-api/src/app_bsky/feed/repost.rs @@ -36,37 +36,37 @@ pub mod repost_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -159,8 +159,8 @@ impl<'a, S: repost_state::State> RepostBuilder<'a, S> { impl<'a, S> RepostBuilder<'a, S> where S: repost_state::State, - S::Subject: repost_state::IsSet, S::CreatedAt: repost_state::IsSet, + S::Subject: repost_state::IsSet, { /// Build the final struct pub fn build(self) -> Repost<'a> { diff --git a/crates/jacquard-api/src/app_bsky/feed/search_posts.rs b/crates/jacquard-api/src/app_bsky/feed/search_posts.rs index 90d2fd27..f4932ce6 100644 --- a/crates/jacquard-api/src/app_bsky/feed/search_posts.rs +++ b/crates/jacquard-api/src/app_bsky/feed/search_posts.rs @@ -405,8 +405,8 @@ pub enum SearchPostsError<'a> { BadQueryString(std::option::Option>), } -impl std::fmt::Display for SearchPostsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SearchPostsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BadQueryString(msg) => { write!(f, "BadQueryString")?; diff --git a/crates/jacquard-api/src/app_bsky/graph.rs b/crates/jacquard-api/src/app_bsky/graph.rs index e111857d..08e0e2d1 100644 --- a/crates/jacquard-api/src/app_bsky/graph.rs +++ b/crates/jacquard-api/src/app_bsky/graph.rs @@ -82,37 +82,37 @@ pub mod list_item_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Uri; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Uri = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Uri = S::Uri; + type Subject = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Subject = S::Subject; type Uri = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Uri = S::Uri; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -185,8 +185,8 @@ where impl<'a, S> ListItemViewBuilder<'a, S> where S: list_item_view_state::State, - S::Subject: list_item_view_state::IsSet, S::Uri: list_item_view_state::IsSet, + S::Subject: list_item_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ListItemView<'a> { @@ -1275,6 +1275,12 @@ impl<'a> AsRef for ListPurpose<'a> { } } +impl<'a> core::fmt::Display for ListPurpose<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ListPurpose<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1369,9 +1375,9 @@ pub mod list_view_state { pub trait State: sealed::Sealed { type IndexedAt; type Uri; + type Creator; type Cid; type Name; - type Creator; type Purpose; } /// Empty state - all required fields are unset @@ -1380,9 +1386,9 @@ pub mod list_view_state { impl State for Empty { type IndexedAt = Unset; type Uri = Unset; + type Creator = Unset; type Cid = Unset; type Name = Unset; - type Creator = Unset; type Purpose = Unset; } ///State transition - sets the `indexed_at` field to Set @@ -1391,9 +1397,9 @@ pub mod list_view_state { impl State for SetIndexedAt { type IndexedAt = Set; type Uri = S::Uri; + type Creator = S::Creator; type Cid = S::Cid; type Name = S::Name; - type Creator = S::Creator; type Purpose = S::Purpose; } ///State transition - sets the `uri` field to Set @@ -1402,9 +1408,20 @@ pub mod list_view_state { impl State for SetUri { type IndexedAt = S::IndexedAt; type Uri = Set; + type Creator = S::Creator; + type Cid = S::Cid; + type Name = S::Name; + type Purpose = S::Purpose; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + type Creator = Set; type Cid = S::Cid; type Name = S::Name; - type Creator = S::Creator; type Purpose = S::Purpose; } ///State transition - sets the `cid` field to Set @@ -1413,9 +1430,9 @@ pub mod list_view_state { impl State for SetCid { type IndexedAt = S::IndexedAt; type Uri = S::Uri; + type Creator = S::Creator; type Cid = Set; type Name = S::Name; - type Creator = S::Creator; type Purpose = S::Purpose; } ///State transition - sets the `name` field to Set @@ -1424,20 +1441,9 @@ pub mod list_view_state { impl State for SetName { type IndexedAt = S::IndexedAt; type Uri = S::Uri; - type Cid = S::Cid; - type Name = Set; type Creator = S::Creator; - type Purpose = S::Purpose; - } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type IndexedAt = S::IndexedAt; - type Uri = S::Uri; type Cid = S::Cid; - type Name = S::Name; - type Creator = Set; + type Name = Set; type Purpose = S::Purpose; } ///State transition - sets the `purpose` field to Set @@ -1446,9 +1452,9 @@ pub mod list_view_state { impl State for SetPurpose { type IndexedAt = S::IndexedAt; type Uri = S::Uri; + type Creator = S::Creator; type Cid = S::Cid; type Name = S::Name; - type Creator = S::Creator; type Purpose = Set; } /// Marker types for field names @@ -1458,12 +1464,12 @@ pub mod list_view_state { pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `creator` field + pub struct creator(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `creator` field - pub struct creator(()); ///Marker type for the `purpose` field pub struct purpose(()); } @@ -1747,9 +1753,9 @@ where S: list_view_state::State, S::IndexedAt: list_view_state::IsSet, S::Uri: list_view_state::IsSet, + S::Creator: list_view_state::IsSet, S::Cid: list_view_state::IsSet, S::Name: list_view_state::IsSet, - S::Creator: list_view_state::IsSet, S::Purpose: list_view_state::IsSet, { /// Build the final struct @@ -1925,65 +1931,65 @@ pub mod list_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Uri; type Cid; type Name; - type Uri; type Purpose; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Uri = Unset; type Cid = Unset; type Name = Unset; - type Uri = Unset; type Purpose = Unset; } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Cid = S::Cid; + type Name = S::Name; + type Purpose = S::Purpose; + } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { + type Uri = S::Uri; type Cid = Set; type Name = S::Name; - type Uri = S::Uri; type Purpose = S::Purpose; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Cid = S::Cid; - type Name = Set; type Uri = S::Uri; - type Purpose = S::Purpose; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Cid = S::Cid; - type Name = S::Name; - type Uri = Set; + type Name = Set; type Purpose = S::Purpose; } ///State transition - sets the `purpose` field to Set pub struct SetPurpose(PhantomData S>); impl sealed::Sealed for SetPurpose {} impl State for SetPurpose { + type Uri = S::Uri; type Cid = S::Cid; type Name = S::Name; - type Uri = S::Uri; type Purpose = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `purpose` field pub struct purpose(()); } @@ -2202,9 +2208,9 @@ impl<'a, S: list_view_basic_state::State> ListViewBasicBuilder<'a, S> { impl<'a, S> ListViewBasicBuilder<'a, S> where S: list_view_basic_state::State, + S::Uri: list_view_basic_state::IsSet, S::Cid: list_view_basic_state::IsSet, S::Name: list_view_basic_state::IsSet, - S::Uri: list_view_basic_state::IsSet, S::Purpose: list_view_basic_state::IsSet, { /// Build the final struct @@ -2894,9 +2900,9 @@ pub mod starter_pack_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Cid; - type Uri; type IndexedAt; type Record; + type Uri; type Creator; } /// Empty state - all required fields are unset @@ -2904,9 +2910,9 @@ pub mod starter_pack_view_state { impl sealed::Sealed for Empty {} impl State for Empty { type Cid = Unset; - type Uri = Unset; type IndexedAt = Unset; type Record = Unset; + type Uri = Unset; type Creator = Unset; } ///State transition - sets the `cid` field to Set @@ -2914,19 +2920,9 @@ pub mod starter_pack_view_state { impl sealed::Sealed for SetCid {} impl State for SetCid { type Cid = Set; - type Uri = S::Uri; - type IndexedAt = S::IndexedAt; - type Record = S::Record; - type Creator = S::Creator; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Cid = S::Cid; - type Uri = Set; type IndexedAt = S::IndexedAt; type Record = S::Record; + type Uri = S::Uri; type Creator = S::Creator; } ///State transition - sets the `indexed_at` field to Set @@ -2934,9 +2930,9 @@ pub mod starter_pack_view_state { impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { type Cid = S::Cid; - type Uri = S::Uri; type IndexedAt = Set; type Record = S::Record; + type Uri = S::Uri; type Creator = S::Creator; } ///State transition - sets the `record` field to Set @@ -2944,9 +2940,19 @@ pub mod starter_pack_view_state { impl sealed::Sealed for SetRecord {} impl State for SetRecord { type Cid = S::Cid; - type Uri = S::Uri; type IndexedAt = S::IndexedAt; type Record = Set; + type Uri = S::Uri; + type Creator = S::Creator; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Record = S::Record; + type Uri = Set; type Creator = S::Creator; } ///State transition - sets the `creator` field to Set @@ -2954,9 +2960,9 @@ pub mod starter_pack_view_state { impl sealed::Sealed for SetCreator {} impl State for SetCreator { type Cid = S::Cid; - type Uri = S::Uri; type IndexedAt = S::IndexedAt; type Record = S::Record; + type Uri = S::Uri; type Creator = Set; } /// Marker types for field names @@ -2964,12 +2970,12 @@ pub mod starter_pack_view_state { pub mod members { ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `creator` field pub struct creator(()); } @@ -3225,9 +3231,9 @@ impl<'a, S> StarterPackViewBuilder<'a, S> where S: starter_pack_view_state::State, S::Cid: starter_pack_view_state::IsSet, - S::Uri: starter_pack_view_state::IsSet, S::IndexedAt: starter_pack_view_state::IsSet, S::Record: starter_pack_view_state::IsSet, + S::Uri: starter_pack_view_state::IsSet, S::Creator: starter_pack_view_state::IsSet, { /// Build the final struct @@ -3377,85 +3383,85 @@ pub mod starter_pack_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Record; + type Cid; type Uri; type Creator; type IndexedAt; - type Record; - type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Record = Unset; + type Cid = Unset; type Uri = Unset; type Creator = Unset; type IndexedAt = Unset; - type Record = Unset; - type Cid = Unset; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; + type Cid = S::Cid; + type Uri = S::Uri; + type Creator = S::Creator; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Record = S::Record; + type Cid = Set; + type Uri = S::Uri; + type Creator = S::Creator; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Record = S::Record; + type Cid = S::Cid; type Uri = Set; type Creator = S::Creator; type IndexedAt = S::IndexedAt; - type Record = S::Record; - type Cid = S::Cid; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { + type Record = S::Record; + type Cid = S::Cid; type Uri = S::Uri; type Creator = Set; type IndexedAt = S::IndexedAt; - type Record = S::Record; - type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Uri = S::Uri; - type Creator = S::Creator; - type IndexedAt = Set; type Record = S::Record; type Cid = S::Cid; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { type Uri = S::Uri; type Creator = S::Creator; - type IndexedAt = S::IndexedAt; - type Record = Set; - type Cid = S::Cid; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Uri = S::Uri; - type Creator = S::Creator; - type IndexedAt = S::IndexedAt; - type Record = S::Record; - type Cid = Set; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `record` field + pub struct record(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `creator` field pub struct creator(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `cid` field - pub struct cid(()); } } @@ -3666,11 +3672,11 @@ where impl<'a, S> StarterPackViewBasicBuilder<'a, S> where S: starter_pack_view_basic_state::State, + S::Record: starter_pack_view_basic_state::IsSet, + S::Cid: starter_pack_view_basic_state::IsSet, S::Uri: starter_pack_view_basic_state::IsSet, S::Creator: starter_pack_view_basic_state::IsSet, S::IndexedAt: starter_pack_view_basic_state::IsSet, - S::Record: starter_pack_view_basic_state::IsSet, - S::Cid: starter_pack_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> StarterPackViewBasic<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs b/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs index f5f04201..ee2b306e 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs @@ -195,8 +195,8 @@ pub enum GetRelationshipsError<'a> { ActorNotFound(std::option::Option>), } -impl std::fmt::Display for GetRelationshipsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRelationshipsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ActorNotFound(msg) => { write!(f, "ActorNotFound")?; diff --git a/crates/jacquard-api/src/app_bsky/graph/list.rs b/crates/jacquard-api/src/app_bsky/graph/list.rs index f2ad183f..1928e925 100644 --- a/crates/jacquard-api/src/app_bsky/graph/list.rs +++ b/crates/jacquard-api/src/app_bsky/graph/list.rs @@ -51,51 +51,51 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Name; type Purpose; + type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Name = Unset; type Purpose = Unset; + type Name = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `purpose` field to Set + pub struct SetPurpose(PhantomData S>); + impl sealed::Sealed for SetPurpose {} + impl State for SetPurpose { + type Purpose = Set; type Name = S::Name; - type Purpose = S::Purpose; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; - type Name = Set; type Purpose = S::Purpose; - } - ///State transition - sets the `purpose` field to Set - pub struct SetPurpose(PhantomData S>); - impl sealed::Sealed for SetPurpose {} - impl State for SetPurpose { + type Name = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Purpose = S::Purpose; type Name = S::Name; - type Purpose = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `purpose` field pub struct purpose(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -268,9 +268,9 @@ where impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::CreatedAt: list_state::IsSet, - S::Name: list_state::IsSet, S::Purpose: list_state::IsSet, + S::Name: list_state::IsSet, + S::CreatedAt: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/listitem.rs b/crates/jacquard-api/src/app_bsky/graph/listitem.rs index 351a75bb..8dac7be8 100644 --- a/crates/jacquard-api/src/app_bsky/graph/listitem.rs +++ b/crates/jacquard-api/src/app_bsky/graph/listitem.rs @@ -38,50 +38,50 @@ pub mod listitem_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type List; - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type List = Unset; - type CreatedAt = Unset; type Subject = Unset; + type CreatedAt = Unset; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { type List = Set; - type CreatedAt = S::CreatedAt; - type Subject = S::Subject; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type List = S::List; - type CreatedAt = Set; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type List = S::List; - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type List = S::List; + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `list` field pub struct list(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -175,8 +175,8 @@ impl<'a, S> ListitemBuilder<'a, S> where S: listitem_state::State, S::List: listitem_state::IsSet, - S::CreatedAt: listitem_state::IsSet, S::Subject: listitem_state::IsSet, + S::CreatedAt: listitem_state::IsSet, { /// Build the final struct pub fn build(self) -> Listitem<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/starterpack.rs b/crates/jacquard-api/src/app_bsky/graph/starterpack.rs index 04266cf5..c05964cc 100644 --- a/crates/jacquard-api/src/app_bsky/graph/starterpack.rs +++ b/crates/jacquard-api/src/app_bsky/graph/starterpack.rs @@ -366,51 +366,51 @@ pub mod starterpack_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; type List; type CreatedAt; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; type List = Unset; type CreatedAt = Unset; - type Name = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type List = S::List; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { + type Name = S::Name; type List = Set; type CreatedAt = S::CreatedAt; - type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type List = S::List; - type CreatedAt = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type List = S::List; - type CreatedAt = S::CreatedAt; - type Name = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `list` field pub struct list(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -563,9 +563,9 @@ where impl<'a, S> StarterpackBuilder<'a, S> where S: starterpack_state::State, + S::Name: starterpack_state::IsSet, S::List: starterpack_state::IsSet, S::CreatedAt: starterpack_state::IsSet, - S::Name: starterpack_state::IsSet, { /// Build the final struct pub fn build(self) -> Starterpack<'a> { diff --git a/crates/jacquard-api/src/app_bsky/graph/verification.rs b/crates/jacquard-api/src/app_bsky/graph/verification.rs index da2560ac..48d7ef7e 100644 --- a/crates/jacquard-api/src/app_bsky/graph/verification.rs +++ b/crates/jacquard-api/src/app_bsky/graph/verification.rs @@ -41,67 +41,67 @@ pub mod verification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DisplayName; + type CreatedAt; type Subject; type Handle; - type CreatedAt; + type DisplayName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DisplayName = Unset; + type CreatedAt = Unset; type Subject = Unset; type Handle = Unset; - type CreatedAt = Unset; + type DisplayName = Unset; } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { - type DisplayName = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Subject = S::Subject; type Handle = S::Handle; - type CreatedAt = S::CreatedAt; + type DisplayName = S::DisplayName; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; type Subject = Set; type Handle = S::Handle; - type CreatedAt = S::CreatedAt; + type DisplayName = S::DisplayName; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; type Subject = S::Subject; type Handle = Set; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type DisplayName = S::DisplayName; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type CreatedAt = S::CreatedAt; type Subject = S::Subject; type Handle = S::Handle; - type CreatedAt = Set; + type DisplayName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `display_name` field - pub struct display_name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `display_name` field + pub struct display_name(()); } } @@ -214,10 +214,10 @@ where impl<'a, S> VerificationBuilder<'a, S> where S: verification_state::State, - S::DisplayName: verification_state::IsSet, + S::CreatedAt: verification_state::IsSet, S::Subject: verification_state::IsSet, S::Handle: verification_state::IsSet, - S::CreatedAt: verification_state::IsSet, + S::DisplayName: verification_state::IsSet, { /// Build the final struct pub fn build(self) -> Verification<'a> { diff --git a/crates/jacquard-api/src/app_bsky/labeler.rs b/crates/jacquard-api/src/app_bsky/labeler.rs index 233cf0de..201e1da2 100644 --- a/crates/jacquard-api/src/app_bsky/labeler.rs +++ b/crates/jacquard-api/src/app_bsky/labeler.rs @@ -632,67 +632,67 @@ pub mod labeler_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type IndexedAt; type Creator; - type Cid; type Uri; - type IndexedAt; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type IndexedAt = Unset; type Creator = Unset; - type Cid = Unset; type Uri = Unset; - type IndexedAt = Unset; + type Cid = Unset; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type IndexedAt = Set; + type Creator = S::Creator; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { - type Creator = Set; - type Cid = S::Cid; - type Uri = S::Uri; type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Creator = S::Creator; - type Cid = Set; + type Creator = Set; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type IndexedAt = S::IndexedAt; type Creator = S::Creator; - type Cid = S::Cid; type Uri = Set; - type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type IndexedAt = S::IndexedAt; type Creator = S::Creator; - type Cid = S::Cid; type Uri = S::Uri; - type IndexedAt = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `creator` field pub struct creator(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -859,10 +859,10 @@ impl<'a, S: labeler_view_state::State> LabelerViewBuilder<'a, S> { impl<'a, S> LabelerViewBuilder<'a, S> where S: labeler_view_state::State, + S::IndexedAt: labeler_view_state::IsSet, S::Creator: labeler_view_state::IsSet, - S::Cid: labeler_view_state::IsSet, S::Uri: labeler_view_state::IsSet, - S::IndexedAt: labeler_view_state::IsSet, + S::Cid: labeler_view_state::IsSet, { /// Build the final struct pub fn build(self) -> LabelerView<'a> { @@ -985,83 +985,83 @@ pub mod labeler_view_detailed_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Creator; type Policies; - type IndexedAt; + type Creator; type Cid; + type IndexedAt; type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Creator = Unset; type Policies = Unset; - type IndexedAt = Unset; + type Creator = Unset; type Cid = Unset; + type IndexedAt = Unset; type Uri = Unset; } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type Creator = Set; - type Policies = S::Policies; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Uri = S::Uri; - } ///State transition - sets the `policies` field to Set pub struct SetPolicies(PhantomData S>); impl sealed::Sealed for SetPolicies {} impl State for SetPolicies { - type Creator = S::Creator; type Policies = Set; - type IndexedAt = S::IndexedAt; + type Creator = S::Creator; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; type Uri = S::Uri; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Creator = S::Creator; + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { type Policies = S::Policies; - type IndexedAt = Set; + type Creator = Set; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; type Uri = S::Uri; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Creator = S::Creator; type Policies = S::Policies; - type IndexedAt = S::IndexedAt; + type Creator = S::Creator; type Cid = Set; + type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Policies = S::Policies; + type Creator = S::Creator; + type Cid = S::Cid; + type IndexedAt = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Creator = S::Creator; type Policies = S::Policies; - type IndexedAt = S::IndexedAt; + type Creator = S::Creator; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `creator` field - pub struct creator(()); ///Marker type for the `policies` field pub struct policies(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); + ///Marker type for the `creator` field + pub struct creator(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -1322,10 +1322,10 @@ impl<'a, S: labeler_view_detailed_state::State> LabelerViewDetailedBuilder<'a, S impl<'a, S> LabelerViewDetailedBuilder<'a, S> where S: labeler_view_detailed_state::State, - S::Creator: labeler_view_detailed_state::IsSet, S::Policies: labeler_view_detailed_state::IsSet, - S::IndexedAt: labeler_view_detailed_state::IsSet, + S::Creator: labeler_view_detailed_state::IsSet, S::Cid: labeler_view_detailed_state::IsSet, + S::IndexedAt: labeler_view_detailed_state::IsSet, S::Uri: labeler_view_detailed_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/app_bsky/notification.rs b/crates/jacquard-api/src/app_bsky/notification.rs index 3629639e..891d7234 100644 --- a/crates/jacquard-api/src/app_bsky/notification.rs +++ b/crates/jacquard-api/src/app_bsky/notification.rs @@ -43,37 +43,37 @@ pub mod activity_subscription_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reply; type Post; + type Reply; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reply = Unset; type Post = Unset; - } - ///State transition - sets the `reply` field to Set - pub struct SetReply(PhantomData S>); - impl sealed::Sealed for SetReply {} - impl State for SetReply { - type Reply = Set; - type Post = S::Post; + type Reply = Unset; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type Reply = S::Reply; type Post = Set; + type Reply = S::Reply; + } + ///State transition - sets the `reply` field to Set + pub struct SetReply(PhantomData S>); + impl sealed::Sealed for SetReply {} + impl State for SetReply { + type Post = S::Post; + type Reply = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reply` field - pub struct reply(()); ///Marker type for the `post` field pub struct post(()); + ///Marker type for the `reply` field + pub struct reply(()); } } @@ -143,8 +143,8 @@ where impl<'a, S> ActivitySubscriptionBuilder<'a, S> where S: activity_subscription_state::State, - S::Reply: activity_subscription_state::IsSet, S::Post: activity_subscription_state::IsSet, + S::Reply: activity_subscription_state::IsSet, { /// Build the final struct pub fn build(self) -> ActivitySubscription<'a> { @@ -587,7 +587,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ActivitySubscription<'a> #[serde(rename_all = "camelCase")] pub struct ChatPreference<'a> { #[serde(borrow)] - pub include: jacquard_common::CowStr<'a>, + pub include: ChatPreferenceInclude<'a>, pub push: bool, } @@ -639,7 +639,7 @@ pub mod chat_preference_state { pub struct ChatPreferenceBuilder<'a, S: chat_preference_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -671,7 +671,7 @@ where /// Set the `include` field (required) pub fn include( mut self, - value: impl Into>, + value: impl Into>, ) -> ChatPreferenceBuilder<'a, chat_preference_state::SetInclude> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); ChatPreferenceBuilder { @@ -731,6 +731,96 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ChatPreferenceInclude<'a> { + All, + Accepted, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ChatPreferenceInclude<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::All => "all", + Self::Accepted => "accepted", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ChatPreferenceInclude<'a> { + fn from(s: &'a str) -> Self { + match s { + "all" => Self::All, + "accepted" => Self::Accepted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ChatPreferenceInclude<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "all" => Self::All, + "accepted" => Self::Accepted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ChatPreferenceInclude<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ChatPreferenceInclude<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ChatPreferenceInclude<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ChatPreferenceInclude<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ChatPreferenceInclude<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ChatPreferenceInclude<'_> { + type Output = ChatPreferenceInclude<'static>; + fn into_static(self) -> Self::Output { + match self { + ChatPreferenceInclude::All => ChatPreferenceInclude::All, + ChatPreferenceInclude::Accepted => ChatPreferenceInclude::Accepted, + ChatPreferenceInclude::Other(v) => { + ChatPreferenceInclude::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ChatPreference<'a> { fn nsid() -> &'static str { "app.bsky.notification.defs" @@ -761,7 +851,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ChatPreference<'a> { #[serde(rename_all = "camelCase")] pub struct FilterablePreference<'a> { #[serde(borrow)] - pub include: jacquard_common::CowStr<'a>, + pub include: FilterablePreferenceInclude<'a>, pub list: bool, pub push: bool, } @@ -776,51 +866,51 @@ pub mod filterable_preference_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Push; type Include; type List; + type Push; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Push = Unset; type Include = Unset; type List = Unset; - } - ///State transition - sets the `push` field to Set - pub struct SetPush(PhantomData S>); - impl sealed::Sealed for SetPush {} - impl State for SetPush { - type Push = Set; - type Include = S::Include; - type List = S::List; + type Push = Unset; } ///State transition - sets the `include` field to Set pub struct SetInclude(PhantomData S>); impl sealed::Sealed for SetInclude {} impl State for SetInclude { - type Push = S::Push; type Include = Set; type List = S::List; + type Push = S::Push; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type Push = S::Push; type Include = S::Include; type List = Set; + type Push = S::Push; + } + ///State transition - sets the `push` field to Set + pub struct SetPush(PhantomData S>); + impl sealed::Sealed for SetPush {} + impl State for SetPush { + type Include = S::Include; + type List = S::List; + type Push = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `push` field - pub struct push(()); ///Marker type for the `include` field pub struct include(()); ///Marker type for the `list` field pub struct list(()); + ///Marker type for the `push` field + pub struct push(()); } } @@ -828,7 +918,7 @@ pub mod filterable_preference_state { pub struct FilterablePreferenceBuilder<'a, S: filterable_preference_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option, ), @@ -861,7 +951,7 @@ where /// Set the `include` field (required) pub fn include( mut self, - value: impl Into>, + value: impl Into>, ) -> FilterablePreferenceBuilder<'a, filterable_preference_state::SetInclude> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); FilterablePreferenceBuilder { @@ -913,9 +1003,9 @@ where impl<'a, S> FilterablePreferenceBuilder<'a, S> where S: filterable_preference_state::State, - S::Push: filterable_preference_state::IsSet, S::Include: filterable_preference_state::IsSet, S::List: filterable_preference_state::IsSet, + S::Push: filterable_preference_state::IsSet, { /// Build the final struct pub fn build(self) -> FilterablePreference<'a> { @@ -943,6 +1033,96 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum FilterablePreferenceInclude<'a> { + All, + Follows, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> FilterablePreferenceInclude<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::All => "all", + Self::Follows => "follows", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for FilterablePreferenceInclude<'a> { + fn from(s: &'a str) -> Self { + match s { + "all" => Self::All, + "follows" => Self::Follows, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for FilterablePreferenceInclude<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "all" => Self::All, + "follows" => Self::Follows, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for FilterablePreferenceInclude<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for FilterablePreferenceInclude<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for FilterablePreferenceInclude<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for FilterablePreferenceInclude<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for FilterablePreferenceInclude<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for FilterablePreferenceInclude<'_> { + type Output = FilterablePreferenceInclude<'static>; + fn into_static(self) -> Self::Output { + match self { + FilterablePreferenceInclude::All => FilterablePreferenceInclude::All, + FilterablePreferenceInclude::Follows => FilterablePreferenceInclude::Follows, + FilterablePreferenceInclude::Other(v) => { + FilterablePreferenceInclude::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for FilterablePreference<'a> { fn nsid() -> &'static str { "app.bsky.notification.defs" @@ -1180,301 +1360,301 @@ pub mod preferences_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LikeViaRepost; - type Verified; - type Chat; - type Follow; - type Quote; - type Repost; type RepostViaRepost; - type Mention; - type SubscribedPost; - type Reply; type Like; - type StarterpackJoined; + type SubscribedPost; + type Follow; type Unverified; + type Repost; + type Verified; + type Chat; + type StarterpackJoined; + type LikeViaRepost; + type Reply; + type Mention; + type Quote; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LikeViaRepost = Unset; - type Verified = Unset; - type Chat = Unset; - type Follow = Unset; - type Quote = Unset; - type Repost = Unset; type RepostViaRepost = Unset; - type Mention = Unset; - type SubscribedPost = Unset; - type Reply = Unset; type Like = Unset; - type StarterpackJoined = Unset; + type SubscribedPost = Unset; + type Follow = Unset; type Unverified = Unset; + type Repost = Unset; + type Verified = Unset; + type Chat = Unset; + type StarterpackJoined = Unset; + type LikeViaRepost = Unset; + type Reply = Unset; + type Mention = Unset; + type Quote = Unset; } - ///State transition - sets the `like_via_repost` field to Set - pub struct SetLikeViaRepost(PhantomData S>); - impl sealed::Sealed for SetLikeViaRepost {} - impl State for SetLikeViaRepost { - type LikeViaRepost = Set; - type Verified = S::Verified; - type Chat = S::Chat; + ///State transition - sets the `repost_via_repost` field to Set + pub struct SetRepostViaRepost(PhantomData S>); + impl sealed::Sealed for SetRepostViaRepost {} + impl State for SetRepostViaRepost { + type RepostViaRepost = Set; + type Like = S::Like; + type SubscribedPost = S::SubscribedPost; type Follow = S::Follow; - type Quote = S::Quote; + type Unverified = S::Unverified; type Repost = S::Repost; - type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; - type Like = S::Like; + type Verified = S::Verified; + type Chat = S::Chat; type StarterpackJoined = S::StarterpackJoined; - type Unverified = S::Unverified; - } - ///State transition - sets the `verified` field to Set - pub struct SetVerified(PhantomData S>); - impl sealed::Sealed for SetVerified {} - impl State for SetVerified { type LikeViaRepost = S::LikeViaRepost; - type Verified = Set; - type Chat = S::Chat; - type Follow = S::Follow; + type Reply = S::Reply; + type Mention = S::Mention; type Quote = S::Quote; - type Repost = S::Repost; + } + ///State transition - sets the `like` field to Set + pub struct SetLike(PhantomData S>); + impl sealed::Sealed for SetLike {} + impl State for SetLike { type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; + type Like = Set; type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; - type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `chat` field to Set - pub struct SetChat(PhantomData S>); - impl sealed::Sealed for SetChat {} - impl State for SetChat { - type LikeViaRepost = S::LikeViaRepost; + type Repost = S::Repost; type Verified = S::Verified; - type Chat = Set; - type Follow = S::Follow; + type Chat = S::Chat; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = S::Mention; type Quote = S::Quote; - type Repost = S::Repost; + } + ///State transition - sets the `subscribed_post` field to Set + pub struct SetSubscribedPost(PhantomData S>); + impl sealed::Sealed for SetSubscribedPost {} + impl State for SetSubscribedPost { type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = Set; + type Follow = S::Follow; type Unverified = S::Unverified; + type Repost = S::Repost; + type Verified = S::Verified; + type Chat = S::Chat; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = S::Mention; + type Quote = S::Quote; } ///State transition - sets the `follow` field to Set pub struct SetFollow(PhantomData S>); impl sealed::Sealed for SetFollow {} impl State for SetFollow { - type LikeViaRepost = S::LikeViaRepost; - type Verified = S::Verified; - type Chat = S::Chat; - type Follow = Set; - type Quote = S::Quote; - type Repost = S::Repost; type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = S::SubscribedPost; + type Follow = Set; type Unverified = S::Unverified; - } - ///State transition - sets the `quote` field to Set - pub struct SetQuote(PhantomData S>); - impl sealed::Sealed for SetQuote {} - impl State for SetQuote { - type LikeViaRepost = S::LikeViaRepost; + type Repost = S::Repost; type Verified = S::Verified; type Chat = S::Chat; - type Follow = S::Follow; - type Quote = Set; - type Repost = S::Repost; - type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; type Reply = S::Reply; + type Mention = S::Mention; + type Quote = S::Quote; + } + ///State transition - sets the `unverified` field to Set + pub struct SetUnverified(PhantomData S>); + impl sealed::Sealed for SetUnverified {} + impl State for SetUnverified { + type RepostViaRepost = S::RepostViaRepost; type Like = S::Like; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; + type Unverified = Set; + type Repost = S::Repost; + type Verified = S::Verified; + type Chat = S::Chat; type StarterpackJoined = S::StarterpackJoined; - type Unverified = S::Unverified; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = S::Mention; + type Quote = S::Quote; } ///State transition - sets the `repost` field to Set pub struct SetRepost(PhantomData S>); impl sealed::Sealed for SetRepost {} impl State for SetRepost { - type LikeViaRepost = S::LikeViaRepost; - type Verified = S::Verified; - type Chat = S::Chat; - type Follow = S::Follow; - type Quote = S::Quote; - type Repost = Set; type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `repost_via_repost` field to Set - pub struct SetRepostViaRepost(PhantomData S>); - impl sealed::Sealed for SetRepostViaRepost {} - impl State for SetRepostViaRepost { - type LikeViaRepost = S::LikeViaRepost; + type Repost = Set; type Verified = S::Verified; type Chat = S::Chat; - type Follow = S::Follow; - type Quote = S::Quote; - type Repost = S::Repost; - type RepostViaRepost = Set; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; type Reply = S::Reply; + type Mention = S::Mention; + type Quote = S::Quote; + } + ///State transition - sets the `verified` field to Set + pub struct SetVerified(PhantomData S>); + impl sealed::Sealed for SetVerified {} + impl State for SetVerified { + type RepostViaRepost = S::RepostViaRepost; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `mention` field to Set - pub struct SetMention(PhantomData S>); - impl sealed::Sealed for SetMention {} - impl State for SetMention { - type LikeViaRepost = S::LikeViaRepost; - type Verified = S::Verified; + type Repost = S::Repost; + type Verified = Set; type Chat = S::Chat; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = S::Mention; type Quote = S::Quote; - type Repost = S::Repost; + } + ///State transition - sets the `chat` field to Set + pub struct SetChat(PhantomData S>); + impl sealed::Sealed for SetChat {} + impl State for SetChat { type RepostViaRepost = S::RepostViaRepost; - type Mention = Set; + type Like = S::Like; type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; + type Unverified = S::Unverified; + type Repost = S::Repost; + type Verified = S::Verified; + type Chat = Set; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; type Reply = S::Reply; + type Mention = S::Mention; + type Quote = S::Quote; + } + ///State transition - sets the `starterpack_joined` field to Set + pub struct SetStarterpackJoined(PhantomData S>); + impl sealed::Sealed for SetStarterpackJoined {} + impl State for SetStarterpackJoined { + type RepostViaRepost = S::RepostViaRepost; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `subscribed_post` field to Set - pub struct SetSubscribedPost(PhantomData S>); - impl sealed::Sealed for SetSubscribedPost {} - impl State for SetSubscribedPost { - type LikeViaRepost = S::LikeViaRepost; + type Repost = S::Repost; type Verified = S::Verified; type Chat = S::Chat; - type Follow = S::Follow; + type StarterpackJoined = Set; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = S::Mention; type Quote = S::Quote; - type Repost = S::Repost; + } + ///State transition - sets the `like_via_repost` field to Set + pub struct SetLikeViaRepost(PhantomData S>); + impl sealed::Sealed for SetLikeViaRepost {} + impl State for SetLikeViaRepost { type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = Set; - type Reply = S::Reply; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; type Unverified = S::Unverified; + type Repost = S::Repost; + type Verified = S::Verified; + type Chat = S::Chat; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = Set; + type Reply = S::Reply; + type Mention = S::Mention; + type Quote = S::Quote; } ///State transition - sets the `reply` field to Set pub struct SetReply(PhantomData S>); impl sealed::Sealed for SetReply {} impl State for SetReply { - type LikeViaRepost = S::LikeViaRepost; - type Verified = S::Verified; - type Chat = S::Chat; - type Follow = S::Follow; - type Quote = S::Quote; - type Repost = S::Repost; type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = Set; type Like = S::Like; - type StarterpackJoined = S::StarterpackJoined; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `like` field to Set - pub struct SetLike(PhantomData S>); - impl sealed::Sealed for SetLike {} - impl State for SetLike { - type LikeViaRepost = S::LikeViaRepost; + type Repost = S::Repost; type Verified = S::Verified; type Chat = S::Chat; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; + type Reply = Set; + type Mention = S::Mention; type Quote = S::Quote; - type Repost = S::Repost; + } + ///State transition - sets the `mention` field to Set + pub struct SetMention(PhantomData S>); + impl sealed::Sealed for SetMention {} + impl State for SetMention { type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; + type Like = S::Like; type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; - type Like = Set; - type StarterpackJoined = S::StarterpackJoined; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `starterpack_joined` field to Set - pub struct SetStarterpackJoined(PhantomData S>); - impl sealed::Sealed for SetStarterpackJoined {} - impl State for SetStarterpackJoined { - type LikeViaRepost = S::LikeViaRepost; + type Repost = S::Repost; type Verified = S::Verified; type Chat = S::Chat; - type Follow = S::Follow; + type StarterpackJoined = S::StarterpackJoined; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = Set; type Quote = S::Quote; - type Repost = S::Repost; + } + ///State transition - sets the `quote` field to Set + pub struct SetQuote(PhantomData S>); + impl sealed::Sealed for SetQuote {} + impl State for SetQuote { type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; type Like = S::Like; - type StarterpackJoined = Set; + type SubscribedPost = S::SubscribedPost; + type Follow = S::Follow; type Unverified = S::Unverified; - } - ///State transition - sets the `unverified` field to Set - pub struct SetUnverified(PhantomData S>); - impl sealed::Sealed for SetUnverified {} - impl State for SetUnverified { - type LikeViaRepost = S::LikeViaRepost; + type Repost = S::Repost; type Verified = S::Verified; type Chat = S::Chat; - type Follow = S::Follow; - type Quote = S::Quote; - type Repost = S::Repost; - type RepostViaRepost = S::RepostViaRepost; - type Mention = S::Mention; - type SubscribedPost = S::SubscribedPost; - type Reply = S::Reply; - type Like = S::Like; type StarterpackJoined = S::StarterpackJoined; - type Unverified = Set; + type LikeViaRepost = S::LikeViaRepost; + type Reply = S::Reply; + type Mention = S::Mention; + type Quote = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `like_via_repost` field - pub struct like_via_repost(()); - ///Marker type for the `verified` field - pub struct verified(()); - ///Marker type for the `chat` field - pub struct chat(()); - ///Marker type for the `follow` field - pub struct follow(()); - ///Marker type for the `quote` field - pub struct quote(()); - ///Marker type for the `repost` field - pub struct repost(()); ///Marker type for the `repost_via_repost` field pub struct repost_via_repost(()); - ///Marker type for the `mention` field - pub struct mention(()); - ///Marker type for the `subscribed_post` field - pub struct subscribed_post(()); - ///Marker type for the `reply` field - pub struct reply(()); ///Marker type for the `like` field pub struct like(()); - ///Marker type for the `starterpack_joined` field - pub struct starterpack_joined(()); + ///Marker type for the `subscribed_post` field + pub struct subscribed_post(()); + ///Marker type for the `follow` field + pub struct follow(()); ///Marker type for the `unverified` field pub struct unverified(()); + ///Marker type for the `repost` field + pub struct repost(()); + ///Marker type for the `verified` field + pub struct verified(()); + ///Marker type for the `chat` field + pub struct chat(()); + ///Marker type for the `starterpack_joined` field + pub struct starterpack_joined(()); + ///Marker type for the `like_via_repost` field + pub struct like_via_repost(()); + ///Marker type for the `reply` field + pub struct reply(()); + ///Marker type for the `mention` field + pub struct mention(()); + ///Marker type for the `quote` field + pub struct quote(()); } } @@ -1781,19 +1961,19 @@ where impl<'a, S> PreferencesBuilder<'a, S> where S: preferences_state::State, - S::LikeViaRepost: preferences_state::IsSet, - S::Verified: preferences_state::IsSet, - S::Chat: preferences_state::IsSet, - S::Follow: preferences_state::IsSet, - S::Quote: preferences_state::IsSet, - S::Repost: preferences_state::IsSet, S::RepostViaRepost: preferences_state::IsSet, - S::Mention: preferences_state::IsSet, - S::SubscribedPost: preferences_state::IsSet, - S::Reply: preferences_state::IsSet, S::Like: preferences_state::IsSet, - S::StarterpackJoined: preferences_state::IsSet, + S::SubscribedPost: preferences_state::IsSet, + S::Follow: preferences_state::IsSet, S::Unverified: preferences_state::IsSet, + S::Repost: preferences_state::IsSet, + S::Verified: preferences_state::IsSet, + S::Chat: preferences_state::IsSet, + S::StarterpackJoined: preferences_state::IsSet, + S::LikeViaRepost: preferences_state::IsSet, + S::Reply: preferences_state::IsSet, + S::Mention: preferences_state::IsSet, + S::Quote: preferences_state::IsSet, { /// Build the final struct pub fn build(self) -> Preferences<'a> { diff --git a/crates/jacquard-api/src/app_bsky/notification/declaration.rs b/crates/jacquard-api/src/app_bsky/notification/declaration.rs index c8e4e9de..de804a7b 100644 --- a/crates/jacquard-api/src/app_bsky/notification/declaration.rs +++ b/crates/jacquard-api/src/app_bsky/notification/declaration.rs @@ -20,7 +20,7 @@ pub struct Declaration<'a> { /// A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'. #[serde(borrow)] - pub allow_subscriptions: jacquard_common::CowStr<'a>, + pub allow_subscriptions: DeclarationAllowSubscriptions<'a>, } pub mod declaration_state { @@ -58,7 +58,7 @@ pub mod declaration_state { /// Builder for constructing an instance of this type pub struct DeclarationBuilder<'a, S: declaration_state::State> { _phantom_state: ::core::marker::PhantomData S>, - __unsafe_private_named: (::core::option::Option>,), + __unsafe_private_named: (::core::option::Option>,), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -88,7 +88,7 @@ where /// Set the `allowSubscriptions` field (required) pub fn allow_subscriptions( mut self, - value: impl Into>, + value: impl Into>, ) -> DeclarationBuilder<'a, declaration_state::SetAllowSubscriptions> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); DeclarationBuilder { @@ -139,6 +139,106 @@ impl<'a> Declaration<'a> { } } +/// A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum DeclarationAllowSubscriptions<'a> { + Followers, + Mutuals, + None, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> DeclarationAllowSubscriptions<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Followers => "followers", + Self::Mutuals => "mutuals", + Self::None => "none", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for DeclarationAllowSubscriptions<'a> { + fn from(s: &'a str) -> Self { + match s { + "followers" => Self::Followers, + "mutuals" => Self::Mutuals, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for DeclarationAllowSubscriptions<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "followers" => Self::Followers, + "mutuals" => Self::Mutuals, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for DeclarationAllowSubscriptions<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for DeclarationAllowSubscriptions<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for DeclarationAllowSubscriptions<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for DeclarationAllowSubscriptions<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for DeclarationAllowSubscriptions<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for DeclarationAllowSubscriptions<'_> { + type Output = DeclarationAllowSubscriptions<'static>; + fn into_static(self) -> Self::Output { + match self { + DeclarationAllowSubscriptions::Followers => { + DeclarationAllowSubscriptions::Followers + } + DeclarationAllowSubscriptions::Mutuals => { + DeclarationAllowSubscriptions::Mutuals + } + DeclarationAllowSubscriptions::None => DeclarationAllowSubscriptions::None, + DeclarationAllowSubscriptions::Other(v) => { + DeclarationAllowSubscriptions::Other(v.into_static()) + } + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs b/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs index 563cc527..895ba2e1 100644 --- a/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs +++ b/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs @@ -251,7 +251,7 @@ pub struct Notification<'a> { pub labels: std::option::Option>>, /// The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. #[serde(borrow)] - pub reason: jacquard_common::CowStr<'a>, + pub reason: NotificationReason<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub reason_subject: std::option::Option>, @@ -271,127 +271,127 @@ pub mod notification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Reason; type IsRead; type Uri; - type Record; + type Cid; type IndexedAt; + type Reason; type Author; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Reason = Unset; type IsRead = Unset; type Uri = Unset; - type Record = Unset; + type Cid = Unset; type IndexedAt = Unset; + type Reason = Unset; type Author = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Reason = S::Reason; - type IsRead = S::IsRead; - type Uri = S::Uri; - type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Author = S::Author; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type Cid = S::Cid; - type Reason = Set; - type IsRead = S::IsRead; - type Uri = S::Uri; - type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Author = S::Author; + type Record = Unset; } ///State transition - sets the `is_read` field to Set pub struct SetIsRead(PhantomData S>); impl sealed::Sealed for SetIsRead {} impl State for SetIsRead { - type Cid = S::Cid; - type Reason = S::Reason; type IsRead = Set; type Uri = S::Uri; - type Record = S::Record; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; + type Reason = S::Reason; type Author = S::Author; + type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; - type Reason = S::Reason; type IsRead = S::IsRead; type Uri = Set; - type Record = S::Record; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; + type Reason = S::Reason; type Author = S::Author; + type Record = S::Record; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Cid = S::Cid; - type Reason = S::Reason; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type IsRead = S::IsRead; type Uri = S::Uri; - type Record = Set; + type Cid = Set; type IndexedAt = S::IndexedAt; + type Reason = S::Reason; type Author = S::Author; + type Record = S::Record; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { + type IsRead = S::IsRead; + type Uri = S::Uri; type Cid = S::Cid; + type IndexedAt = Set; type Reason = S::Reason; + type Author = S::Author; + type Record = S::Record; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { type IsRead = S::IsRead; type Uri = S::Uri; - type Record = S::Record; - type IndexedAt = Set; + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Reason = Set; type Author = S::Author; + type Record = S::Record; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type IsRead = S::IsRead; + type Uri = S::Uri; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; type Reason = S::Reason; + type Author = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { type IsRead = S::IsRead; type Uri = S::Uri; - type Record = S::Record; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Author = Set; + type Reason = S::Reason; + type Author = S::Author; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `reason` field - pub struct reason(()); ///Marker type for the `is_read` field pub struct is_read(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `record` field - pub struct record(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `reason` field + pub struct reason(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -404,7 +404,7 @@ pub struct NotificationBuilder<'a, S: notification_state::State> { ::core::option::Option, ::core::option::Option, ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -543,7 +543,7 @@ where /// Set the `reason` field (required) pub fn reason( mut self, - value: impl Into>, + value: impl Into>, ) -> NotificationBuilder<'a, notification_state::SetReason> { self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); NotificationBuilder { @@ -614,13 +614,13 @@ where impl<'a, S> NotificationBuilder<'a, S> where S: notification_state::State, - S::Cid: notification_state::IsSet, - S::Reason: notification_state::IsSet, S::IsRead: notification_state::IsSet, S::Uri: notification_state::IsSet, - S::Record: notification_state::IsSet, + S::Cid: notification_state::IsSet, S::IndexedAt: notification_state::IsSet, + S::Reason: notification_state::IsSet, S::Author: notification_state::IsSet, + S::Record: notification_state::IsSet, { /// Build the final struct pub fn build(self) -> Notification<'a> { @@ -660,6 +660,152 @@ where } } +/// The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum NotificationReason<'a> { + Like, + Repost, + Follow, + Mention, + Reply, + Quote, + StarterpackJoined, + Verified, + Unverified, + LikeViaRepost, + RepostViaRepost, + SubscribedPost, + ContactMatch, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> NotificationReason<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Like => "like", + Self::Repost => "repost", + Self::Follow => "follow", + Self::Mention => "mention", + Self::Reply => "reply", + Self::Quote => "quote", + Self::StarterpackJoined => "starterpack-joined", + Self::Verified => "verified", + Self::Unverified => "unverified", + Self::LikeViaRepost => "like-via-repost", + Self::RepostViaRepost => "repost-via-repost", + Self::SubscribedPost => "subscribed-post", + Self::ContactMatch => "contact-match", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for NotificationReason<'a> { + fn from(s: &'a str) -> Self { + match s { + "like" => Self::Like, + "repost" => Self::Repost, + "follow" => Self::Follow, + "mention" => Self::Mention, + "reply" => Self::Reply, + "quote" => Self::Quote, + "starterpack-joined" => Self::StarterpackJoined, + "verified" => Self::Verified, + "unverified" => Self::Unverified, + "like-via-repost" => Self::LikeViaRepost, + "repost-via-repost" => Self::RepostViaRepost, + "subscribed-post" => Self::SubscribedPost, + "contact-match" => Self::ContactMatch, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for NotificationReason<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "like" => Self::Like, + "repost" => Self::Repost, + "follow" => Self::Follow, + "mention" => Self::Mention, + "reply" => Self::Reply, + "quote" => Self::Quote, + "starterpack-joined" => Self::StarterpackJoined, + "verified" => Self::Verified, + "unverified" => Self::Unverified, + "like-via-repost" => Self::LikeViaRepost, + "repost-via-repost" => Self::RepostViaRepost, + "subscribed-post" => Self::SubscribedPost, + "contact-match" => Self::ContactMatch, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for NotificationReason<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for NotificationReason<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for NotificationReason<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for NotificationReason<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for NotificationReason<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for NotificationReason<'_> { + type Output = NotificationReason<'static>; + fn into_static(self) -> Self::Output { + match self { + NotificationReason::Like => NotificationReason::Like, + NotificationReason::Repost => NotificationReason::Repost, + NotificationReason::Follow => NotificationReason::Follow, + NotificationReason::Mention => NotificationReason::Mention, + NotificationReason::Reply => NotificationReason::Reply, + NotificationReason::Quote => NotificationReason::Quote, + NotificationReason::StarterpackJoined => { + NotificationReason::StarterpackJoined + } + NotificationReason::Verified => NotificationReason::Verified, + NotificationReason::Unverified => NotificationReason::Unverified, + NotificationReason::LikeViaRepost => NotificationReason::LikeViaRepost, + NotificationReason::RepostViaRepost => NotificationReason::RepostViaRepost, + NotificationReason::SubscribedPost => NotificationReason::SubscribedPost, + NotificationReason::ContactMatch => NotificationReason::ContactMatch, + NotificationReason::Other(v) => NotificationReason::Other(v.into_static()), + } + } +} + fn lexicon_doc_app_bsky_notification_listNotifications() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { diff --git a/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs b/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs index b0c858eb..7e167a99 100644 --- a/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs +++ b/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs @@ -33,37 +33,37 @@ pub mod put_activity_subscription_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ActivitySubscription; type Subject; + type ActivitySubscription; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ActivitySubscription = Unset; type Subject = Unset; - } - ///State transition - sets the `activity_subscription` field to Set - pub struct SetActivitySubscription(PhantomData S>); - impl sealed::Sealed for SetActivitySubscription {} - impl State for SetActivitySubscription { - type ActivitySubscription = Set; - type Subject = S::Subject; + type ActivitySubscription = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type ActivitySubscription = S::ActivitySubscription; type Subject = Set; + type ActivitySubscription = S::ActivitySubscription; + } + ///State transition - sets the `activity_subscription` field to Set + pub struct SetActivitySubscription(PhantomData S>); + impl sealed::Sealed for SetActivitySubscription {} + impl State for SetActivitySubscription { + type Subject = S::Subject; + type ActivitySubscription = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `activity_subscription` field - pub struct activity_subscription(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `activity_subscription` field + pub struct activity_subscription(()); } } @@ -148,8 +148,8 @@ where impl<'a, S> PutActivitySubscriptionBuilder<'a, S> where S: put_activity_subscription_state::State, - S::ActivitySubscription: put_activity_subscription_state::IsSet, S::Subject: put_activity_subscription_state::IsSet, + S::ActivitySubscription: put_activity_subscription_state::IsSet, { /// Build the final struct pub fn build(self) -> PutActivitySubscription<'a> { diff --git a/crates/jacquard-api/src/app_bsky/notification/register_push.rs b/crates/jacquard-api/src/app_bsky/notification/register_push.rs index e25f3762..5c4181ec 100644 --- a/crates/jacquard-api/src/app_bsky/notification/register_push.rs +++ b/crates/jacquard-api/src/app_bsky/notification/register_push.rs @@ -23,7 +23,7 @@ pub struct RegisterPush<'a> { #[serde(borrow)] pub app_id: jacquard_common::CowStr<'a>, #[serde(borrow)] - pub platform: jacquard_common::CowStr<'a>, + pub platform: RegisterPushPlatform<'a>, #[serde(borrow)] pub service_did: jacquard_common::types::string::Did<'a>, #[serde(borrow)] @@ -40,65 +40,65 @@ pub mod register_push_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Token; - type ServiceDid; type AppId; + type ServiceDid; + type Token; type Platform; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Token = Unset; - type ServiceDid = Unset; type AppId = Unset; + type ServiceDid = Unset; + type Token = Unset; type Platform = Unset; } - ///State transition - sets the `token` field to Set - pub struct SetToken(PhantomData S>); - impl sealed::Sealed for SetToken {} - impl State for SetToken { - type Token = Set; + ///State transition - sets the `app_id` field to Set + pub struct SetAppId(PhantomData S>); + impl sealed::Sealed for SetAppId {} + impl State for SetAppId { + type AppId = Set; type ServiceDid = S::ServiceDid; - type AppId = S::AppId; + type Token = S::Token; type Platform = S::Platform; } ///State transition - sets the `service_did` field to Set pub struct SetServiceDid(PhantomData S>); impl sealed::Sealed for SetServiceDid {} impl State for SetServiceDid { - type Token = S::Token; - type ServiceDid = Set; type AppId = S::AppId; + type ServiceDid = Set; + type Token = S::Token; type Platform = S::Platform; } - ///State transition - sets the `app_id` field to Set - pub struct SetAppId(PhantomData S>); - impl sealed::Sealed for SetAppId {} - impl State for SetAppId { - type Token = S::Token; + ///State transition - sets the `token` field to Set + pub struct SetToken(PhantomData S>); + impl sealed::Sealed for SetToken {} + impl State for SetToken { + type AppId = S::AppId; type ServiceDid = S::ServiceDid; - type AppId = Set; + type Token = Set; type Platform = S::Platform; } ///State transition - sets the `platform` field to Set pub struct SetPlatform(PhantomData S>); impl sealed::Sealed for SetPlatform {} impl State for SetPlatform { - type Token = S::Token; - type ServiceDid = S::ServiceDid; type AppId = S::AppId; + type ServiceDid = S::ServiceDid; + type Token = S::Token; type Platform = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `token` field - pub struct token(()); - ///Marker type for the `service_did` field - pub struct service_did(()); ///Marker type for the `app_id` field pub struct app_id(()); + ///Marker type for the `service_did` field + pub struct service_did(()); + ///Marker type for the `token` field + pub struct token(()); ///Marker type for the `platform` field pub struct platform(()); } @@ -110,7 +110,7 @@ pub struct RegisterPushBuilder<'a, S: register_push_state::State> { __unsafe_private_named: ( ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -175,7 +175,7 @@ where /// Set the `platform` field (required) pub fn platform( mut self, - value: impl Into>, + value: impl Into>, ) -> RegisterPushBuilder<'a, register_push_state::SetPlatform> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); RegisterPushBuilder { @@ -227,9 +227,9 @@ where impl<'a, S> RegisterPushBuilder<'a, S> where S: register_push_state::State, - S::Token: register_push_state::IsSet, - S::ServiceDid: register_push_state::IsSet, S::AppId: register_push_state::IsSet, + S::ServiceDid: register_push_state::IsSet, + S::Token: register_push_state::IsSet, S::Platform: register_push_state::IsSet, { /// Build the final struct @@ -262,6 +262,101 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RegisterPushPlatform<'a> { + Ios, + Android, + Web, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RegisterPushPlatform<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Ios => "ios", + Self::Android => "android", + Self::Web => "web", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RegisterPushPlatform<'a> { + fn from(s: &'a str) -> Self { + match s { + "ios" => Self::Ios, + "android" => Self::Android, + "web" => Self::Web, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RegisterPushPlatform<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "ios" => Self::Ios, + "android" => Self::Android, + "web" => Self::Web, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RegisterPushPlatform<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RegisterPushPlatform<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RegisterPushPlatform<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RegisterPushPlatform<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RegisterPushPlatform<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RegisterPushPlatform<'_> { + type Output = RegisterPushPlatform<'static>; + fn into_static(self) -> Self::Output { + match self { + RegisterPushPlatform::Ios => RegisterPushPlatform::Ios, + RegisterPushPlatform::Android => RegisterPushPlatform::Android, + RegisterPushPlatform::Web => RegisterPushPlatform::Web, + RegisterPushPlatform::Other(v) => { + RegisterPushPlatform::Other(v.into_static()) + } + } + } +} + /// Response type for ///app.bsky.notification.registerPush pub struct RegisterPushResponse; diff --git a/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs b/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs index 3f5650ad..2d62c416 100644 --- a/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs +++ b/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs @@ -20,7 +20,7 @@ pub struct UnregisterPush<'a> { #[serde(borrow)] pub app_id: jacquard_common::CowStr<'a>, #[serde(borrow)] - pub platform: jacquard_common::CowStr<'a>, + pub platform: UnregisterPushPlatform<'a>, #[serde(borrow)] pub service_did: jacquard_common::types::string::Did<'a>, #[serde(borrow)] @@ -37,65 +37,65 @@ pub mod unregister_push_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Platform; - type Token; type ServiceDid; + type Token; + type Platform; type AppId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Platform = Unset; - type Token = Unset; type ServiceDid = Unset; + type Token = Unset; + type Platform = Unset; type AppId = Unset; } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { - type Platform = Set; + ///State transition - sets the `service_did` field to Set + pub struct SetServiceDid(PhantomData S>); + impl sealed::Sealed for SetServiceDid {} + impl State for SetServiceDid { + type ServiceDid = Set; type Token = S::Token; - type ServiceDid = S::ServiceDid; + type Platform = S::Platform; type AppId = S::AppId; } ///State transition - sets the `token` field to Set pub struct SetToken(PhantomData S>); impl sealed::Sealed for SetToken {} impl State for SetToken { - type Platform = S::Platform; - type Token = Set; type ServiceDid = S::ServiceDid; + type Token = Set; + type Platform = S::Platform; type AppId = S::AppId; } - ///State transition - sets the `service_did` field to Set - pub struct SetServiceDid(PhantomData S>); - impl sealed::Sealed for SetServiceDid {} - impl State for SetServiceDid { - type Platform = S::Platform; + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type ServiceDid = S::ServiceDid; type Token = S::Token; - type ServiceDid = Set; + type Platform = Set; type AppId = S::AppId; } ///State transition - sets the `app_id` field to Set pub struct SetAppId(PhantomData S>); impl sealed::Sealed for SetAppId {} impl State for SetAppId { - type Platform = S::Platform; - type Token = S::Token; type ServiceDid = S::ServiceDid; + type Token = S::Token; + type Platform = S::Platform; type AppId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `platform` field - pub struct platform(()); - ///Marker type for the `token` field - pub struct token(()); ///Marker type for the `service_did` field pub struct service_did(()); + ///Marker type for the `token` field + pub struct token(()); + ///Marker type for the `platform` field + pub struct platform(()); ///Marker type for the `app_id` field pub struct app_id(()); } @@ -106,7 +106,7 @@ pub struct UnregisterPushBuilder<'a, S: unregister_push_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -158,7 +158,7 @@ where /// Set the `platform` field (required) pub fn platform( mut self, - value: impl Into>, + value: impl Into>, ) -> UnregisterPushBuilder<'a, unregister_push_state::SetPlatform> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); UnregisterPushBuilder { @@ -210,9 +210,9 @@ where impl<'a, S> UnregisterPushBuilder<'a, S> where S: unregister_push_state::State, - S::Platform: unregister_push_state::IsSet, - S::Token: unregister_push_state::IsSet, S::ServiceDid: unregister_push_state::IsSet, + S::Token: unregister_push_state::IsSet, + S::Platform: unregister_push_state::IsSet, S::AppId: unregister_push_state::IsSet, { /// Build the final struct @@ -243,6 +243,101 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UnregisterPushPlatform<'a> { + Ios, + Android, + Web, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UnregisterPushPlatform<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Ios => "ios", + Self::Android => "android", + Self::Web => "web", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UnregisterPushPlatform<'a> { + fn from(s: &'a str) -> Self { + match s { + "ios" => Self::Ios, + "android" => Self::Android, + "web" => Self::Web, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UnregisterPushPlatform<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "ios" => Self::Ios, + "android" => Self::Android, + "web" => Self::Web, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UnregisterPushPlatform<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UnregisterPushPlatform<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UnregisterPushPlatform<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UnregisterPushPlatform<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UnregisterPushPlatform<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UnregisterPushPlatform<'_> { + type Output = UnregisterPushPlatform<'static>; + fn into_static(self) -> Self::Output { + match self { + UnregisterPushPlatform::Ios => UnregisterPushPlatform::Ios, + UnregisterPushPlatform::Android => UnregisterPushPlatform::Android, + UnregisterPushPlatform::Web => UnregisterPushPlatform::Web, + UnregisterPushPlatform::Other(v) => { + UnregisterPushPlatform::Other(v.into_static()) + } + } + } +} + /// Response type for ///app.bsky.notification.unregisterPush pub struct UnregisterPushResponse; diff --git a/crates/jacquard-api/src/app_bsky/richtext/facet.rs b/crates/jacquard-api/src/app_bsky/richtext/facet.rs index a23e047f..d6fa85c2 100644 --- a/crates/jacquard-api/src/app_bsky/richtext/facet.rs +++ b/crates/jacquard-api/src/app_bsky/richtext/facet.rs @@ -32,37 +32,37 @@ pub mod byte_slice_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ByteStart; type ByteEnd; + type ByteStart; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ByteStart = Unset; type ByteEnd = Unset; - } - ///State transition - sets the `byte_start` field to Set - pub struct SetByteStart(PhantomData S>); - impl sealed::Sealed for SetByteStart {} - impl State for SetByteStart { - type ByteStart = Set; - type ByteEnd = S::ByteEnd; + type ByteStart = Unset; } ///State transition - sets the `byte_end` field to Set pub struct SetByteEnd(PhantomData S>); impl sealed::Sealed for SetByteEnd {} impl State for SetByteEnd { - type ByteStart = S::ByteStart; type ByteEnd = Set; + type ByteStart = S::ByteStart; + } + ///State transition - sets the `byte_start` field to Set + pub struct SetByteStart(PhantomData S>); + impl sealed::Sealed for SetByteStart {} + impl State for SetByteStart { + type ByteEnd = S::ByteEnd; + type ByteStart = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `byte_start` field - pub struct byte_start(()); ///Marker type for the `byte_end` field pub struct byte_end(()); + ///Marker type for the `byte_start` field + pub struct byte_start(()); } } @@ -132,8 +132,8 @@ where impl<'a, S> ByteSliceBuilder<'a, S> where S: byte_slice_state::State, - S::ByteStart: byte_slice_state::IsSet, S::ByteEnd: byte_slice_state::IsSet, + S::ByteStart: byte_slice_state::IsSet, { /// Build the final struct pub fn build(self) -> ByteSlice<'a> { @@ -581,37 +581,37 @@ pub mod facet_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Index; type Features; + type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Index = Unset; type Features = Unset; - } - ///State transition - sets the `index` field to Set - pub struct SetIndex(PhantomData S>); - impl sealed::Sealed for SetIndex {} - impl State for SetIndex { - type Index = Set; - type Features = S::Features; + type Index = Unset; } ///State transition - sets the `features` field to Set pub struct SetFeatures(PhantomData S>); impl sealed::Sealed for SetFeatures {} impl State for SetFeatures { - type Index = S::Index; type Features = Set; + type Index = S::Index; + } + ///State transition - sets the `index` field to Set + pub struct SetIndex(PhantomData S>); + impl sealed::Sealed for SetIndex {} + impl State for SetIndex { + type Features = S::Features; + type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `index` field - pub struct index(()); ///Marker type for the `features` field pub struct features(()); + ///Marker type for the `index` field + pub struct index(()); } } @@ -684,8 +684,8 @@ where impl<'a, S> FacetBuilder<'a, S> where S: facet_state::State, - S::Index: facet_state::IsSet, S::Features: facet_state::IsSet, + S::Index: facet_state::IsSet, { /// Build the final struct pub fn build(self) -> Facet<'a> { diff --git a/crates/jacquard-api/src/app_bsky/unspecced.rs b/crates/jacquard-api/src/app_bsky/unspecced.rs index 1669c2c4..3e9e50e3 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced.rs @@ -68,7 +68,7 @@ pub struct AgeAssuranceEvent<'a> { pub init_ua: std::option::Option>, /// The status of the age assurance process. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: AgeAssuranceEventStatus<'a>, } pub mod age_assurance_event_state { @@ -82,50 +82,50 @@ pub mod age_assurance_event_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Status; type AttemptId; + type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Status = Unset; type AttemptId = Unset; + type Status = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Status = S::Status; - type AttemptId = S::AttemptId; - } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type CreatedAt = S::CreatedAt; - type Status = Set; type AttemptId = S::AttemptId; + type Status = S::Status; } ///State transition - sets the `attempt_id` field to Set pub struct SetAttemptId(PhantomData S>); impl sealed::Sealed for SetAttemptId {} impl State for SetAttemptId { type CreatedAt = S::CreatedAt; - type Status = S::Status; type AttemptId = Set; + type Status = S::Status; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type CreatedAt = S::CreatedAt; + type AttemptId = S::AttemptId; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `attempt_id` field pub struct attempt_id(()); + ///Marker type for the `status` field + pub struct status(()); } } @@ -140,7 +140,7 @@ pub struct AgeAssuranceEventBuilder<'a, S: age_assurance_event_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -295,7 +295,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> AgeAssuranceEventBuilder<'a, age_assurance_event_state::SetStatus> { self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); AgeAssuranceEventBuilder { @@ -310,8 +310,8 @@ impl<'a, S> AgeAssuranceEventBuilder<'a, S> where S: age_assurance_event_state::State, S::CreatedAt: age_assurance_event_state::IsSet, - S::Status: age_assurance_event_state::IsSet, S::AttemptId: age_assurance_event_state::IsSet, + S::Status: age_assurance_event_state::IsSet, { /// Build the final struct pub fn build(self) -> AgeAssuranceEvent<'a> { @@ -349,6 +349,102 @@ where } } +/// The status of the age assurance process. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AgeAssuranceEventStatus<'a> { + Unknown, + Pending, + Assured, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AgeAssuranceEventStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Unknown => "unknown", + Self::Pending => "pending", + Self::Assured => "assured", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AgeAssuranceEventStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AgeAssuranceEventStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AgeAssuranceEventStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AgeAssuranceEventStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AgeAssuranceEventStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AgeAssuranceEventStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AgeAssuranceEventStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AgeAssuranceEventStatus<'_> { + type Output = AgeAssuranceEventStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AgeAssuranceEventStatus::Unknown => AgeAssuranceEventStatus::Unknown, + AgeAssuranceEventStatus::Pending => AgeAssuranceEventStatus::Pending, + AgeAssuranceEventStatus::Assured => AgeAssuranceEventStatus::Assured, + AgeAssuranceEventStatus::Other(v) => { + AgeAssuranceEventStatus::Other(v.into_static()) + } + } + } +} + fn lexicon_doc_app_bsky_unspecced_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { @@ -1258,7 +1354,108 @@ pub struct AgeAssuranceState<'a> { pub last_initiated_at: std::option::Option, /// The status of the age assurance process. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: AgeAssuranceStateStatus<'a>, +} + +/// The status of the age assurance process. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AgeAssuranceStateStatus<'a> { + Unknown, + Pending, + Assured, + Blocked, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AgeAssuranceStateStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Unknown => "unknown", + Self::Pending => "pending", + Self::Assured => "assured", + Self::Blocked => "blocked", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AgeAssuranceStateStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AgeAssuranceStateStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AgeAssuranceStateStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AgeAssuranceStateStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AgeAssuranceStateStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AgeAssuranceStateStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AgeAssuranceStateStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AgeAssuranceStateStatus<'_> { + type Output = AgeAssuranceStateStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AgeAssuranceStateStatus::Unknown => AgeAssuranceStateStatus::Unknown, + AgeAssuranceStateStatus::Pending => AgeAssuranceStateStatus::Pending, + AgeAssuranceStateStatus::Assured => AgeAssuranceStateStatus::Assured, + AgeAssuranceStateStatus::Blocked => AgeAssuranceStateStatus::Blocked, + AgeAssuranceStateStatus::Other(v) => { + AgeAssuranceStateStatus::Other(v.into_static()) + } + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AgeAssuranceState<'a> { @@ -1728,7 +1925,7 @@ pub struct SkeletonTrend<'a> { pub started_at: jacquard_common::types::string::Datetime, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, #[serde(borrow)] pub topic: jacquard_common::CowStr<'a>, } @@ -1743,105 +1940,105 @@ pub mod skeleton_trend_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type PostCount; - type Link; - type StartedAt; - type Dids; type Topic; type DisplayName; + type Dids; + type StartedAt; + type Link; + type PostCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type PostCount = Unset; - type Link = Unset; - type StartedAt = Unset; - type Dids = Unset; type Topic = Unset; type DisplayName = Unset; + type Dids = Unset; + type StartedAt = Unset; + type Link = Unset; + type PostCount = Unset; } - ///State transition - sets the `post_count` field to Set - pub struct SetPostCount(PhantomData S>); - impl sealed::Sealed for SetPostCount {} - impl State for SetPostCount { - type PostCount = Set; - type Link = S::Link; - type StartedAt = S::StartedAt; - type Dids = S::Dids; - type Topic = S::Topic; + ///State transition - sets the `topic` field to Set + pub struct SetTopic(PhantomData S>); + impl sealed::Sealed for SetTopic {} + impl State for SetTopic { + type Topic = Set; type DisplayName = S::DisplayName; - } - ///State transition - sets the `link` field to Set - pub struct SetLink(PhantomData S>); - impl sealed::Sealed for SetLink {} - impl State for SetLink { - type PostCount = S::PostCount; - type Link = Set; + type Dids = S::Dids; type StartedAt = S::StartedAt; + type Link = S::Link; + type PostCount = S::PostCount; + } + ///State transition - sets the `display_name` field to Set + pub struct SetDisplayName(PhantomData S>); + impl sealed::Sealed for SetDisplayName {} + impl State for SetDisplayName { + type Topic = S::Topic; + type DisplayName = Set; type Dids = S::Dids; + type StartedAt = S::StartedAt; + type Link = S::Link; + type PostCount = S::PostCount; + } + ///State transition - sets the `dids` field to Set + pub struct SetDids(PhantomData S>); + impl sealed::Sealed for SetDids {} + impl State for SetDids { type Topic = S::Topic; type DisplayName = S::DisplayName; + type Dids = Set; + type StartedAt = S::StartedAt; + type Link = S::Link; + type PostCount = S::PostCount; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { - type PostCount = S::PostCount; - type Link = S::Link; - type StartedAt = Set; - type Dids = S::Dids; type Topic = S::Topic; type DisplayName = S::DisplayName; - } - ///State transition - sets the `dids` field to Set - pub struct SetDids(PhantomData S>); - impl sealed::Sealed for SetDids {} - impl State for SetDids { - type PostCount = S::PostCount; + type Dids = S::Dids; + type StartedAt = Set; type Link = S::Link; - type StartedAt = S::StartedAt; - type Dids = Set; + type PostCount = S::PostCount; + } + ///State transition - sets the `link` field to Set + pub struct SetLink(PhantomData S>); + impl sealed::Sealed for SetLink {} + impl State for SetLink { type Topic = S::Topic; type DisplayName = S::DisplayName; - } - ///State transition - sets the `topic` field to Set - pub struct SetTopic(PhantomData S>); - impl sealed::Sealed for SetTopic {} - impl State for SetTopic { - type PostCount = S::PostCount; - type Link = S::Link; - type StartedAt = S::StartedAt; type Dids = S::Dids; - type Topic = Set; - type DisplayName = S::DisplayName; - } - ///State transition - sets the `display_name` field to Set - pub struct SetDisplayName(PhantomData S>); - impl sealed::Sealed for SetDisplayName {} - impl State for SetDisplayName { - type PostCount = S::PostCount; - type Link = S::Link; type StartedAt = S::StartedAt; - type Dids = S::Dids; + type Link = Set; + type PostCount = S::PostCount; + } + ///State transition - sets the `post_count` field to Set + pub struct SetPostCount(PhantomData S>); + impl sealed::Sealed for SetPostCount {} + impl State for SetPostCount { type Topic = S::Topic; - type DisplayName = Set; + type DisplayName = S::DisplayName; + type Dids = S::Dids; + type StartedAt = S::StartedAt; + type Link = S::Link; + type PostCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `post_count` field - pub struct post_count(()); - ///Marker type for the `link` field - pub struct link(()); - ///Marker type for the `started_at` field - pub struct started_at(()); - ///Marker type for the `dids` field - pub struct dids(()); ///Marker type for the `topic` field pub struct topic(()); ///Marker type for the `display_name` field pub struct display_name(()); + ///Marker type for the `dids` field + pub struct dids(()); + ///Marker type for the `started_at` field + pub struct started_at(()); + ///Marker type for the `link` field + pub struct link(()); + ///Marker type for the `post_count` field + pub struct post_count(()); } } @@ -1855,7 +2052,7 @@ pub struct SkeletonTrendBuilder<'a, S: skeleton_trend_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -1992,15 +2189,12 @@ where impl<'a, S: skeleton_trend_state::State> SkeletonTrendBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.6 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.6 = value; self } @@ -2028,12 +2222,12 @@ where impl<'a, S> SkeletonTrendBuilder<'a, S> where S: skeleton_trend_state::State, - S::PostCount: skeleton_trend_state::IsSet, - S::Link: skeleton_trend_state::IsSet, - S::StartedAt: skeleton_trend_state::IsSet, - S::Dids: skeleton_trend_state::IsSet, S::Topic: skeleton_trend_state::IsSet, S::DisplayName: skeleton_trend_state::IsSet, + S::Dids: skeleton_trend_state::IsSet, + S::StartedAt: skeleton_trend_state::IsSet, + S::Link: skeleton_trend_state::IsSet, + S::PostCount: skeleton_trend_state::IsSet, { /// Build the final struct pub fn build(self) -> SkeletonTrend<'a> { @@ -2071,6 +2265,89 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum SkeletonTrendStatus<'a> { + Hot, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> SkeletonTrendStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Hot => "hot", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for SkeletonTrendStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "hot" => Self::Hot, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for SkeletonTrendStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "hot" => Self::Hot, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for SkeletonTrendStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for SkeletonTrendStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for SkeletonTrendStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for SkeletonTrendStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for SkeletonTrendStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for SkeletonTrendStatus<'_> { + type Output = SkeletonTrendStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + SkeletonTrendStatus::Hot => SkeletonTrendStatus::Hot, + SkeletonTrendStatus::Other(v) => SkeletonTrendStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SkeletonTrend<'a> { fn nsid() -> &'static str { "app.bsky.unspecced.defs" @@ -2323,104 +2600,104 @@ pub mod thread_item_post_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Post; - type MoreParents; - type OpThread; type MoreReplies; type HiddenByThreadgate; type MutedByViewer; + type MoreParents; + type OpThread; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Post = Unset; - type MoreParents = Unset; - type OpThread = Unset; type MoreReplies = Unset; type HiddenByThreadgate = Unset; type MutedByViewer = Unset; + type MoreParents = Unset; + type OpThread = Unset; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { type Post = Set; - type MoreParents = S::MoreParents; - type OpThread = S::OpThread; - type MoreReplies = S::MoreReplies; - type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = S::MutedByViewer; - } - ///State transition - sets the `more_parents` field to Set - pub struct SetMoreParents(PhantomData S>); - impl sealed::Sealed for SetMoreParents {} - impl State for SetMoreParents { - type Post = S::Post; - type MoreParents = Set; - type OpThread = S::OpThread; type MoreReplies = S::MoreReplies; type HiddenByThreadgate = S::HiddenByThreadgate; type MutedByViewer = S::MutedByViewer; - } - ///State transition - sets the `op_thread` field to Set - pub struct SetOpThread(PhantomData S>); - impl sealed::Sealed for SetOpThread {} - impl State for SetOpThread { - type Post = S::Post; type MoreParents = S::MoreParents; - type OpThread = Set; - type MoreReplies = S::MoreReplies; - type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = S::MutedByViewer; + type OpThread = S::OpThread; } ///State transition - sets the `more_replies` field to Set pub struct SetMoreReplies(PhantomData S>); impl sealed::Sealed for SetMoreReplies {} impl State for SetMoreReplies { type Post = S::Post; - type MoreParents = S::MoreParents; - type OpThread = S::OpThread; type MoreReplies = Set; type HiddenByThreadgate = S::HiddenByThreadgate; type MutedByViewer = S::MutedByViewer; + type MoreParents = S::MoreParents; + type OpThread = S::OpThread; } ///State transition - sets the `hidden_by_threadgate` field to Set pub struct SetHiddenByThreadgate(PhantomData S>); impl sealed::Sealed for SetHiddenByThreadgate {} impl State for SetHiddenByThreadgate { type Post = S::Post; - type MoreParents = S::MoreParents; - type OpThread = S::OpThread; type MoreReplies = S::MoreReplies; type HiddenByThreadgate = Set; type MutedByViewer = S::MutedByViewer; + type MoreParents = S::MoreParents; + type OpThread = S::OpThread; } ///State transition - sets the `muted_by_viewer` field to Set pub struct SetMutedByViewer(PhantomData S>); impl sealed::Sealed for SetMutedByViewer {} impl State for SetMutedByViewer { type Post = S::Post; + type MoreReplies = S::MoreReplies; + type HiddenByThreadgate = S::HiddenByThreadgate; + type MutedByViewer = Set; type MoreParents = S::MoreParents; type OpThread = S::OpThread; + } + ///State transition - sets the `more_parents` field to Set + pub struct SetMoreParents(PhantomData S>); + impl sealed::Sealed for SetMoreParents {} + impl State for SetMoreParents { + type Post = S::Post; type MoreReplies = S::MoreReplies; type HiddenByThreadgate = S::HiddenByThreadgate; - type MutedByViewer = Set; + type MutedByViewer = S::MutedByViewer; + type MoreParents = Set; + type OpThread = S::OpThread; + } + ///State transition - sets the `op_thread` field to Set + pub struct SetOpThread(PhantomData S>); + impl sealed::Sealed for SetOpThread {} + impl State for SetOpThread { + type Post = S::Post; + type MoreReplies = S::MoreReplies; + type HiddenByThreadgate = S::HiddenByThreadgate; + type MutedByViewer = S::MutedByViewer; + type MoreParents = S::MoreParents; + type OpThread = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `post` field pub struct post(()); - ///Marker type for the `more_parents` field - pub struct more_parents(()); - ///Marker type for the `op_thread` field - pub struct op_thread(()); ///Marker type for the `more_replies` field pub struct more_replies(()); ///Marker type for the `hidden_by_threadgate` field pub struct hidden_by_threadgate(()); ///Marker type for the `muted_by_viewer` field pub struct muted_by_viewer(()); + ///Marker type for the `more_parents` field + pub struct more_parents(()); + ///Marker type for the `op_thread` field + pub struct op_thread(()); } } @@ -2574,11 +2851,11 @@ impl<'a, S> ThreadItemPostBuilder<'a, S> where S: thread_item_post_state::State, S::Post: thread_item_post_state::IsSet, - S::MoreParents: thread_item_post_state::IsSet, - S::OpThread: thread_item_post_state::IsSet, S::MoreReplies: thread_item_post_state::IsSet, S::HiddenByThreadgate: thread_item_post_state::IsSet, S::MutedByViewer: thread_item_post_state::IsSet, + S::MoreParents: thread_item_post_state::IsSet, + S::OpThread: thread_item_post_state::IsSet, { /// Build the final struct pub fn build(self) -> ThreadItemPost<'a> { @@ -2654,7 +2931,7 @@ pub struct TrendView<'a> { pub started_at: jacquard_common::types::string::Datetime, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, #[serde(borrow)] pub topic: jacquard_common::CowStr<'a>, } @@ -2669,105 +2946,105 @@ pub mod trend_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type StartedAt; + type Topic; type PostCount; + type DisplayName; type Actors; - type Topic; type Link; - type DisplayName; - type StartedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type StartedAt = Unset; + type Topic = Unset; type PostCount = Unset; + type DisplayName = Unset; type Actors = Unset; - type Topic = Unset; type Link = Unset; - type DisplayName = Unset; - type StartedAt = Unset; } - ///State transition - sets the `post_count` field to Set - pub struct SetPostCount(PhantomData S>); - impl sealed::Sealed for SetPostCount {} - impl State for SetPostCount { - type PostCount = Set; - type Actors = S::Actors; + ///State transition - sets the `started_at` field to Set + pub struct SetStartedAt(PhantomData S>); + impl sealed::Sealed for SetStartedAt {} + impl State for SetStartedAt { + type StartedAt = Set; type Topic = S::Topic; - type Link = S::Link; - type DisplayName = S::DisplayName; - type StartedAt = S::StartedAt; - } - ///State transition - sets the `actors` field to Set - pub struct SetActors(PhantomData S>); - impl sealed::Sealed for SetActors {} - impl State for SetActors { type PostCount = S::PostCount; - type Actors = Set; - type Topic = S::Topic; - type Link = S::Link; type DisplayName = S::DisplayName; - type StartedAt = S::StartedAt; + type Actors = S::Actors; + type Link = S::Link; } ///State transition - sets the `topic` field to Set pub struct SetTopic(PhantomData S>); impl sealed::Sealed for SetTopic {} impl State for SetTopic { + type StartedAt = S::StartedAt; + type Topic = Set; type PostCount = S::PostCount; + type DisplayName = S::DisplayName; type Actors = S::Actors; - type Topic = Set; type Link = S::Link; - type DisplayName = S::DisplayName; - type StartedAt = S::StartedAt; } - ///State transition - sets the `link` field to Set - pub struct SetLink(PhantomData S>); - impl sealed::Sealed for SetLink {} - impl State for SetLink { - type PostCount = S::PostCount; - type Actors = S::Actors; + ///State transition - sets the `post_count` field to Set + pub struct SetPostCount(PhantomData S>); + impl sealed::Sealed for SetPostCount {} + impl State for SetPostCount { + type StartedAt = S::StartedAt; type Topic = S::Topic; - type Link = Set; + type PostCount = Set; type DisplayName = S::DisplayName; - type StartedAt = S::StartedAt; + type Actors = S::Actors; + type Link = S::Link; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { + type StartedAt = S::StartedAt; + type Topic = S::Topic; type PostCount = S::PostCount; + type DisplayName = Set; type Actors = S::Actors; - type Topic = S::Topic; type Link = S::Link; - type DisplayName = Set; - type StartedAt = S::StartedAt; } - ///State transition - sets the `started_at` field to Set - pub struct SetStartedAt(PhantomData S>); - impl sealed::Sealed for SetStartedAt {} - impl State for SetStartedAt { - type PostCount = S::PostCount; - type Actors = S::Actors; + ///State transition - sets the `actors` field to Set + pub struct SetActors(PhantomData S>); + impl sealed::Sealed for SetActors {} + impl State for SetActors { + type StartedAt = S::StartedAt; type Topic = S::Topic; + type PostCount = S::PostCount; + type DisplayName = S::DisplayName; + type Actors = Set; type Link = S::Link; + } + ///State transition - sets the `link` field to Set + pub struct SetLink(PhantomData S>); + impl sealed::Sealed for SetLink {} + impl State for SetLink { + type StartedAt = S::StartedAt; + type Topic = S::Topic; + type PostCount = S::PostCount; type DisplayName = S::DisplayName; - type StartedAt = Set; + type Actors = S::Actors; + type Link = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `started_at` field + pub struct started_at(()); + ///Marker type for the `topic` field + pub struct topic(()); ///Marker type for the `post_count` field pub struct post_count(()); + ///Marker type for the `display_name` field + pub struct display_name(()); ///Marker type for the `actors` field pub struct actors(()); - ///Marker type for the `topic` field - pub struct topic(()); ///Marker type for the `link` field pub struct link(()); - ///Marker type for the `display_name` field - pub struct display_name(()); - ///Marker type for the `started_at` field - pub struct started_at(()); } } @@ -2781,7 +3058,7 @@ pub struct TrendViewBuilder<'a, S: trend_view_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -2918,15 +3195,12 @@ where impl<'a, S: trend_view_state::State> TrendViewBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.6 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.6 = value; self } @@ -2954,12 +3228,12 @@ where impl<'a, S> TrendViewBuilder<'a, S> where S: trend_view_state::State, + S::StartedAt: trend_view_state::IsSet, + S::Topic: trend_view_state::IsSet, S::PostCount: trend_view_state::IsSet, + S::DisplayName: trend_view_state::IsSet, S::Actors: trend_view_state::IsSet, - S::Topic: trend_view_state::IsSet, S::Link: trend_view_state::IsSet, - S::DisplayName: trend_view_state::IsSet, - S::StartedAt: trend_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TrendView<'a> { @@ -2997,6 +3271,89 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum TrendViewStatus<'a> { + Hot, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> TrendViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Hot => "hot", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for TrendViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "hot" => Self::Hot, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for TrendViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "hot" => Self::Hot, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for TrendViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for TrendViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for TrendViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for TrendViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for TrendViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for TrendViewStatus<'_> { + type Output = TrendViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + TrendViewStatus::Hot => TrendViewStatus::Hot, + TrendViewStatus::Other(v) => TrendViewStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TrendView<'a> { fn nsid() -> &'static str { "app.bsky.unspecced.defs" diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs index 23c12663..e5863be6 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs @@ -190,50 +190,50 @@ pub mod thread_item_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Depth; - type Value; type Uri; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Depth = Unset; - type Value = Unset; type Uri = Unset; + type Value = Unset; } ///State transition - sets the `depth` field to Set pub struct SetDepth(PhantomData S>); impl sealed::Sealed for SetDepth {} impl State for SetDepth { type Depth = Set; - type Value = S::Value; - type Uri = S::Uri; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Depth = S::Depth; - type Value = Set; type Uri = S::Uri; + type Value = S::Value; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Depth = S::Depth; - type Value = S::Value; type Uri = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Depth = S::Depth; + type Uri = S::Uri; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `depth` field pub struct depth(()); - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -327,8 +327,8 @@ impl<'a, S> ThreadItemBuilder<'a, S> where S: thread_item_state::State, S::Depth: thread_item_state::IsSet, - S::Value: thread_item_state::IsSet, S::Uri: thread_item_state::IsSet, + S::Value: thread_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ThreadItem<'a> { diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs index 4a442fc4..3092de28 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs @@ -75,7 +75,7 @@ pub struct Suggestion<'a> { #[serde(borrow)] pub subject: jacquard_common::types::string::Uri<'a>, #[serde(borrow)] - pub subject_type: jacquard_common::CowStr<'a>, + pub subject_type: SuggestionSubjectType<'a>, #[serde(borrow)] pub tag: jacquard_common::CowStr<'a>, } @@ -91,50 +91,50 @@ pub mod suggestion_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type SubjectType; - type Subject; type Tag; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type SubjectType = Unset; - type Subject = Unset; type Tag = Unset; + type Subject = Unset; } ///State transition - sets the `subject_type` field to Set pub struct SetSubjectType(PhantomData S>); impl sealed::Sealed for SetSubjectType {} impl State for SetSubjectType { type SubjectType = Set; - type Subject = S::Subject; - type Tag = S::Tag; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type SubjectType = S::SubjectType; - type Subject = Set; type Tag = S::Tag; + type Subject = S::Subject; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { type SubjectType = S::SubjectType; - type Subject = S::Subject; type Tag = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type SubjectType = S::SubjectType; + type Tag = S::Tag; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `subject_type` field pub struct subject_type(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `tag` field pub struct tag(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -143,7 +143,7 @@ pub struct SuggestionBuilder<'a, S: suggestion_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -194,7 +194,7 @@ where /// Set the `subjectType` field (required) pub fn subject_type( mut self, - value: impl Into>, + value: impl Into>, ) -> SuggestionBuilder<'a, suggestion_state::SetSubjectType> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); SuggestionBuilder { @@ -228,8 +228,8 @@ impl<'a, S> SuggestionBuilder<'a, S> where S: suggestion_state::State, S::SubjectType: suggestion_state::IsSet, - S::Subject: suggestion_state::IsSet, S::Tag: suggestion_state::IsSet, + S::Subject: suggestion_state::IsSet, { /// Build the final struct pub fn build(self) -> Suggestion<'a> { @@ -257,6 +257,96 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum SuggestionSubjectType<'a> { + Actor, + Feed, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> SuggestionSubjectType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Actor => "actor", + Self::Feed => "feed", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for SuggestionSubjectType<'a> { + fn from(s: &'a str) -> Self { + match s { + "actor" => Self::Actor, + "feed" => Self::Feed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for SuggestionSubjectType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "actor" => Self::Actor, + "feed" => Self::Feed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for SuggestionSubjectType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for SuggestionSubjectType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for SuggestionSubjectType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for SuggestionSubjectType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for SuggestionSubjectType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for SuggestionSubjectType<'_> { + type Output = SuggestionSubjectType<'static>; + fn into_static(self) -> Self::Output { + match self { + SuggestionSubjectType::Actor => SuggestionSubjectType::Actor, + SuggestionSubjectType::Feed => SuggestionSubjectType::Feed, + SuggestionSubjectType::Other(v) => { + SuggestionSubjectType::Other(v.into_static()) + } + } + } +} + fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { diff --git a/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs b/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs index 074d2dd8..58670e45 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs @@ -69,8 +69,8 @@ pub enum InitAgeAssuranceError<'a> { InvalidInitiation(std::option::Option>), } -impl std::fmt::Display for InitAgeAssuranceError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for InitAgeAssuranceError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidEmail(msg) => { write!(f, "InvalidEmail")?; diff --git a/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs index d2fadf89..4e794b54 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs @@ -235,8 +235,8 @@ pub enum SearchActorsSkeletonError<'a> { BadQueryString(std::option::Option>), } -impl std::fmt::Display for SearchActorsSkeletonError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SearchActorsSkeletonError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BadQueryString(msg) => { write!(f, "BadQueryString")?; diff --git a/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs index e873d026..64dbf448 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs @@ -430,8 +430,8 @@ pub enum SearchPostsSkeletonError<'a> { BadQueryString(std::option::Option>), } -impl std::fmt::Display for SearchPostsSkeletonError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SearchPostsSkeletonError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BadQueryString(msg) => { write!(f, "BadQueryString")?; diff --git a/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs index b7479b65..aec865ab 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs @@ -235,8 +235,8 @@ pub enum SearchStarterPacksSkeletonError<'a> { BadQueryString(std::option::Option>), } -impl std::fmt::Display for SearchStarterPacksSkeletonError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SearchStarterPacksSkeletonError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BadQueryString(msg) => { write!(f, "BadQueryString")?; diff --git a/crates/jacquard-api/src/app_bsky/video.rs b/crates/jacquard-api/src/app_bsky/video.rs index 0d665136..6fe37df9 100644 --- a/crates/jacquard-api/src/app_bsky/video.rs +++ b/crates/jacquard-api/src/app_bsky/video.rs @@ -39,7 +39,7 @@ pub struct JobStatus<'a> { pub progress: std::option::Option, /// The state of the video processing job. All values not listed as a known value indicate that the job is in process. #[serde(borrow)] - pub state: jacquard_common::CowStr<'a>, + pub state: JobStatusState<'a>, } pub mod job_status_state { @@ -52,51 +52,51 @@ pub mod job_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type JobId; type State; type Did; + type JobId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type JobId = Unset; type State = Unset; type Did = Unset; - } - ///State transition - sets the `job_id` field to Set - pub struct SetJobId(PhantomData S>); - impl sealed::Sealed for SetJobId {} - impl State for SetJobId { - type JobId = Set; - type State = S::State; - type Did = S::Did; + type JobId = Unset; } ///State transition - sets the `state` field to Set pub struct SetState(PhantomData S>); impl sealed::Sealed for SetState {} impl State for SetState { - type JobId = S::JobId; type State = Set; type Did = S::Did; + type JobId = S::JobId; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type JobId = S::JobId; type State = S::State; type Did = Set; + type JobId = S::JobId; + } + ///State transition - sets the `job_id` field to Set + pub struct SetJobId(PhantomData S>); + impl sealed::Sealed for SetJobId {} + impl State for SetJobId { + type State = S::State; + type Did = S::Did; + type JobId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `job_id` field - pub struct job_id(()); ///Marker type for the `state` field pub struct state(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `job_id` field + pub struct job_id(()); } } @@ -110,7 +110,7 @@ pub struct JobStatusBuilder<'a, S: job_status_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -243,7 +243,7 @@ where /// Set the `state` field (required) pub fn state( mut self, - value: impl Into>, + value: impl Into>, ) -> JobStatusBuilder<'a, job_status_state::SetState> { self.__unsafe_private_named.6 = ::core::option::Option::Some(value.into()); JobStatusBuilder { @@ -257,9 +257,9 @@ where impl<'a, S> JobStatusBuilder<'a, S> where S: job_status_state::State, - S::JobId: job_status_state::IsSet, S::State: job_status_state::IsSet, S::Did: job_status_state::IsSet, + S::JobId: job_status_state::IsSet, { /// Build the final struct pub fn build(self) -> JobStatus<'a> { @@ -295,6 +295,95 @@ where } } +/// The state of the video processing job. All values not listed as a known value indicate that the job is in process. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum JobStatusState<'a> { + JobStateCompleted, + JobStateFailed, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> JobStatusState<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::JobStateCompleted => "JOB_STATE_COMPLETED", + Self::JobStateFailed => "JOB_STATE_FAILED", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for JobStatusState<'a> { + fn from(s: &'a str) -> Self { + match s { + "JOB_STATE_COMPLETED" => Self::JobStateCompleted, + "JOB_STATE_FAILED" => Self::JobStateFailed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for JobStatusState<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "JOB_STATE_COMPLETED" => Self::JobStateCompleted, + "JOB_STATE_FAILED" => Self::JobStateFailed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for JobStatusState<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for JobStatusState<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for JobStatusState<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for JobStatusState<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for JobStatusState<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for JobStatusState<'_> { + type Output = JobStatusState<'static>; + fn into_static(self) -> Self::Output { + match self { + JobStatusState::JobStateCompleted => JobStatusState::JobStateCompleted, + JobStatusState::JobStateFailed => JobStatusState::JobStateFailed, + JobStatusState::Other(v) => JobStatusState::Other(v.into_static()), + } + } +} + fn lexicon_doc_app_bsky_video_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { diff --git a/crates/jacquard-api/src/app_dropanchor/checkin.rs b/crates/jacquard-api/src/app_dropanchor/checkin.rs index 07b9ed99..68ab4718 100644 --- a/crates/jacquard-api/src/app_dropanchor/checkin.rs +++ b/crates/jacquard-api/src/app_dropanchor/checkin.rs @@ -1172,67 +1172,67 @@ pub mod checkin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Address; - type Geo; type Text; - type CreatedAt; + type Geo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Address = Unset; - type Geo = Unset; type Text = Unset; - type CreatedAt = Unset; + type Geo = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Address = S::Address; + type Text = S::Text; + type Geo = S::Geo; } ///State transition - sets the `address` field to Set pub struct SetAddress(PhantomData S>); impl sealed::Sealed for SetAddress {} impl State for SetAddress { - type Address = Set; - type Geo = S::Geo; - type Text = S::Text; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `geo` field to Set - pub struct SetGeo(PhantomData S>); - impl sealed::Sealed for SetGeo {} - impl State for SetGeo { - type Address = S::Address; - type Geo = Set; + type Address = Set; type Text = S::Text; - type CreatedAt = S::CreatedAt; + type Geo = S::Geo; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { + type CreatedAt = S::CreatedAt; type Address = S::Address; - type Geo = S::Geo; type Text = Set; - type CreatedAt = S::CreatedAt; + type Geo = S::Geo; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `geo` field to Set + pub struct SetGeo(PhantomData S>); + impl sealed::Sealed for SetGeo {} + impl State for SetGeo { + type CreatedAt = S::CreatedAt; type Address = S::Address; - type Geo = S::Geo; type Text = S::Text; - type CreatedAt = Set; + type Geo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `address` field pub struct address(()); - ///Marker type for the `geo` field - pub struct geo(()); ///Marker type for the `text` field pub struct text(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `geo` field + pub struct geo(()); } } @@ -1452,10 +1452,10 @@ where impl<'a, S> CheckinBuilder<'a, S> where S: checkin_state::State, + S::CreatedAt: checkin_state::IsSet, S::Address: checkin_state::IsSet, - S::Geo: checkin_state::IsSet, S::Text: checkin_state::IsSet, - S::CreatedAt: checkin_state::IsSet, + S::Geo: checkin_state::IsSet, { /// Build the final struct pub fn build(self) -> Checkin<'a> { diff --git a/crates/jacquard-api/src/app_dropanchor/comment.rs b/crates/jacquard-api/src/app_dropanchor/comment.rs index 59c1ad11..37624639 100644 --- a/crates/jacquard-api/src/app_dropanchor/comment.rs +++ b/crates/jacquard-api/src/app_dropanchor/comment.rs @@ -38,51 +38,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CheckinRef; type CreatedAt; type Text; - type CheckinRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CheckinRef = Unset; type CreatedAt = Unset; type Text = Unset; - type CheckinRef = Unset; + } + ///State transition - sets the `checkin_ref` field to Set + pub struct SetCheckinRef(PhantomData S>); + impl sealed::Sealed for SetCheckinRef {} + impl State for SetCheckinRef { + type CheckinRef = Set; + type CreatedAt = S::CreatedAt; + type Text = S::Text; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type CheckinRef = S::CheckinRef; type CreatedAt = Set; type Text = S::Text; - type CheckinRef = S::CheckinRef; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type CreatedAt = S::CreatedAt; - type Text = Set; type CheckinRef = S::CheckinRef; - } - ///State transition - sets the `checkin_ref` field to Set - pub struct SetCheckinRef(PhantomData S>); - impl sealed::Sealed for SetCheckinRef {} - impl State for SetCheckinRef { type CreatedAt = S::CreatedAt; - type Text = S::Text; - type CheckinRef = Set; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `checkin_ref` field + pub struct checkin_ref(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `text` field pub struct text(()); - ///Marker type for the `checkin_ref` field - pub struct checkin_ref(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, + S::CheckinRef: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, S::Text: comment_state::IsSet, - S::CheckinRef: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/app_dropanchor/like.rs b/crates/jacquard-api/src/app_dropanchor/like.rs index 0d4b3bf5..a21e003f 100644 --- a/crates/jacquard-api/src/app_dropanchor/like.rs +++ b/crates/jacquard-api/src/app_dropanchor/like.rs @@ -35,37 +35,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type CheckinRef; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type CheckinRef = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type CheckinRef = S::CheckinRef; + type CreatedAt = Unset; } ///State transition - sets the `checkin_ref` field to Set pub struct SetCheckinRef(PhantomData S>); impl sealed::Sealed for SetCheckinRef {} impl State for SetCheckinRef { - type CreatedAt = S::CreatedAt; type CheckinRef = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CheckinRef = S::CheckinRef; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `checkin_ref` field pub struct checkin_ref(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::CreatedAt: like_state::IsSet, S::CheckinRef: like_state::IsSet, + S::CreatedAt: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { @@ -411,37 +411,37 @@ pub mod strong_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -514,8 +514,8 @@ where impl<'a, S> StrongRefBuilder<'a, S> where S: strong_ref_state::State, - S::Uri: strong_ref_state::IsSet, S::Cid: strong_ref_state::IsSet, + S::Uri: strong_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> StrongRef<'a> { diff --git a/crates/jacquard-api/src/app_ocho/auth.rs b/crates/jacquard-api/src/app_ocho/auth.rs index 475b0892..01826f95 100644 --- a/crates/jacquard-api/src/app_ocho/auth.rs +++ b/crates/jacquard-api/src/app_ocho/auth.rs @@ -46,67 +46,67 @@ pub mod auth_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AccessJwt; - type Did; type Handle; + type Did; type RefreshJwt; + type AccessJwt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AccessJwt = Unset; - type Did = Unset; type Handle = Unset; + type Did = Unset; type RefreshJwt = Unset; + type AccessJwt = Unset; } - ///State transition - sets the `access_jwt` field to Set - pub struct SetAccessJwt(PhantomData S>); - impl sealed::Sealed for SetAccessJwt {} - impl State for SetAccessJwt { - type AccessJwt = Set; + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Handle = Set; type Did = S::Did; - type Handle = S::Handle; type RefreshJwt = S::RefreshJwt; + type AccessJwt = S::AccessJwt; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type AccessJwt = S::AccessJwt; - type Did = Set; type Handle = S::Handle; + type Did = Set; type RefreshJwt = S::RefreshJwt; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { type AccessJwt = S::AccessJwt; - type Did = S::Did; - type Handle = Set; - type RefreshJwt = S::RefreshJwt; } ///State transition - sets the `refresh_jwt` field to Set pub struct SetRefreshJwt(PhantomData S>); impl sealed::Sealed for SetRefreshJwt {} impl State for SetRefreshJwt { - type AccessJwt = S::AccessJwt; - type Did = S::Did; type Handle = S::Handle; + type Did = S::Did; type RefreshJwt = Set; + type AccessJwt = S::AccessJwt; + } + ///State transition - sets the `access_jwt` field to Set + pub struct SetAccessJwt(PhantomData S>); + impl sealed::Sealed for SetAccessJwt {} + impl State for SetAccessJwt { + type Handle = S::Handle; + type Did = S::Did; + type RefreshJwt = S::RefreshJwt; + type AccessJwt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `access_jwt` field - pub struct access_jwt(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `refresh_jwt` field pub struct refresh_jwt(()); + ///Marker type for the `access_jwt` field + pub struct access_jwt(()); } } @@ -219,10 +219,10 @@ where impl<'a, S> AuthCallbackBuilder<'a, S> where S: auth_callback_state::State, - S::AccessJwt: auth_callback_state::IsSet, - S::Did: auth_callback_state::IsSet, S::Handle: auth_callback_state::IsSet, + S::Did: auth_callback_state::IsSet, S::RefreshJwt: auth_callback_state::IsSet, + S::AccessJwt: auth_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> AuthCallback<'a> { diff --git a/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs b/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs index e8392d01..9766e10c 100644 --- a/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs +++ b/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs @@ -34,51 +34,51 @@ pub mod at_proto_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type State; type Iss; type Code; + type State; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type State = Unset; type Iss = Unset; type Code = Unset; - } - ///State transition - sets the `state` field to Set - pub struct SetState(PhantomData S>); - impl sealed::Sealed for SetState {} - impl State for SetState { - type State = Set; - type Iss = S::Iss; - type Code = S::Code; + type State = Unset; } ///State transition - sets the `iss` field to Set pub struct SetIss(PhantomData S>); impl sealed::Sealed for SetIss {} impl State for SetIss { - type State = S::State; type Iss = Set; type Code = S::Code; + type State = S::State; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type State = S::State; type Iss = S::Iss; type Code = Set; + type State = S::State; + } + ///State transition - sets the `state` field to Set + pub struct SetState(PhantomData S>); + impl sealed::Sealed for SetState {} + impl State for SetState { + type Iss = S::Iss; + type Code = S::Code; + type State = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `state` field - pub struct state(()); ///Marker type for the `iss` field pub struct iss(()); ///Marker type for the `code` field pub struct code(()); + ///Marker type for the `state` field + pub struct state(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> AtProtoCallbackBuilder<'a, S> where S: at_proto_callback_state::State, - S::State: at_proto_callback_state::IsSet, S::Iss: at_proto_callback_state::IsSet, S::Code: at_proto_callback_state::IsSet, + S::State: at_proto_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> AtProtoCallback<'a> { diff --git a/crates/jacquard-api/src/app_ocho/auth/authorize.rs b/crates/jacquard-api/src/app_ocho/auth/authorize.rs index d9af17cd..0126b322 100644 --- a/crates/jacquard-api/src/app_ocho/auth/authorize.rs +++ b/crates/jacquard-api/src/app_ocho/auth/authorize.rs @@ -33,37 +33,37 @@ pub mod authorize_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Input; type AuthorizeOptions; + type Input; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Input = Unset; type AuthorizeOptions = Unset; - } - ///State transition - sets the `input` field to Set - pub struct SetInput(PhantomData S>); - impl sealed::Sealed for SetInput {} - impl State for SetInput { - type Input = Set; - type AuthorizeOptions = S::AuthorizeOptions; + type Input = Unset; } ///State transition - sets the `authorize_options` field to Set pub struct SetAuthorizeOptions(PhantomData S>); impl sealed::Sealed for SetAuthorizeOptions {} impl State for SetAuthorizeOptions { - type Input = S::Input; type AuthorizeOptions = Set; + type Input = S::Input; + } + ///State transition - sets the `input` field to Set + pub struct SetInput(PhantomData S>); + impl sealed::Sealed for SetInput {} + impl State for SetInput { + type AuthorizeOptions = S::AuthorizeOptions; + type Input = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `input` field - pub struct input(()); ///Marker type for the `authorize_options` field pub struct authorize_options(()); + ///Marker type for the `input` field + pub struct input(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> AuthorizeBuilder<'a, S> where S: authorize_state::State, - S::Input: authorize_state::IsSet, S::AuthorizeOptions: authorize_state::IsSet, + S::Input: authorize_state::IsSet, { /// Build the final struct pub fn build(self) -> Authorize<'a> { diff --git a/crates/jacquard-api/src/app_ocho/auth/google_callback.rs b/crates/jacquard-api/src/app_ocho/auth/google_callback.rs index 91fcd464..fa7165b7 100644 --- a/crates/jacquard-api/src/app_ocho/auth/google_callback.rs +++ b/crates/jacquard-api/src/app_ocho/auth/google_callback.rs @@ -32,37 +32,37 @@ pub mod google_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Code; type State; + type Code; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Code = Unset; type State = Unset; - } - ///State transition - sets the `code` field to Set - pub struct SetCode(PhantomData S>); - impl sealed::Sealed for SetCode {} - impl State for SetCode { - type Code = Set; - type State = S::State; + type Code = Unset; } ///State transition - sets the `state` field to Set pub struct SetState(PhantomData S>); impl sealed::Sealed for SetState {} impl State for SetState { - type Code = S::Code; type State = Set; + type Code = S::Code; + } + ///State transition - sets the `code` field to Set + pub struct SetCode(PhantomData S>); + impl sealed::Sealed for SetCode {} + impl State for SetCode { + type State = S::State; + type Code = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `code` field - pub struct code(()); ///Marker type for the `state` field pub struct state(()); + ///Marker type for the `code` field + pub struct code(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GoogleCallbackBuilder<'a, S> where S: google_callback_state::State, - S::Code: google_callback_state::IsSet, S::State: google_callback_state::IsSet, + S::Code: google_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> GoogleCallback<'a> { diff --git a/crates/jacquard-api/src/app_ocho/auth/update_email.rs b/crates/jacquard-api/src/app_ocho/auth/update_email.rs index 9750ddf9..4f562579 100644 --- a/crates/jacquard-api/src/app_ocho/auth/update_email.rs +++ b/crates/jacquard-api/src/app_ocho/auth/update_email.rs @@ -51,8 +51,8 @@ pub enum UpdateEmailError<'a> { TokenRequired(std::option::Option>), } -impl std::fmt::Display for UpdateEmailError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for UpdateEmailError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ExpiredToken(msg) => { write!(f, "ExpiredToken")?; diff --git a/crates/jacquard-api/src/app_ocho/edu/google_callback.rs b/crates/jacquard-api/src/app_ocho/edu/google_callback.rs index 0bb8d022..e53283f9 100644 --- a/crates/jacquard-api/src/app_ocho/edu/google_callback.rs +++ b/crates/jacquard-api/src/app_ocho/edu/google_callback.rs @@ -32,37 +32,37 @@ pub mod google_callback_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type State; type Code; + type State; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type State = Unset; type Code = Unset; - } - ///State transition - sets the `state` field to Set - pub struct SetState(PhantomData S>); - impl sealed::Sealed for SetState {} - impl State for SetState { - type State = Set; - type Code = S::Code; + type State = Unset; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type State = S::State; type Code = Set; + type State = S::State; + } + ///State transition - sets the `state` field to Set + pub struct SetState(PhantomData S>); + impl sealed::Sealed for SetState {} + impl State for SetState { + type Code = S::Code; + type State = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `state` field - pub struct state(()); ///Marker type for the `code` field pub struct code(()); + ///Marker type for the `state` field + pub struct state(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GoogleCallbackBuilder<'a, S> where S: google_callback_state::State, - S::State: google_callback_state::IsSet, S::Code: google_callback_state::IsSet, + S::State: google_callback_state::IsSet, { /// Build the final struct pub fn build(self) -> GoogleCallback<'a> { diff --git a/crates/jacquard-api/src/app_ocho/edu/verification.rs b/crates/jacquard-api/src/app_ocho/edu/verification.rs index 502d38cc..fd920f66 100644 --- a/crates/jacquard-api/src/app_ocho/edu/verification.rs +++ b/crates/jacquard-api/src/app_ocho/edu/verification.rs @@ -38,49 +38,49 @@ pub mod verification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Domain; type Subject; + type Domain; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Domain = Unset; type Subject = Unset; + type Domain = Unset; type CreatedAt = Unset; } - ///State transition - sets the `domain` field to Set - pub struct SetDomain(PhantomData S>); - impl sealed::Sealed for SetDomain {} - impl State for SetDomain { - type Domain = Set; - type Subject = S::Subject; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Domain = S::Domain; type Subject = Set; + type Domain = S::Domain; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `domain` field to Set + pub struct SetDomain(PhantomData S>); + impl sealed::Sealed for SetDomain {} + impl State for SetDomain { + type Subject = S::Subject; + type Domain = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Domain = S::Domain; type Subject = S::Subject; + type Domain = S::Domain; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `domain` field - pub struct domain(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `domain` field + pub struct domain(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -175,8 +175,8 @@ where impl<'a, S> VerificationBuilder<'a, S> where S: verification_state::State, - S::Domain: verification_state::IsSet, S::Subject: verification_state::IsSet, + S::Domain: verification_state::IsSet, S::CreatedAt: verification_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/app_ocho/plugin.rs b/crates/jacquard-api/src/app_ocho/plugin.rs index 7884109d..64ec787f 100644 --- a/crates/jacquard-api/src/app_ocho/plugin.rs +++ b/crates/jacquard-api/src/app_ocho/plugin.rs @@ -1140,51 +1140,51 @@ pub mod asset_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Blob; type Type; type Hash; - type Blob; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Blob = Unset; type Type = Unset; type Hash = Unset; - type Blob = Unset; + } + ///State transition - sets the `blob` field to Set + pub struct SetBlob(PhantomData S>); + impl sealed::Sealed for SetBlob {} + impl State for SetBlob { + type Blob = Set; + type Type = S::Type; + type Hash = S::Hash; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { + type Blob = S::Blob; type Type = Set; type Hash = S::Hash; - type Blob = S::Blob; } ///State transition - sets the `hash` field to Set pub struct SetHash(PhantomData S>); impl sealed::Sealed for SetHash {} impl State for SetHash { - type Type = S::Type; - type Hash = Set; type Blob = S::Blob; - } - ///State transition - sets the `blob` field to Set - pub struct SetBlob(PhantomData S>); - impl sealed::Sealed for SetBlob {} - impl State for SetBlob { type Type = S::Type; - type Hash = S::Hash; - type Blob = Set; + type Hash = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `blob` field + pub struct blob(()); ///Marker type for the `type` field pub struct r#type(()); ///Marker type for the `hash` field pub struct hash(()); - ///Marker type for the `blob` field - pub struct blob(()); } } @@ -1297,9 +1297,9 @@ impl<'a, S: asset_state::State> AssetBuilder<'a, S> { impl<'a, S> AssetBuilder<'a, S> where S: asset_state::State, + S::Blob: asset_state::IsSet, S::Type: asset_state::IsSet, S::Hash: asset_state::IsSet, - S::Blob: asset_state::IsSet, { /// Build the final struct pub fn build(self) -> Asset<'a> { @@ -1726,51 +1726,51 @@ pub mod launch_asset_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ContentType; type Url; type Key; + type ContentType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ContentType = Unset; type Url = Unset; type Key = Unset; - } - ///State transition - sets the `content_type` field to Set - pub struct SetContentType(PhantomData S>); - impl sealed::Sealed for SetContentType {} - impl State for SetContentType { - type ContentType = Set; - type Url = S::Url; - type Key = S::Key; + type ContentType = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type ContentType = S::ContentType; type Url = Set; type Key = S::Key; + type ContentType = S::ContentType; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type ContentType = S::ContentType; type Url = S::Url; type Key = Set; + type ContentType = S::ContentType; + } + ///State transition - sets the `content_type` field to Set + pub struct SetContentType(PhantomData S>); + impl sealed::Sealed for SetContentType {} + impl State for SetContentType { + type Url = S::Url; + type Key = S::Key; + type ContentType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content_type` field - pub struct content_type(()); ///Marker type for the `url` field pub struct url(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `content_type` field + pub struct content_type(()); } } @@ -1863,9 +1863,9 @@ where impl<'a, S> LaunchAssetBuilder<'a, S> where S: launch_asset_state::State, - S::ContentType: launch_asset_state::IsSet, S::Url: launch_asset_state::IsSet, S::Key: launch_asset_state::IsSet, + S::ContentType: launch_asset_state::IsSet, { /// Build the final struct pub fn build(self) -> LaunchAsset<'a> { @@ -1951,104 +1951,104 @@ pub mod manifest_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Id; - type CreatedAt; - type RuntimeVersion; type LaunchAsset; type Metadata; type Extra; + type RuntimeVersion; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Id = Unset; - type CreatedAt = Unset; - type RuntimeVersion = Unset; type LaunchAsset = Unset; type Metadata = Unset; type Extra = Unset; + type RuntimeVersion = Unset; + type CreatedAt = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Id = Set; - type CreatedAt = S::CreatedAt; - type RuntimeVersion = S::RuntimeVersion; type LaunchAsset = S::LaunchAsset; type Metadata = S::Metadata; type Extra = S::Extra; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Id = S::Id; - type CreatedAt = Set; type RuntimeVersion = S::RuntimeVersion; - type LaunchAsset = S::LaunchAsset; - type Metadata = S::Metadata; - type Extra = S::Extra; - } - ///State transition - sets the `runtime_version` field to Set - pub struct SetRuntimeVersion(PhantomData S>); - impl sealed::Sealed for SetRuntimeVersion {} - impl State for SetRuntimeVersion { - type Id = S::Id; type CreatedAt = S::CreatedAt; - type RuntimeVersion = Set; - type LaunchAsset = S::LaunchAsset; - type Metadata = S::Metadata; - type Extra = S::Extra; } ///State transition - sets the `launch_asset` field to Set pub struct SetLaunchAsset(PhantomData S>); impl sealed::Sealed for SetLaunchAsset {} impl State for SetLaunchAsset { type Id = S::Id; - type CreatedAt = S::CreatedAt; - type RuntimeVersion = S::RuntimeVersion; type LaunchAsset = Set; type Metadata = S::Metadata; type Extra = S::Extra; + type RuntimeVersion = S::RuntimeVersion; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `metadata` field to Set pub struct SetMetadata(PhantomData S>); impl sealed::Sealed for SetMetadata {} impl State for SetMetadata { type Id = S::Id; - type CreatedAt = S::CreatedAt; - type RuntimeVersion = S::RuntimeVersion; type LaunchAsset = S::LaunchAsset; type Metadata = Set; type Extra = S::Extra; + type RuntimeVersion = S::RuntimeVersion; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `extra` field to Set pub struct SetExtra(PhantomData S>); impl sealed::Sealed for SetExtra {} impl State for SetExtra { type Id = S::Id; - type CreatedAt = S::CreatedAt; - type RuntimeVersion = S::RuntimeVersion; type LaunchAsset = S::LaunchAsset; type Metadata = S::Metadata; type Extra = Set; + type RuntimeVersion = S::RuntimeVersion; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `runtime_version` field to Set + pub struct SetRuntimeVersion(PhantomData S>); + impl sealed::Sealed for SetRuntimeVersion {} + impl State for SetRuntimeVersion { + type Id = S::Id; + type LaunchAsset = S::LaunchAsset; + type Metadata = S::Metadata; + type Extra = S::Extra; + type RuntimeVersion = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Id = S::Id; + type LaunchAsset = S::LaunchAsset; + type Metadata = S::Metadata; + type Extra = S::Extra; + type RuntimeVersion = S::RuntimeVersion; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `runtime_version` field - pub struct runtime_version(()); ///Marker type for the `launch_asset` field pub struct launch_asset(()); ///Marker type for the `metadata` field pub struct metadata(()); ///Marker type for the `extra` field pub struct extra(()); + ///Marker type for the `runtime_version` field + pub struct runtime_version(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -2202,11 +2202,11 @@ impl<'a, S> ManifestBuilder<'a, S> where S: manifest_state::State, S::Id: manifest_state::IsSet, - S::CreatedAt: manifest_state::IsSet, - S::RuntimeVersion: manifest_state::IsSet, S::LaunchAsset: manifest_state::IsSet, S::Metadata: manifest_state::IsSet, S::Extra: manifest_state::IsSet, + S::RuntimeVersion: manifest_state::IsSet, + S::CreatedAt: manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> Manifest<'a> { diff --git a/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs b/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs index a49c0515..f152ea53 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs @@ -32,37 +32,37 @@ pub mod get_launch_asset_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Platform; type Did; + type Platform; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Platform = Unset; type Did = Unset; - } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { - type Platform = Set; - type Did = S::Did; + type Platform = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Platform = S::Platform; type Did = Set; + type Platform = S::Platform; + } + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type Did = S::Did; + type Platform = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `platform` field - pub struct platform(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `platform` field + pub struct platform(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetLaunchAssetBuilder<'a, S> where S: get_launch_asset_state::State, - S::Platform: get_launch_asset_state::IsSet, S::Did: get_launch_asset_state::IsSet, + S::Platform: get_launch_asset_state::IsSet, { /// Build the final struct pub fn build(self) -> GetLaunchAsset<'a> { diff --git a/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs b/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs index b142fb6c..8bb5fe6c 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs @@ -32,37 +32,37 @@ pub mod get_manifest_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Platform; type Did; + type Platform; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Platform = Unset; type Did = Unset; - } - ///State transition - sets the `platform` field to Set - pub struct SetPlatform(PhantomData S>); - impl sealed::Sealed for SetPlatform {} - impl State for SetPlatform { - type Platform = Set; - type Did = S::Did; + type Platform = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Platform = S::Platform; type Did = Set; + type Platform = S::Platform; + } + ///State transition - sets the `platform` field to Set + pub struct SetPlatform(PhantomData S>); + impl sealed::Sealed for SetPlatform {} + impl State for SetPlatform { + type Did = S::Did; + type Platform = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `platform` field - pub struct platform(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `platform` field + pub struct platform(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetManifestBuilder<'a, S> where S: get_manifest_state::State, - S::Platform: get_manifest_state::IsSet, S::Did: get_manifest_state::IsSet, + S::Platform: get_manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> GetManifest<'a> { diff --git a/crates/jacquard-api/src/app_ocho/state/get_config.rs b/crates/jacquard-api/src/app_ocho/state/get_config.rs index d06b75a3..173c708e 100644 --- a/crates/jacquard-api/src/app_ocho/state/get_config.rs +++ b/crates/jacquard-api/src/app_ocho/state/get_config.rs @@ -50,8 +50,8 @@ pub enum GetConfigError<'a> { InvalidServiceAuth(std::option::Option>), } -impl std::fmt::Display for GetConfigError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetConfigError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidId(msg) => { write!(f, "InvalidID")?; diff --git a/crates/jacquard-api/src/app_rocksky/artist.rs b/crates/jacquard-api/src/app_rocksky/artist.rs index d3b2e6f7..f00bc57e 100644 --- a/crates/jacquard-api/src/app_rocksky/artist.rs +++ b/crates/jacquard-api/src/app_rocksky/artist.rs @@ -62,37 +62,37 @@ pub mod artist_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -276,8 +276,8 @@ impl<'a, S: artist_state::State> ArtistBuilder<'a, S> { impl<'a, S> ArtistBuilder<'a, S> where S: artist_state::State, - S::Name: artist_state::IsSet, S::CreatedAt: artist_state::IsSet, + S::Name: artist_state::IsSet, { /// Build the final struct pub fn build(self) -> Artist<'a> { diff --git a/crates/jacquard-api/src/app_rocksky/playlist.rs b/crates/jacquard-api/src/app_rocksky/playlist.rs index 2e3f083d..3b541450 100644 --- a/crates/jacquard-api/src/app_rocksky/playlist.rs +++ b/crates/jacquard-api/src/app_rocksky/playlist.rs @@ -66,37 +66,37 @@ pub mod playlist_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -319,8 +319,8 @@ impl<'a, S: playlist_state::State> PlaylistBuilder<'a, S> { impl<'a, S> PlaylistBuilder<'a, S> where S: playlist_state::State, - S::Name: playlist_state::IsSet, S::CreatedAt: playlist_state::IsSet, + S::Name: playlist_state::IsSet, { /// Build the final struct pub fn build(self) -> Playlist<'a> { diff --git a/crates/jacquard-api/src/app_rocksky/radio.rs b/crates/jacquard-api/src/app_rocksky/radio.rs index c3732e89..e795649c 100644 --- a/crates/jacquard-api/src/app_rocksky/radio.rs +++ b/crates/jacquard-api/src/app_rocksky/radio.rs @@ -54,51 +54,51 @@ pub mod radio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Url; type Name; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Url = Unset; type Name = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Url = S::Url; - type Name = S::Name; + type CreatedAt = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type CreatedAt = S::CreatedAt; type Url = Set; type Name = S::Name; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type CreatedAt = S::CreatedAt; type Url = S::Url; type Name = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Url = S::Url; + type Name = S::Name; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `url` field pub struct url(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -268,9 +268,9 @@ impl<'a, S: radio_state::State> RadioBuilder<'a, S> { impl<'a, S> RadioBuilder<'a, S> where S: radio_state::State, - S::CreatedAt: radio_state::IsSet, S::Url: radio_state::IsSet, S::Name: radio_state::IsSet, + S::CreatedAt: radio_state::IsSet, { /// Build the final struct pub fn build(self) -> Radio<'a> { diff --git a/crates/jacquard-api/src/app_rocksky/scrobble.rs b/crates/jacquard-api/src/app_rocksky/scrobble.rs index 619a1aa9..3cee9d68 100644 --- a/crates/jacquard-api/src/app_rocksky/scrobble.rs +++ b/crates/jacquard-api/src/app_rocksky/scrobble.rs @@ -114,105 +114,105 @@ pub mod scrobble_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Title; - type Duration; + type Album; type Artist; - type CreatedAt; type AlbumArtist; - type Album; + type Duration; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Title = Unset; - type Duration = Unset; + type Album = Unset; type Artist = Unset; - type CreatedAt = Unset; type AlbumArtist = Unset; - type Album = Unset; + type Duration = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Title = S::Title; + type Album = S::Album; + type Artist = S::Artist; + type AlbumArtist = S::AlbumArtist; + type Duration = S::Duration; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { + type CreatedAt = S::CreatedAt; type Title = Set; - type Duration = S::Duration; + type Album = S::Album; type Artist = S::Artist; - type CreatedAt = S::CreatedAt; type AlbumArtist = S::AlbumArtist; - type Album = S::Album; + type Duration = S::Duration; } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { + ///State transition - sets the `album` field to Set + pub struct SetAlbum(PhantomData S>); + impl sealed::Sealed for SetAlbum {} + impl State for SetAlbum { + type CreatedAt = S::CreatedAt; type Title = S::Title; - type Duration = Set; + type Album = Set; type Artist = S::Artist; - type CreatedAt = S::CreatedAt; type AlbumArtist = S::AlbumArtist; - type Album = S::Album; + type Duration = S::Duration; } ///State transition - sets the `artist` field to Set pub struct SetArtist(PhantomData S>); impl sealed::Sealed for SetArtist {} impl State for SetArtist { + type CreatedAt = S::CreatedAt; type Title = S::Title; - type Duration = S::Duration; + type Album = S::Album; type Artist = Set; - type CreatedAt = S::CreatedAt; type AlbumArtist = S::AlbumArtist; - type Album = S::Album; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Title = S::Title; type Duration = S::Duration; - type Artist = S::Artist; - type CreatedAt = Set; - type AlbumArtist = S::AlbumArtist; - type Album = S::Album; } ///State transition - sets the `album_artist` field to Set pub struct SetAlbumArtist(PhantomData S>); impl sealed::Sealed for SetAlbumArtist {} impl State for SetAlbumArtist { + type CreatedAt = S::CreatedAt; type Title = S::Title; - type Duration = S::Duration; + type Album = S::Album; type Artist = S::Artist; - type CreatedAt = S::CreatedAt; type AlbumArtist = Set; - type Album = S::Album; + type Duration = S::Duration; } - ///State transition - sets the `album` field to Set - pub struct SetAlbum(PhantomData S>); - impl sealed::Sealed for SetAlbum {} - impl State for SetAlbum { + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type CreatedAt = S::CreatedAt; type Title = S::Title; - type Duration = S::Duration; + type Album = S::Album; type Artist = S::Artist; - type CreatedAt = S::CreatedAt; type AlbumArtist = S::AlbumArtist; - type Album = Set; + type Duration = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `duration` field - pub struct duration(()); + ///Marker type for the `album` field + pub struct album(()); ///Marker type for the `artist` field pub struct artist(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `album_artist` field pub struct album_artist(()); - ///Marker type for the `album` field - pub struct album(()); + ///Marker type for the `duration` field + pub struct duration(()); } } @@ -693,12 +693,12 @@ impl<'a, S: scrobble_state::State> ScrobbleBuilder<'a, S> { impl<'a, S> ScrobbleBuilder<'a, S> where S: scrobble_state::State, + S::CreatedAt: scrobble_state::IsSet, S::Title: scrobble_state::IsSet, - S::Duration: scrobble_state::IsSet, + S::Album: scrobble_state::IsSet, S::Artist: scrobble_state::IsSet, - S::CreatedAt: scrobble_state::IsSet, S::AlbumArtist: scrobble_state::IsSet, - S::Album: scrobble_state::IsSet, + S::Duration: scrobble_state::IsSet, { /// Build the final struct pub fn build(self) -> Scrobble<'a> { diff --git a/crates/jacquard-api/src/app_rocksky/shout.rs b/crates/jacquard-api/src/app_rocksky/shout.rs index 01c74bd0..3d4ad47d 100644 --- a/crates/jacquard-api/src/app_rocksky/shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout.rs @@ -51,50 +51,50 @@ pub mod shout_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Message; type Subject; + type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Message = Unset; type Subject = Unset; + type Message = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Message = S::Message; - type Subject = S::Subject; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type CreatedAt = S::CreatedAt; - type Message = Set; type Subject = S::Subject; + type Message = S::Message; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type CreatedAt = S::CreatedAt; - type Message = S::Message; type Subject = Set; + type Message = S::Message; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type CreatedAt = S::CreatedAt; + type Subject = S::Subject; + type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `message` field + pub struct message(()); } } @@ -208,8 +208,8 @@ impl<'a, S> ShoutBuilder<'a, S> where S: shout_state::State, S::CreatedAt: shout_state::IsSet, - S::Message: shout_state::IsSet, S::Subject: shout_state::IsSet, + S::Message: shout_state::IsSet, { /// Build the final struct pub fn build(self) -> Shout<'a> { diff --git a/crates/jacquard-api/src/app_rocksky/song.rs b/crates/jacquard-api/src/app_rocksky/song.rs index 8469075d..5a30d28d 100644 --- a/crates/jacquard-api/src/app_rocksky/song.rs +++ b/crates/jacquard-api/src/app_rocksky/song.rs @@ -114,105 +114,105 @@ pub mod song_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Duration; type AlbumArtist; type CreatedAt; + type Title; + type Duration; type Artist; type Album; - type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Duration = Unset; type AlbumArtist = Unset; type CreatedAt = Unset; + type Title = Unset; + type Duration = Unset; type Artist = Unset; type Album = Unset; - type Title = Unset; - } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { - type Duration = Set; - type AlbumArtist = S::AlbumArtist; - type CreatedAt = S::CreatedAt; - type Artist = S::Artist; - type Album = S::Album; - type Title = S::Title; } ///State transition - sets the `album_artist` field to Set pub struct SetAlbumArtist(PhantomData S>); impl sealed::Sealed for SetAlbumArtist {} impl State for SetAlbumArtist { - type Duration = S::Duration; type AlbumArtist = Set; type CreatedAt = S::CreatedAt; + type Title = S::Title; + type Duration = S::Duration; type Artist = S::Artist; type Album = S::Album; - type Title = S::Title; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Duration = S::Duration; type AlbumArtist = S::AlbumArtist; type CreatedAt = Set; + type Title = S::Title; + type Duration = S::Duration; type Artist = S::Artist; type Album = S::Album; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type AlbumArtist = S::AlbumArtist; + type CreatedAt = S::CreatedAt; + type Title = Set; + type Duration = S::Duration; + type Artist = S::Artist; + type Album = S::Album; + } + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type AlbumArtist = S::AlbumArtist; + type CreatedAt = S::CreatedAt; type Title = S::Title; + type Duration = Set; + type Artist = S::Artist; + type Album = S::Album; } ///State transition - sets the `artist` field to Set pub struct SetArtist(PhantomData S>); impl sealed::Sealed for SetArtist {} impl State for SetArtist { - type Duration = S::Duration; type AlbumArtist = S::AlbumArtist; type CreatedAt = S::CreatedAt; + type Title = S::Title; + type Duration = S::Duration; type Artist = Set; type Album = S::Album; - type Title = S::Title; } ///State transition - sets the `album` field to Set pub struct SetAlbum(PhantomData S>); impl sealed::Sealed for SetAlbum {} impl State for SetAlbum { - type Duration = S::Duration; type AlbumArtist = S::AlbumArtist; type CreatedAt = S::CreatedAt; - type Artist = S::Artist; - type Album = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type Duration = S::Duration; - type AlbumArtist = S::AlbumArtist; - type CreatedAt = S::CreatedAt; type Artist = S::Artist; - type Album = S::Album; - type Title = Set; + type Album = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `duration` field - pub struct duration(()); ///Marker type for the `album_artist` field pub struct album_artist(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `duration` field + pub struct duration(()); ///Marker type for the `artist` field pub struct artist(()); ///Marker type for the `album` field pub struct album(()); - ///Marker type for the `title` field - pub struct title(()); } } @@ -693,12 +693,12 @@ impl<'a, S: song_state::State> SongBuilder<'a, S> { impl<'a, S> SongBuilder<'a, S> where S: song_state::State, - S::Duration: song_state::IsSet, S::AlbumArtist: song_state::IsSet, S::CreatedAt: song_state::IsSet, + S::Title: song_state::IsSet, + S::Duration: song_state::IsSet, S::Artist: song_state::IsSet, S::Album: song_state::IsSet, - S::Title: song_state::IsSet, { /// Build the final struct pub fn build(self) -> Song<'a> { diff --git a/crates/jacquard-api/src/art_cllctv/embed/external.rs b/crates/jacquard-api/src/art_cllctv/embed/external.rs index b2c2d74e..19244499 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/external.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/external.rs @@ -526,50 +526,50 @@ pub mod view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Title; - type Uri; type Description; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Title = Unset; - type Uri = Unset; type Description = Unset; + type Uri = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { type Title = Set; - type Uri = S::Uri; - type Description = S::Description; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Title = S::Title; - type Uri = Set; type Description = S::Description; + type Uri = S::Uri; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { type Title = S::Title; - type Uri = S::Uri; type Description = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Title = S::Title; + type Description = S::Description; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `description` field pub struct description(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -683,8 +683,8 @@ impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, S::Title: view_state::IsSet, - S::Uri: view_state::IsSet, S::Description: view_state::IsSet, + S::Uri: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { diff --git a/crates/jacquard-api/src/art_cllctv/embed/images.rs b/crates/jacquard-api/src/art_cllctv/embed/images.rs index 9f023e70..a943e6de 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/images.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/images.rs @@ -43,37 +43,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type Alt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type Alt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type Alt = S::Alt; + type Image = Unset; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Image = S::Image; type Alt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Alt = S::Alt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `alt` field pub struct alt(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -206,8 +206,8 @@ impl<'a, S: image_state::State> ImageBuilder<'a, S> { impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Image: image_state::IsSet, S::Alt: image_state::IsSet, + S::Image: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { @@ -882,49 +882,49 @@ pub mod view_image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Fullsize; type Thumb; + type Fullsize; type Alt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Fullsize = Unset; type Thumb = Unset; + type Fullsize = Unset; type Alt = Unset; } - ///State transition - sets the `fullsize` field to Set - pub struct SetFullsize(PhantomData S>); - impl sealed::Sealed for SetFullsize {} - impl State for SetFullsize { - type Fullsize = Set; - type Thumb = S::Thumb; - type Alt = S::Alt; - } ///State transition - sets the `thumb` field to Set pub struct SetThumb(PhantomData S>); impl sealed::Sealed for SetThumb {} impl State for SetThumb { - type Fullsize = S::Fullsize; type Thumb = Set; + type Fullsize = S::Fullsize; + type Alt = S::Alt; + } + ///State transition - sets the `fullsize` field to Set + pub struct SetFullsize(PhantomData S>); + impl sealed::Sealed for SetFullsize {} + impl State for SetFullsize { + type Thumb = S::Thumb; + type Fullsize = Set; type Alt = S::Alt; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Fullsize = S::Fullsize; type Thumb = S::Thumb; + type Fullsize = S::Fullsize; type Alt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `fullsize` field - pub struct fullsize(()); ///Marker type for the `thumb` field pub struct thumb(()); + ///Marker type for the `fullsize` field + pub struct fullsize(()); ///Marker type for the `alt` field pub struct alt(()); } @@ -1059,8 +1059,8 @@ impl<'a, S: view_image_state::State> ViewImageBuilder<'a, S> { impl<'a, S> ViewImageBuilder<'a, S> where S: view_image_state::State, - S::Fullsize: view_image_state::IsSet, S::Thumb: view_image_state::IsSet, + S::Fullsize: view_image_state::IsSet, S::Alt: view_image_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/art_cllctv/feed/pin.rs b/crates/jacquard-api/src/art_cllctv/feed/pin.rs index f405e61f..d16acef7 100644 --- a/crates/jacquard-api/src/art_cllctv/feed/pin.rs +++ b/crates/jacquard-api/src/art_cllctv/feed/pin.rs @@ -32,37 +32,37 @@ pub mod pin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> PinBuilder<'a, S> where S: pin_state::State, - S::CreatedAt: pin_state::IsSet, S::Subject: pin_state::IsSet, + S::CreatedAt: pin_state::IsSet, { /// Build the final struct pub fn build(self) -> Pin<'a> { diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs index f4013bc8..8b6a9cde 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs @@ -29,7 +29,7 @@ pub struct Review<'a> { /// Whether this review is from the service provider or consumer #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub reviewer_role: std::option::Option>, + pub reviewer_role: std::option::Option>, /// The title of the review #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -49,51 +49,51 @@ pub mod review_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Transaction; type Rating; type CreatedAt; + type Transaction; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Transaction = Unset; type Rating = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `transaction` field to Set - pub struct SetTransaction(PhantomData S>); - impl sealed::Sealed for SetTransaction {} - impl State for SetTransaction { - type Transaction = Set; - type Rating = S::Rating; - type CreatedAt = S::CreatedAt; + type Transaction = Unset; } ///State transition - sets the `rating` field to Set pub struct SetRating(PhantomData S>); impl sealed::Sealed for SetRating {} impl State for SetRating { - type Transaction = S::Transaction; type Rating = Set; type CreatedAt = S::CreatedAt; + type Transaction = S::Transaction; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Transaction = S::Transaction; type Rating = S::Rating; type CreatedAt = Set; + type Transaction = S::Transaction; + } + ///State transition - sets the `transaction` field to Set + pub struct SetTransaction(PhantomData S>); + impl sealed::Sealed for SetTransaction {} + impl State for SetTransaction { + type Rating = S::Rating; + type CreatedAt = S::CreatedAt; + type Transaction = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `transaction` field - pub struct transaction(()); ///Marker type for the `rating` field pub struct rating(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `transaction` field + pub struct transaction(()); } } @@ -104,7 +104,7 @@ pub struct ReviewBuilder<'a, S: review_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -190,16 +190,13 @@ impl<'a, S: review_state::State> ReviewBuilder<'a, S> { /// Set the `reviewerRole` field (optional) pub fn reviewer_role( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.3 = value.into(); self } /// Set the `reviewerRole` field to an Option value (optional) - pub fn maybe_reviewer_role( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_reviewer_role(mut self, value: Option>) -> Self { self.__unsafe_private_named.3 = value; self } @@ -243,9 +240,9 @@ where impl<'a, S> ReviewBuilder<'a, S> where S: review_state::State, - S::Transaction: review_state::IsSet, S::Rating: review_state::IsSet, S::CreatedAt: review_state::IsSet, + S::Transaction: review_state::IsSet, { /// Build the final struct pub fn build(self) -> Review<'a> { @@ -292,6 +289,95 @@ impl<'a> Review<'a> { } } +/// Whether this review is from the service provider or consumer +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ReviewReviewerRole<'a> { + ServiceProvider, + ServiceConsumer, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ReviewReviewerRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ServiceProvider => "serviceProvider", + Self::ServiceConsumer => "serviceConsumer", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ReviewReviewerRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "serviceProvider" => Self::ServiceProvider, + "serviceConsumer" => Self::ServiceConsumer, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ReviewReviewerRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "serviceProvider" => Self::ServiceProvider, + "serviceConsumer" => Self::ServiceConsumer, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ReviewReviewerRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ReviewReviewerRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ReviewReviewerRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ReviewReviewerRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ReviewReviewerRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ReviewReviewerRole<'_> { + type Output = ReviewReviewerRole<'static>; + fn into_static(self) -> Self::Output { + match self { + ReviewReviewerRole::ServiceProvider => ReviewReviewerRole::ServiceProvider, + ReviewReviewerRole::ServiceConsumer => ReviewReviewerRole::ServiceConsumer, + ReviewReviewerRole::Other(v) => ReviewReviewerRole::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs index 87133119..0e86bbd8 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs @@ -55,8 +55,8 @@ pub mod transaction_state { pub trait State: sealed::Sealed { type TransactionId; type ServiceProvider; - type ServiceConsumer; type CreatedAt; + type ServiceConsumer; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -64,8 +64,8 @@ pub mod transaction_state { impl State for Empty { type TransactionId = Unset; type ServiceProvider = Unset; - type ServiceConsumer = Unset; type CreatedAt = Unset; + type ServiceConsumer = Unset; } ///State transition - sets the `transaction_id` field to Set pub struct SetTransactionId(PhantomData S>); @@ -73,8 +73,8 @@ pub mod transaction_state { impl State for SetTransactionId { type TransactionId = Set; type ServiceProvider = S::ServiceProvider; - type ServiceConsumer = S::ServiceConsumer; type CreatedAt = S::CreatedAt; + type ServiceConsumer = S::ServiceConsumer; } ///State transition - sets the `service_provider` field to Set pub struct SetServiceProvider(PhantomData S>); @@ -82,17 +82,8 @@ pub mod transaction_state { impl State for SetServiceProvider { type TransactionId = S::TransactionId; type ServiceProvider = Set; - type ServiceConsumer = S::ServiceConsumer; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `service_consumer` field to Set - pub struct SetServiceConsumer(PhantomData S>); - impl sealed::Sealed for SetServiceConsumer {} - impl State for SetServiceConsumer { - type TransactionId = S::TransactionId; - type ServiceProvider = S::ServiceProvider; - type ServiceConsumer = Set; type CreatedAt = S::CreatedAt; + type ServiceConsumer = S::ServiceConsumer; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); @@ -100,8 +91,17 @@ pub mod transaction_state { impl State for SetCreatedAt { type TransactionId = S::TransactionId; type ServiceProvider = S::ServiceProvider; - type ServiceConsumer = S::ServiceConsumer; type CreatedAt = Set; + type ServiceConsumer = S::ServiceConsumer; + } + ///State transition - sets the `service_consumer` field to Set + pub struct SetServiceConsumer(PhantomData S>); + impl sealed::Sealed for SetServiceConsumer {} + impl State for SetServiceConsumer { + type TransactionId = S::TransactionId; + type ServiceProvider = S::ServiceProvider; + type CreatedAt = S::CreatedAt; + type ServiceConsumer = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -110,10 +110,10 @@ pub mod transaction_state { pub struct transaction_id(()); ///Marker type for the `service_provider` field pub struct service_provider(()); - ///Marker type for the `service_consumer` field - pub struct service_consumer(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `service_consumer` field + pub struct service_consumer(()); } } @@ -282,8 +282,8 @@ where S: transaction_state::State, S::TransactionId: transaction_state::IsSet, S::ServiceProvider: transaction_state::IsSet, - S::ServiceConsumer: transaction_state::IsSet, S::CreatedAt: transaction_state::IsSet, + S::ServiceConsumer: transaction_state::IsSet, { /// Build the final struct pub fn build(self) -> Transaction<'a> { diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs index 28e6f77f..ae698b92 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs @@ -33,11 +33,11 @@ pub struct Warrant<'a> { /// Level of trust being warranted #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub trust_level: std::option::Option>, + pub trust_level: std::option::Option>, /// Type of warrant being provided #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub warrant_type: std::option::Option>, + pub warrant_type: std::option::Option>, } pub mod warrant_state { @@ -92,8 +92,8 @@ pub struct WarrantBuilder<'a, S: warrant_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -196,16 +196,13 @@ impl<'a, S: warrant_state::State> WarrantBuilder<'a, S> { /// Set the `trustLevel` field (optional) pub fn trust_level( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.4 = value.into(); self } /// Set the `trustLevel` field to an Option value (optional) - pub fn maybe_trust_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_trust_level(mut self, value: Option>) -> Self { self.__unsafe_private_named.4 = value; self } @@ -215,16 +212,13 @@ impl<'a, S: warrant_state::State> WarrantBuilder<'a, S> { /// Set the `warrantType` field (optional) pub fn warrant_type( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.5 = value.into(); self } /// Set the `warrantType` field to an Option value (optional) - pub fn maybe_warrant_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_warrant_type(mut self, value: Option>) -> Self { self.__unsafe_private_named.5 = value; self } @@ -281,6 +275,209 @@ impl<'a> Warrant<'a> { } } +/// Level of trust being warranted +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum WarrantTrustLevel<'a> { + Basic, + Verified, + Trusted, + HighlyTrusted, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> WarrantTrustLevel<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Basic => "basic", + Self::Verified => "verified", + Self::Trusted => "trusted", + Self::HighlyTrusted => "highly-trusted", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for WarrantTrustLevel<'a> { + fn from(s: &'a str) -> Self { + match s { + "basic" => Self::Basic, + "verified" => Self::Verified, + "trusted" => Self::Trusted, + "highly-trusted" => Self::HighlyTrusted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for WarrantTrustLevel<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "basic" => Self::Basic, + "verified" => Self::Verified, + "trusted" => Self::Trusted, + "highly-trusted" => Self::HighlyTrusted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for WarrantTrustLevel<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for WarrantTrustLevel<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for WarrantTrustLevel<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for WarrantTrustLevel<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for WarrantTrustLevel<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for WarrantTrustLevel<'_> { + type Output = WarrantTrustLevel<'static>; + fn into_static(self) -> Self::Output { + match self { + WarrantTrustLevel::Basic => WarrantTrustLevel::Basic, + WarrantTrustLevel::Verified => WarrantTrustLevel::Verified, + WarrantTrustLevel::Trusted => WarrantTrustLevel::Trusted, + WarrantTrustLevel::HighlyTrusted => WarrantTrustLevel::HighlyTrusted, + WarrantTrustLevel::Other(v) => WarrantTrustLevel::Other(v.into_static()), + } + } +} + +/// Type of warrant being provided +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum WarrantWarrantType<'a> { + General, + Business, + Individual, + Technical, + Financial, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> WarrantWarrantType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::General => "general", + Self::Business => "business", + Self::Individual => "individual", + Self::Technical => "technical", + Self::Financial => "financial", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for WarrantWarrantType<'a> { + fn from(s: &'a str) -> Self { + match s { + "general" => Self::General, + "business" => Self::Business, + "individual" => Self::Individual, + "technical" => Self::Technical, + "financial" => Self::Financial, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for WarrantWarrantType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "general" => Self::General, + "business" => Self::Business, + "individual" => Self::Individual, + "technical" => Self::Technical, + "financial" => Self::Financial, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for WarrantWarrantType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for WarrantWarrantType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for WarrantWarrantType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for WarrantWarrantType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for WarrantWarrantType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for WarrantWarrantType<'_> { + type Output = WarrantWarrantType<'static>; + fn into_static(self) -> Self::Output { + match self { + WarrantWarrantType::General => WarrantWarrantType::General, + WarrantWarrantType::Business => WarrantWarrantType::Business, + WarrantWarrantType::Individual => WarrantWarrantType::Individual, + WarrantWarrantType::Technical => WarrantWarrantType::Technical, + WarrantWarrantType::Financial => WarrantWarrantType::Financial, + WarrantWarrantType::Other(v) => WarrantWarrantType::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/blog_pckt/block/image.rs b/crates/jacquard-api/src/blog_pckt/block/image.rs index 315dd545..7b11ce69 100644 --- a/crates/jacquard-api/src/blog_pckt/block/image.rs +++ b/crates/jacquard-api/src/blog_pckt/block/image.rs @@ -34,37 +34,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -134,8 +134,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/block/mention.rs b/crates/jacquard-api/src/blog_pckt/block/mention.rs index bb7c2741..6b656224 100644 --- a/crates/jacquard-api/src/blog_pckt/block/mention.rs +++ b/crates/jacquard-api/src/blog_pckt/block/mention.rs @@ -35,37 +35,37 @@ pub mod mention_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> MentionBuilder<'a, S> where S: mention_state::State, - S::Handle: mention_state::IsSet, S::Did: mention_state::IsSet, + S::Handle: mention_state::IsSet, { /// Build the final struct pub fn build(self) -> Mention<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/block/task_item.rs b/crates/jacquard-api/src/blog_pckt/block/task_item.rs index 8caef905..aee720a8 100644 --- a/crates/jacquard-api/src/blog_pckt/block/task_item.rs +++ b/crates/jacquard-api/src/blog_pckt/block/task_item.rs @@ -34,37 +34,37 @@ pub mod task_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Content; type Checked; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Content = Unset; type Checked = Unset; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Content = Set; - type Checked = S::Checked; + type Content = Unset; } ///State transition - sets the `checked` field to Set pub struct SetChecked(PhantomData S>); impl sealed::Sealed for SetChecked {} impl State for SetChecked { - type Content = S::Content; type Checked = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Checked = S::Checked; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `checked` field pub struct checked(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> TaskItemBuilder<'a, S> where S: task_item_state::State, - S::Content: task_item_state::IsSet, S::Checked: task_item_state::IsSet, + S::Content: task_item_state::IsSet, { /// Build the final struct pub fn build(self) -> TaskItem<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/document.rs b/crates/jacquard-api/src/blog_pckt/document.rs index b05e264c..c07ea913 100644 --- a/crates/jacquard-api/src/blog_pckt/document.rs +++ b/crates/jacquard-api/src/blog_pckt/document.rs @@ -33,37 +33,37 @@ pub mod document_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Document; type Site; + type Document; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Document = Unset; type Site = Unset; - } - ///State transition - sets the `document` field to Set - pub struct SetDocument(PhantomData S>); - impl sealed::Sealed for SetDocument {} - impl State for SetDocument { - type Document = Set; - type Site = S::Site; + type Document = Unset; } ///State transition - sets the `site` field to Set pub struct SetSite(PhantomData S>); impl sealed::Sealed for SetSite {} impl State for SetSite { - type Document = S::Document; type Site = Set; + type Document = S::Document; + } + ///State transition - sets the `document` field to Set + pub struct SetDocument(PhantomData S>); + impl sealed::Sealed for SetDocument {} + impl State for SetDocument { + type Site = S::Site; + type Document = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `document` field - pub struct document(()); ///Marker type for the `site` field pub struct site(()); + ///Marker type for the `document` field + pub struct document(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, - S::Document: document_state::IsSet, S::Site: document_state::IsSet, + S::Document: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/post.rs b/crates/jacquard-api/src/blog_pckt/post.rs index a823dbd4..b4314308 100644 --- a/crates/jacquard-api/src/blog_pckt/post.rs +++ b/crates/jacquard-api/src/blog_pckt/post.rs @@ -55,8 +55,8 @@ pub mod post_state { pub trait State: sealed::Sealed { type Title; type Url; - type Blocks; type Blog; + type Blocks; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -64,8 +64,8 @@ pub mod post_state { impl State for Empty { type Title = Unset; type Url = Unset; - type Blocks = Unset; type Blog = Unset; + type Blocks = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); @@ -73,8 +73,8 @@ pub mod post_state { impl State for SetTitle { type Title = Set; type Url = S::Url; - type Blocks = S::Blocks; type Blog = S::Blog; + type Blocks = S::Blocks; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); @@ -82,17 +82,8 @@ pub mod post_state { impl State for SetUrl { type Title = S::Title; type Url = Set; - type Blocks = S::Blocks; - type Blog = S::Blog; - } - ///State transition - sets the `blocks` field to Set - pub struct SetBlocks(PhantomData S>); - impl sealed::Sealed for SetBlocks {} - impl State for SetBlocks { - type Title = S::Title; - type Url = S::Url; - type Blocks = Set; type Blog = S::Blog; + type Blocks = S::Blocks; } ///State transition - sets the `blog` field to Set pub struct SetBlog(PhantomData S>); @@ -100,8 +91,17 @@ pub mod post_state { impl State for SetBlog { type Title = S::Title; type Url = S::Url; - type Blocks = S::Blocks; type Blog = Set; + type Blocks = S::Blocks; + } + ///State transition - sets the `blocks` field to Set + pub struct SetBlocks(PhantomData S>); + impl sealed::Sealed for SetBlocks {} + impl State for SetBlocks { + type Title = S::Title; + type Url = S::Url; + type Blog = S::Blog; + type Blocks = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -110,10 +110,10 @@ pub mod post_state { pub struct title(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `blocks` field - pub struct blocks(()); ///Marker type for the `blog` field pub struct blog(()); + ///Marker type for the `blocks` field + pub struct blocks(()); } } @@ -359,8 +359,8 @@ where S: post_state::State, S::Title: post_state::IsSet, S::Url: post_state::IsSet, - S::Blocks: post_state::IsSet, S::Blog: post_state::IsSet, + S::Blocks: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/blog_pckt/richtext/facet.rs b/crates/jacquard-api/src/blog_pckt/richtext/facet.rs index 7beda8ed..77c2c9f1 100644 --- a/crates/jacquard-api/src/blog_pckt/richtext/facet.rs +++ b/crates/jacquard-api/src/blog_pckt/richtext/facet.rs @@ -552,37 +552,37 @@ pub mod byte_slice_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ByteEnd; type ByteStart; + type ByteEnd; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ByteEnd = Unset; type ByteStart = Unset; - } - ///State transition - sets the `byte_end` field to Set - pub struct SetByteEnd(PhantomData S>); - impl sealed::Sealed for SetByteEnd {} - impl State for SetByteEnd { - type ByteEnd = Set; - type ByteStart = S::ByteStart; + type ByteEnd = Unset; } ///State transition - sets the `byte_start` field to Set pub struct SetByteStart(PhantomData S>); impl sealed::Sealed for SetByteStart {} impl State for SetByteStart { - type ByteEnd = S::ByteEnd; type ByteStart = Set; + type ByteEnd = S::ByteEnd; + } + ///State transition - sets the `byte_end` field to Set + pub struct SetByteEnd(PhantomData S>); + impl sealed::Sealed for SetByteEnd {} + impl State for SetByteEnd { + type ByteStart = S::ByteStart; + type ByteEnd = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `byte_end` field - pub struct byte_end(()); ///Marker type for the `byte_start` field pub struct byte_start(()); + ///Marker type for the `byte_end` field + pub struct byte_end(()); } } @@ -652,8 +652,8 @@ where impl<'a, S> ByteSliceBuilder<'a, S> where S: byte_slice_state::State, - S::ByteEnd: byte_slice_state::IsSet, S::ByteStart: byte_slice_state::IsSet, + S::ByteEnd: byte_slice_state::IsSet, { /// Build the final struct pub fn build(self) -> ByteSlice<'a> { diff --git a/crates/jacquard-api/src/blue__2048.rs b/crates/jacquard-api/src/blue__2048.rs index 3d6cc1d2..56372485 100644 --- a/crates/jacquard-api/src/blue__2048.rs +++ b/crates/jacquard-api/src/blue__2048.rs @@ -43,66 +43,66 @@ pub mod sync_status_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type SyncedWithAtRepo; type UpdatedAt; type Hash; + type SyncedWithAtRepo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type SyncedWithAtRepo = Unset; type UpdatedAt = Unset; type Hash = Unset; + type SyncedWithAtRepo = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type SyncedWithAtRepo = S::SyncedWithAtRepo; - type UpdatedAt = S::UpdatedAt; - type Hash = S::Hash; - } - ///State transition - sets the `synced_with_at_repo` field to Set - pub struct SetSyncedWithAtRepo(PhantomData S>); - impl sealed::Sealed for SetSyncedWithAtRepo {} - impl State for SetSyncedWithAtRepo { - type CreatedAt = S::CreatedAt; - type SyncedWithAtRepo = Set; type UpdatedAt = S::UpdatedAt; type Hash = S::Hash; + type SyncedWithAtRepo = S::SyncedWithAtRepo; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { type CreatedAt = S::CreatedAt; - type SyncedWithAtRepo = S::SyncedWithAtRepo; type UpdatedAt = Set; type Hash = S::Hash; + type SyncedWithAtRepo = S::SyncedWithAtRepo; } ///State transition - sets the `hash` field to Set pub struct SetHash(PhantomData S>); impl sealed::Sealed for SetHash {} impl State for SetHash { type CreatedAt = S::CreatedAt; - type SyncedWithAtRepo = S::SyncedWithAtRepo; type UpdatedAt = S::UpdatedAt; type Hash = Set; + type SyncedWithAtRepo = S::SyncedWithAtRepo; + } + ///State transition - sets the `synced_with_at_repo` field to Set + pub struct SetSyncedWithAtRepo(PhantomData S>); + impl sealed::Sealed for SetSyncedWithAtRepo {} + impl State for SetSyncedWithAtRepo { + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Hash = S::Hash; + type SyncedWithAtRepo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `synced_with_at_repo` field - pub struct synced_with_at_repo(()); ///Marker type for the `updated_at` field pub struct updated_at(()); ///Marker type for the `hash` field pub struct hash(()); + ///Marker type for the `synced_with_at_repo` field + pub struct synced_with_at_repo(()); } } @@ -216,9 +216,9 @@ impl<'a, S> SyncStatusBuilder<'a, S> where S: sync_status_state::State, S::CreatedAt: sync_status_state::IsSet, - S::SyncedWithAtRepo: sync_status_state::IsSet, S::UpdatedAt: sync_status_state::IsSet, S::Hash: sync_status_state::IsSet, + S::SyncedWithAtRepo: sync_status_state::IsSet, { /// Build the final struct pub fn build(self) -> SyncStatus<'a> { diff --git a/crates/jacquard-api/src/blue__2048/game.rs b/crates/jacquard-api/src/blue__2048/game.rs index f41b100d..ad1926c8 100644 --- a/crates/jacquard-api/src/blue__2048/game.rs +++ b/crates/jacquard-api/src/blue__2048/game.rs @@ -43,105 +43,105 @@ pub mod game_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SyncStatus; - type Completed; - type Won; type CurrentScore; - type SeededRecording; + type Completed; type CreatedAt; + type SyncStatus; + type SeededRecording; + type Won; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SyncStatus = Unset; - type Completed = Unset; - type Won = Unset; type CurrentScore = Unset; - type SeededRecording = Unset; + type Completed = Unset; type CreatedAt = Unset; + type SyncStatus = Unset; + type SeededRecording = Unset; + type Won = Unset; } - ///State transition - sets the `sync_status` field to Set - pub struct SetSyncStatus(PhantomData S>); - impl sealed::Sealed for SetSyncStatus {} - impl State for SetSyncStatus { - type SyncStatus = Set; + ///State transition - sets the `current_score` field to Set + pub struct SetCurrentScore(PhantomData S>); + impl sealed::Sealed for SetCurrentScore {} + impl State for SetCurrentScore { + type CurrentScore = Set; type Completed = S::Completed; - type Won = S::Won; - type CurrentScore = S::CurrentScore; - type SeededRecording = S::SeededRecording; type CreatedAt = S::CreatedAt; + type SyncStatus = S::SyncStatus; + type SeededRecording = S::SeededRecording; + type Won = S::Won; } ///State transition - sets the `completed` field to Set pub struct SetCompleted(PhantomData S>); impl sealed::Sealed for SetCompleted {} impl State for SetCompleted { - type SyncStatus = S::SyncStatus; - type Completed = Set; - type Won = S::Won; type CurrentScore = S::CurrentScore; - type SeededRecording = S::SeededRecording; + type Completed = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `won` field to Set - pub struct SetWon(PhantomData S>); - impl sealed::Sealed for SetWon {} - impl State for SetWon { type SyncStatus = S::SyncStatus; - type Completed = S::Completed; - type Won = Set; - type CurrentScore = S::CurrentScore; type SeededRecording = S::SeededRecording; - type CreatedAt = S::CreatedAt; + type Won = S::Won; } - ///State transition - sets the `current_score` field to Set - pub struct SetCurrentScore(PhantomData S>); - impl sealed::Sealed for SetCurrentScore {} - impl State for SetCurrentScore { - type SyncStatus = S::SyncStatus; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CurrentScore = S::CurrentScore; type Completed = S::Completed; - type Won = S::Won; - type CurrentScore = Set; + type CreatedAt = Set; + type SyncStatus = S::SyncStatus; type SeededRecording = S::SeededRecording; + type Won = S::Won; + } + ///State transition - sets the `sync_status` field to Set + pub struct SetSyncStatus(PhantomData S>); + impl sealed::Sealed for SetSyncStatus {} + impl State for SetSyncStatus { + type CurrentScore = S::CurrentScore; + type Completed = S::Completed; type CreatedAt = S::CreatedAt; + type SyncStatus = Set; + type SeededRecording = S::SeededRecording; + type Won = S::Won; } ///State transition - sets the `seeded_recording` field to Set pub struct SetSeededRecording(PhantomData S>); impl sealed::Sealed for SetSeededRecording {} impl State for SetSeededRecording { - type SyncStatus = S::SyncStatus; - type Completed = S::Completed; - type Won = S::Won; type CurrentScore = S::CurrentScore; - type SeededRecording = Set; + type Completed = S::Completed; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type SyncStatus = S::SyncStatus; - type Completed = S::Completed; + type SeededRecording = Set; type Won = S::Won; + } + ///State transition - sets the `won` field to Set + pub struct SetWon(PhantomData S>); + impl sealed::Sealed for SetWon {} + impl State for SetWon { type CurrentScore = S::CurrentScore; + type Completed = S::Completed; + type CreatedAt = S::CreatedAt; + type SyncStatus = S::SyncStatus; type SeededRecording = S::SeededRecording; - type CreatedAt = Set; + type Won = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `sync_status` field - pub struct sync_status(()); - ///Marker type for the `completed` field - pub struct completed(()); - ///Marker type for the `won` field - pub struct won(()); ///Marker type for the `current_score` field pub struct current_score(()); - ///Marker type for the `seeded_recording` field - pub struct seeded_recording(()); + ///Marker type for the `completed` field + pub struct completed(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `sync_status` field + pub struct sync_status(()); + ///Marker type for the `seeded_recording` field + pub struct seeded_recording(()); + ///Marker type for the `won` field + pub struct won(()); } } @@ -294,12 +294,12 @@ where impl<'a, S> GameBuilder<'a, S> where S: game_state::State, - S::SyncStatus: game_state::IsSet, - S::Completed: game_state::IsSet, - S::Won: game_state::IsSet, S::CurrentScore: game_state::IsSet, - S::SeededRecording: game_state::IsSet, + S::Completed: game_state::IsSet, S::CreatedAt: game_state::IsSet, + S::SyncStatus: game_state::IsSet, + S::SeededRecording: game_state::IsSet, + S::Won: game_state::IsSet, { /// Build the final struct pub fn build(self) -> Game<'a> { diff --git a/crates/jacquard-api/src/blue__2048/key.rs b/crates/jacquard-api/src/blue__2048/key.rs index b8d25059..52b5354c 100644 --- a/crates/jacquard-api/src/blue__2048/key.rs +++ b/crates/jacquard-api/src/blue__2048/key.rs @@ -37,37 +37,37 @@ pub mod key_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Key; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Key = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Key = S::Key; + type CreatedAt = Unset; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type CreatedAt = S::CreatedAt; type Key = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Key = S::Key; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -140,8 +140,8 @@ where impl<'a, S> KeyBuilder<'a, S> where S: key_state::State, - S::CreatedAt: key_state::IsSet, S::Key: key_state::IsSet, + S::CreatedAt: key_state::IsSet, { /// Build the final struct pub fn build(self) -> Key<'a> { @@ -371,49 +371,49 @@ pub mod signature_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AtUri; type Signature; + type AtUri; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AtUri = Unset; type Signature = Unset; + type AtUri = Unset; type CreatedAt = Unset; } - ///State transition - sets the `at_uri` field to Set - pub struct SetAtUri(PhantomData S>); - impl sealed::Sealed for SetAtUri {} - impl State for SetAtUri { - type AtUri = Set; - type Signature = S::Signature; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `signature` field to Set pub struct SetSignature(PhantomData S>); impl sealed::Sealed for SetSignature {} impl State for SetSignature { - type AtUri = S::AtUri; type Signature = Set; + type AtUri = S::AtUri; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `at_uri` field to Set + pub struct SetAtUri(PhantomData S>); + impl sealed::Sealed for SetAtUri {} + impl State for SetAtUri { + type Signature = S::Signature; + type AtUri = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type AtUri = S::AtUri; type Signature = S::Signature; + type AtUri = S::AtUri; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `at_uri` field - pub struct at_uri(()); ///Marker type for the `signature` field pub struct signature(()); + ///Marker type for the `at_uri` field + pub struct at_uri(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -508,8 +508,8 @@ where impl<'a, S> SignatureRefBuilder<'a, S> where S: signature_ref_state::State, - S::AtUri: signature_ref_state::IsSet, S::Signature: signature_ref_state::IsSet, + S::AtUri: signature_ref_state::IsSet, S::CreatedAt: signature_ref_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/blue__2048/key/player/stats.rs b/crates/jacquard-api/src/blue__2048/key/player/stats.rs index e3d856cf..5e3ba26e 100644 --- a/crates/jacquard-api/src/blue__2048/key/player/stats.rs +++ b/crates/jacquard-api/src/blue__2048/key/player/stats.rs @@ -34,37 +34,37 @@ pub mod stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Key; type CreatedAt; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Key = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Key = Set; - type CreatedAt = S::CreatedAt; + type Key = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Key = S::Key; type CreatedAt = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type CreatedAt = S::CreatedAt; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> StatsBuilder<'a, S> where S: stats_state::State, - S::Key: stats_state::IsSet, S::CreatedAt: stats_state::IsSet, + S::Key: stats_state::IsSet, { /// Build the final struct pub fn build(self) -> Stats<'a> { diff --git a/crates/jacquard-api/src/blue__2048/player/profile.rs b/crates/jacquard-api/src/blue__2048/player/profile.rs index 14ddfb83..81649737 100644 --- a/crates/jacquard-api/src/blue__2048/player/profile.rs +++ b/crates/jacquard-api/src/blue__2048/player/profile.rs @@ -36,51 +36,51 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SoloPlay; type SyncStatus; type CreatedAt; + type SoloPlay; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SoloPlay = Unset; type SyncStatus = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `solo_play` field to Set - pub struct SetSoloPlay(PhantomData S>); - impl sealed::Sealed for SetSoloPlay {} - impl State for SetSoloPlay { - type SoloPlay = Set; - type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; + type SoloPlay = Unset; } ///State transition - sets the `sync_status` field to Set pub struct SetSyncStatus(PhantomData S>); impl sealed::Sealed for SetSyncStatus {} impl State for SetSyncStatus { - type SoloPlay = S::SoloPlay; type SyncStatus = Set; type CreatedAt = S::CreatedAt; + type SoloPlay = S::SoloPlay; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type SoloPlay = S::SoloPlay; type SyncStatus = S::SyncStatus; type CreatedAt = Set; + type SoloPlay = S::SoloPlay; + } + ///State transition - sets the `solo_play` field to Set + pub struct SetSoloPlay(PhantomData S>); + impl sealed::Sealed for SetSoloPlay {} + impl State for SetSoloPlay { + type SyncStatus = S::SyncStatus; + type CreatedAt = S::CreatedAt; + type SoloPlay = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `solo_play` field - pub struct solo_play(()); ///Marker type for the `sync_status` field pub struct sync_status(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `solo_play` field + pub struct solo_play(()); } } @@ -173,9 +173,9 @@ where impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::SoloPlay: profile_state::IsSet, S::SyncStatus: profile_state::IsSet, S::CreatedAt: profile_state::IsSet, + S::SoloPlay: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { diff --git a/crates/jacquard-api/src/blue__2048/player/stats.rs b/crates/jacquard-api/src/blue__2048/player/stats.rs index da0f34b0..c8180a09 100644 --- a/crates/jacquard-api/src/blue__2048/player/stats.rs +++ b/crates/jacquard-api/src/blue__2048/player/stats.rs @@ -48,185 +48,185 @@ pub mod stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TimesTwentyFortyEightBeenFound; + type AverageScore; type HighestScore; type GamesPlayed; + type TimesTwentyFortyEightBeenFound; type SyncStatus; - type CreatedAt; - type HighestNumberBlock; - type TotalScore; - type AverageScore; type LeastMovesToFindTwentyFortyEight; + type TotalScore; + type HighestNumberBlock; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TimesTwentyFortyEightBeenFound = Unset; + type AverageScore = Unset; type HighestScore = Unset; type GamesPlayed = Unset; + type TimesTwentyFortyEightBeenFound = Unset; type SyncStatus = Unset; - type CreatedAt = Unset; - type HighestNumberBlock = Unset; - type TotalScore = Unset; - type AverageScore = Unset; type LeastMovesToFindTwentyFortyEight = Unset; + type TotalScore = Unset; + type HighestNumberBlock = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `times_twenty_forty_eight_been_found` field to Set - pub struct SetTimesTwentyFortyEightBeenFound( - PhantomData S>, - ); - impl sealed::Sealed for SetTimesTwentyFortyEightBeenFound {} - impl State for SetTimesTwentyFortyEightBeenFound { - type TimesTwentyFortyEightBeenFound = Set< - members::times_twenty_forty_eight_been_found, - >; + ///State transition - sets the `average_score` field to Set + pub struct SetAverageScore(PhantomData S>); + impl sealed::Sealed for SetAverageScore {} + impl State for SetAverageScore { + type AverageScore = Set; type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; - type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type TotalScore = S::TotalScore; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `highest_score` field to Set pub struct SetHighestScore(PhantomData S>); impl sealed::Sealed for SetHighestScore {} impl State for SetHighestScore { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type AverageScore = S::AverageScore; type HighestScore = Set; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; - type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type TotalScore = S::TotalScore; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `games_played` field to Set pub struct SetGamesPlayed(PhantomData S>); impl sealed::Sealed for SetGamesPlayed {} impl State for SetGamesPlayed { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type AverageScore = S::AverageScore; type HighestScore = S::HighestScore; type GamesPlayed = Set; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; + type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; type TotalScore = S::TotalScore; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `times_twenty_forty_eight_been_found` field to Set + pub struct SetTimesTwentyFortyEightBeenFound( + PhantomData S>, + ); + impl sealed::Sealed for SetTimesTwentyFortyEightBeenFound {} + impl State for SetTimesTwentyFortyEightBeenFound { type AverageScore = S::AverageScore; + type HighestScore = S::HighestScore; + type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = Set< + members::times_twenty_forty_eight_been_found, + >; + type SyncStatus = S::SyncStatus; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type TotalScore = S::TotalScore; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `sync_status` field to Set pub struct SetSyncStatus(PhantomData S>); impl sealed::Sealed for SetSyncStatus {} impl State for SetSyncStatus { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type AverageScore = S::AverageScore; type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = Set; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; - type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; - type HighestScore = S::HighestScore; - type GamesPlayed = S::GamesPlayed; - type SyncStatus = S::SyncStatus; - type CreatedAt = Set; - type HighestNumberBlock = S::HighestNumberBlock; type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; - type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `highest_number_block` field to Set - pub struct SetHighestNumberBlock(PhantomData S>); - impl sealed::Sealed for SetHighestNumberBlock {} - impl State for SetHighestNumberBlock { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + ///State transition - sets the `least_moves_to_find_twenty_forty_eight` field to Set + pub struct SetLeastMovesToFindTwentyFortyEight( + PhantomData S>, + ); + impl sealed::Sealed for SetLeastMovesToFindTwentyFortyEight {} + impl State for SetLeastMovesToFindTwentyFortyEight { + type AverageScore = S::AverageScore; type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = Set; + type LeastMovesToFindTwentyFortyEight = Set< + members::least_moves_to_find_twenty_forty_eight, + >; type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; - type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `total_score` field to Set pub struct SetTotalScore(PhantomData S>); impl sealed::Sealed for SetTotalScore {} impl State for SetTotalScore { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + type AverageScore = S::AverageScore; type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; - type TotalScore = Set; - type AverageScore = S::AverageScore; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type TotalScore = Set; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `average_score` field to Set - pub struct SetAverageScore(PhantomData S>); - impl sealed::Sealed for SetAverageScore {} - impl State for SetAverageScore { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + ///State transition - sets the `highest_number_block` field to Set + pub struct SetHighestNumberBlock(PhantomData S>); + impl sealed::Sealed for SetHighestNumberBlock {} + impl State for SetHighestNumberBlock { + type AverageScore = S::AverageScore; type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; - type TotalScore = S::TotalScore; - type AverageScore = Set; type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; + type TotalScore = S::TotalScore; + type HighestNumberBlock = Set; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `least_moves_to_find_twenty_forty_eight` field to Set - pub struct SetLeastMovesToFindTwentyFortyEight( - PhantomData S>, - ); - impl sealed::Sealed for SetLeastMovesToFindTwentyFortyEight {} - impl State for SetLeastMovesToFindTwentyFortyEight { - type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type AverageScore = S::AverageScore; type HighestScore = S::HighestScore; type GamesPlayed = S::GamesPlayed; + type TimesTwentyFortyEightBeenFound = S::TimesTwentyFortyEightBeenFound; type SyncStatus = S::SyncStatus; - type CreatedAt = S::CreatedAt; - type HighestNumberBlock = S::HighestNumberBlock; + type LeastMovesToFindTwentyFortyEight = S::LeastMovesToFindTwentyFortyEight; type TotalScore = S::TotalScore; - type AverageScore = S::AverageScore; - type LeastMovesToFindTwentyFortyEight = Set< - members::least_moves_to_find_twenty_forty_eight, - >; + type HighestNumberBlock = S::HighestNumberBlock; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `times_twenty_forty_eight_been_found` field - pub struct times_twenty_forty_eight_been_found(()); + ///Marker type for the `average_score` field + pub struct average_score(()); ///Marker type for the `highest_score` field pub struct highest_score(()); ///Marker type for the `games_played` field pub struct games_played(()); + ///Marker type for the `times_twenty_forty_eight_been_found` field + pub struct times_twenty_forty_eight_been_found(()); ///Marker type for the `sync_status` field pub struct sync_status(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `highest_number_block` field - pub struct highest_number_block(()); - ///Marker type for the `total_score` field - pub struct total_score(()); - ///Marker type for the `average_score` field - pub struct average_score(()); ///Marker type for the `least_moves_to_find_twenty_forty_eight` field pub struct least_moves_to_find_twenty_forty_eight(()); + ///Marker type for the `total_score` field + pub struct total_score(()); + ///Marker type for the `highest_number_block` field + pub struct highest_number_block(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -449,15 +449,15 @@ where impl<'a, S> StatsBuilder<'a, S> where S: stats_state::State, - S::TimesTwentyFortyEightBeenFound: stats_state::IsSet, + S::AverageScore: stats_state::IsSet, S::HighestScore: stats_state::IsSet, S::GamesPlayed: stats_state::IsSet, + S::TimesTwentyFortyEightBeenFound: stats_state::IsSet, S::SyncStatus: stats_state::IsSet, - S::CreatedAt: stats_state::IsSet, - S::HighestNumberBlock: stats_state::IsSet, - S::TotalScore: stats_state::IsSet, - S::AverageScore: stats_state::IsSet, S::LeastMovesToFindTwentyFortyEight: stats_state::IsSet, + S::TotalScore: stats_state::IsSet, + S::HighestNumberBlock: stats_state::IsSet, + S::CreatedAt: stats_state::IsSet, { /// Build the final struct pub fn build(self) -> Stats<'a> { diff --git a/crates/jacquard-api/src/blue__2048/verification.rs b/crates/jacquard-api/src/blue__2048/verification.rs index eb6b544d..577655e9 100644 --- a/crates/jacquard-api/src/blue__2048/verification.rs +++ b/crates/jacquard-api/src/blue__2048/verification.rs @@ -46,83 +46,83 @@ pub mod verification_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Signature; + type CreatedAt; type KeyRef; type RecordRef; - type CreatedAt; + type Signature; type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Signature = Unset; + type CreatedAt = Unset; type KeyRef = Unset; type RecordRef = Unset; - type CreatedAt = Unset; + type Signature = Unset; type Subject = Unset; } - ///State transition - sets the `signature` field to Set - pub struct SetSignature(PhantomData S>); - impl sealed::Sealed for SetSignature {} - impl State for SetSignature { - type Signature = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type KeyRef = S::KeyRef; type RecordRef = S::RecordRef; - type CreatedAt = S::CreatedAt; + type Signature = S::Signature; type Subject = S::Subject; } ///State transition - sets the `key_ref` field to Set pub struct SetKeyRef(PhantomData S>); impl sealed::Sealed for SetKeyRef {} impl State for SetKeyRef { - type Signature = S::Signature; + type CreatedAt = S::CreatedAt; type KeyRef = Set; type RecordRef = S::RecordRef; - type CreatedAt = S::CreatedAt; + type Signature = S::Signature; type Subject = S::Subject; } ///State transition - sets the `record_ref` field to Set pub struct SetRecordRef(PhantomData S>); impl sealed::Sealed for SetRecordRef {} impl State for SetRecordRef { - type Signature = S::Signature; + type CreatedAt = S::CreatedAt; type KeyRef = S::KeyRef; type RecordRef = Set; - type CreatedAt = S::CreatedAt; + type Signature = S::Signature; type Subject = S::Subject; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Signature = S::Signature; + ///State transition - sets the `signature` field to Set + pub struct SetSignature(PhantomData S>); + impl sealed::Sealed for SetSignature {} + impl State for SetSignature { + type CreatedAt = S::CreatedAt; type KeyRef = S::KeyRef; type RecordRef = S::RecordRef; - type CreatedAt = Set; + type Signature = Set; type Subject = S::Subject; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Signature = S::Signature; + type CreatedAt = S::CreatedAt; type KeyRef = S::KeyRef; type RecordRef = S::RecordRef; - type CreatedAt = S::CreatedAt; + type Signature = S::Signature; type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `signature` field - pub struct signature(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `key_ref` field pub struct key_ref(()); ///Marker type for the `record_ref` field pub struct record_ref(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `signature` field + pub struct signature(()); ///Marker type for the `subject` field pub struct subject(()); } @@ -257,10 +257,10 @@ where impl<'a, S> VerificationRefBuilder<'a, S> where S: verification_ref_state::State, - S::Signature: verification_ref_state::IsSet, + S::CreatedAt: verification_ref_state::IsSet, S::KeyRef: verification_ref_state::IsSet, S::RecordRef: verification_ref_state::IsSet, - S::CreatedAt: verification_ref_state::IsSet, + S::Signature: verification_ref_state::IsSet, S::Subject: verification_ref_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/blue_recipes/feed.rs b/crates/jacquard-api/src/blue_recipes/feed.rs index 9e20ce9a..52c6464e 100644 --- a/crates/jacquard-api/src/blue_recipes/feed.rs +++ b/crates/jacquard-api/src/blue_recipes/feed.rs @@ -371,85 +371,85 @@ pub mod recipe_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; - type Author; - type IndexedAt; type Uri; type Cid; + type Record; + type IndexedAt; + type Author; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; - type Author = Unset; - type IndexedAt = Unset; type Uri = Unset; type Cid = Unset; + type Record = Unset; + type IndexedAt = Unset; + type Author = Unset; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Cid = S::Cid; + type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Author = S::Author; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; + type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Author = S::Author; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Record = Set; - type Author = S::Author; - type IndexedAt = S::IndexedAt; type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Record = S::Record; - type Author = Set; + type Record = Set; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Cid = S::Cid; + type Author = S::Author; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Record = S::Record; - type Author = S::Author; - type IndexedAt = Set; type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Record = S::Record; + type IndexedAt = Set; type Author = S::Author; - type IndexedAt = S::IndexedAt; - type Uri = Set; - type Cid = S::Cid; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Uri = S::Uri; + type Cid = S::Cid; type Record = S::Record; - type Author = S::Author; type IndexedAt = S::IndexedAt; - type Uri = S::Uri; - type Cid = Set; + type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `author` field - pub struct author(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `record` field + pub struct record(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `author` field + pub struct author(()); } } @@ -582,11 +582,11 @@ where impl<'a, S> RecipeViewBuilder<'a, S> where S: recipe_view_state::State, - S::Record: recipe_view_state::IsSet, - S::Author: recipe_view_state::IsSet, - S::IndexedAt: recipe_view_state::IsSet, S::Uri: recipe_view_state::IsSet, S::Cid: recipe_view_state::IsSet, + S::Record: recipe_view_state::IsSet, + S::IndexedAt: recipe_view_state::IsSet, + S::Author: recipe_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RecipeView<'a> { diff --git a/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs b/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs index cf101136..5fa53e7d 100644 --- a/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs +++ b/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs @@ -148,8 +148,8 @@ pub enum GetRecipeError<'a> { InvalidUri(std::option::Option>), } -impl std::fmt::Display for GetRecipeError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRecipeError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotFound(msg) => { write!(f, "NotFound")?; diff --git a/crates/jacquard-api/src/blue_recipes/feed/recipe.rs b/crates/jacquard-api/src/blue_recipes/feed/recipe.rs index 530e2c69..4e9b1572 100644 --- a/crates/jacquard-api/src/blue_recipes/feed/recipe.rs +++ b/crates/jacquard-api/src/blue_recipes/feed/recipe.rs @@ -362,51 +362,51 @@ pub mod recipe_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Steps; - type Title; type Ingredients; + type Title; + type Steps; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Steps = Unset; - type Title = Unset; type Ingredients = Unset; + type Title = Unset; + type Steps = Unset; } - ///State transition - sets the `steps` field to Set - pub struct SetSteps(PhantomData S>); - impl sealed::Sealed for SetSteps {} - impl State for SetSteps { - type Steps = Set; + ///State transition - sets the `ingredients` field to Set + pub struct SetIngredients(PhantomData S>); + impl sealed::Sealed for SetIngredients {} + impl State for SetIngredients { + type Ingredients = Set; type Title = S::Title; - type Ingredients = S::Ingredients; + type Steps = S::Steps; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Steps = S::Steps; - type Title = Set; type Ingredients = S::Ingredients; - } - ///State transition - sets the `ingredients` field to Set - pub struct SetIngredients(PhantomData S>); - impl sealed::Sealed for SetIngredients {} - impl State for SetIngredients { + type Title = Set; type Steps = S::Steps; + } + ///State transition - sets the `steps` field to Set + pub struct SetSteps(PhantomData S>); + impl sealed::Sealed for SetSteps {} + impl State for SetSteps { + type Ingredients = S::Ingredients; type Title = S::Title; - type Ingredients = Set; + type Steps = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `steps` field - pub struct steps(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `ingredients` field pub struct ingredients(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `steps` field + pub struct steps(()); } } @@ -587,9 +587,9 @@ where impl<'a, S> RecipeBuilder<'a, S> where S: recipe_state::State, - S::Steps: recipe_state::IsSet, - S::Title: recipe_state::IsSet, S::Ingredients: recipe_state::IsSet, + S::Title: recipe_state::IsSet, + S::Steps: recipe_state::IsSet, { /// Build the final struct pub fn build(self) -> Recipe<'a> { diff --git a/crates/jacquard-api/src/blue_rito/feed/bookmark.rs b/crates/jacquard-api/src/blue_rito/feed/bookmark.rs index 590c9ec5..c6309306 100644 --- a/crates/jacquard-api/src/blue_rito/feed/bookmark.rs +++ b/crates/jacquard-api/src/blue_rito/feed/bookmark.rs @@ -420,50 +420,50 @@ pub mod bookmark_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Comments; - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Comments = Unset; - type CreatedAt = Unset; type Subject = Unset; + type CreatedAt = Unset; } ///State transition - sets the `comments` field to Set pub struct SetComments(PhantomData S>); impl sealed::Sealed for SetComments {} impl State for SetComments { type Comments = Set; - type CreatedAt = S::CreatedAt; - type Subject = S::Subject; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Comments = S::Comments; - type CreatedAt = Set; type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type Comments = S::Comments; - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Comments = S::Comments; + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `comments` field pub struct comments(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -637,8 +637,8 @@ impl<'a, S> BookmarkBuilder<'a, S> where S: bookmark_state::State, S::Comments: bookmark_state::IsSet, - S::CreatedAt: bookmark_state::IsSet, S::Subject: bookmark_state::IsSet, + S::CreatedAt: bookmark_state::IsSet, { /// Build the final struct pub fn build(self) -> Bookmark<'a> { diff --git a/crates/jacquard-api/src/blue_rito/label/auto/like.rs b/crates/jacquard-api/src/blue_rito/label/auto/like.rs index 099cfb3a..e29eb781 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/like.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/like.rs @@ -36,37 +36,37 @@ pub mod like_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> LikeBuilder<'a, S> where S: like_state::State, - S::Subject: like_state::IsSet, S::CreatedAt: like_state::IsSet, + S::Subject: like_state::IsSet, { /// Build the final struct pub fn build(self) -> Like<'a> { diff --git a/crates/jacquard-api/src/blue_rito/label/auto/post.rs b/crates/jacquard-api/src/blue_rito/label/auto/post.rs index 383f2f1a..5aa13ae9 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/post.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/post.rs @@ -46,85 +46,85 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Condition; type Label; - type AppliedTo; + type Condition; type DurationInHours; type CreatedAt; + type AppliedTo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Condition = Unset; type Label = Unset; - type AppliedTo = Unset; + type Condition = Unset; type DurationInHours = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `condition` field to Set - pub struct SetCondition(PhantomData S>); - impl sealed::Sealed for SetCondition {} - impl State for SetCondition { - type Condition = Set; - type Label = S::Label; - type AppliedTo = S::AppliedTo; - type DurationInHours = S::DurationInHours; - type CreatedAt = S::CreatedAt; + type AppliedTo = Unset; } ///State transition - sets the `label` field to Set pub struct SetLabel(PhantomData S>); impl sealed::Sealed for SetLabel {} impl State for SetLabel { - type Condition = S::Condition; type Label = Set; - type AppliedTo = S::AppliedTo; + type Condition = S::Condition; type DurationInHours = S::DurationInHours; type CreatedAt = S::CreatedAt; + type AppliedTo = S::AppliedTo; } - ///State transition - sets the `applied_to` field to Set - pub struct SetAppliedTo(PhantomData S>); - impl sealed::Sealed for SetAppliedTo {} - impl State for SetAppliedTo { - type Condition = S::Condition; + ///State transition - sets the `condition` field to Set + pub struct SetCondition(PhantomData S>); + impl sealed::Sealed for SetCondition {} + impl State for SetCondition { type Label = S::Label; - type AppliedTo = Set; + type Condition = Set; type DurationInHours = S::DurationInHours; type CreatedAt = S::CreatedAt; + type AppliedTo = S::AppliedTo; } ///State transition - sets the `duration_in_hours` field to Set pub struct SetDurationInHours(PhantomData S>); impl sealed::Sealed for SetDurationInHours {} impl State for SetDurationInHours { - type Condition = S::Condition; type Label = S::Label; - type AppliedTo = S::AppliedTo; + type Condition = S::Condition; type DurationInHours = Set; type CreatedAt = S::CreatedAt; + type AppliedTo = S::AppliedTo; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Condition = S::Condition; type Label = S::Label; - type AppliedTo = S::AppliedTo; + type Condition = S::Condition; type DurationInHours = S::DurationInHours; type CreatedAt = Set; + type AppliedTo = S::AppliedTo; + } + ///State transition - sets the `applied_to` field to Set + pub struct SetAppliedTo(PhantomData S>); + impl sealed::Sealed for SetAppliedTo {} + impl State for SetAppliedTo { + type Label = S::Label; + type Condition = S::Condition; + type DurationInHours = S::DurationInHours; + type CreatedAt = S::CreatedAt; + type AppliedTo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `condition` field - pub struct condition(()); ///Marker type for the `label` field pub struct label(()); - ///Marker type for the `applied_to` field - pub struct applied_to(()); + ///Marker type for the `condition` field + pub struct condition(()); ///Marker type for the `duration_in_hours` field pub struct duration_in_hours(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `applied_to` field + pub struct applied_to(()); } } @@ -274,11 +274,11 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Condition: post_state::IsSet, S::Label: post_state::IsSet, - S::AppliedTo: post_state::IsSet, + S::Condition: post_state::IsSet, S::DurationInHours: post_state::IsSet, S::CreatedAt: post_state::IsSet, + S::AppliedTo: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/blue_rito/service/get_schema.rs b/crates/jacquard-api/src/blue_rito/service/get_schema.rs index 9de7c7e6..61f6834d 100644 --- a/crates/jacquard-api/src/blue_rito/service/get_schema.rs +++ b/crates/jacquard-api/src/blue_rito/service/get_schema.rs @@ -38,51 +38,51 @@ pub mod langs_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Lang; type Moderation; type Title; + type Lang; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Lang = Unset; type Moderation = Unset; type Title = Unset; - } - ///State transition - sets the `lang` field to Set - pub struct SetLang(PhantomData S>); - impl sealed::Sealed for SetLang {} - impl State for SetLang { - type Lang = Set; - type Moderation = S::Moderation; - type Title = S::Title; + type Lang = Unset; } ///State transition - sets the `moderation` field to Set pub struct SetModeration(PhantomData S>); impl sealed::Sealed for SetModeration {} impl State for SetModeration { - type Lang = S::Lang; type Moderation = Set; type Title = S::Title; + type Lang = S::Lang; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Lang = S::Lang; type Moderation = S::Moderation; type Title = Set; + type Lang = S::Lang; + } + ///State transition - sets the `lang` field to Set + pub struct SetLang(PhantomData S>); + impl sealed::Sealed for SetLang {} + impl State for SetLang { + type Moderation = S::Moderation; + type Title = S::Title; + type Lang = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `lang` field - pub struct lang(()); ///Marker type for the `moderation` field pub struct moderation(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `lang` field + pub struct lang(()); } } @@ -192,9 +192,9 @@ where impl<'a, S> LangsBuilder<'a, S> where S: langs_state::State, - S::Lang: langs_state::IsSet, S::Moderation: langs_state::IsSet, S::Title: langs_state::IsSet, + S::Lang: langs_state::IsSet, { /// Build the final struct pub fn build(self) -> Langs<'a> { diff --git a/crates/jacquard-api/src/buzz_bookhive.rs b/crates/jacquard-api/src/buzz_bookhive.rs index c73ccb09..ae02e95e 100644 --- a/crates/jacquard-api/src/buzz_bookhive.rs +++ b/crates/jacquard-api/src/buzz_bookhive.rs @@ -50,7 +50,7 @@ pub struct Activity<'a> { #[serde(borrow)] pub title: jacquard_common::CowStr<'a>, #[serde(borrow)] - pub r#type: jacquard_common::CowStr<'a>, + pub r#type: ActivityType<'a>, /// The DID of the user who added the book #[serde(borrow)] pub user_did: jacquard_common::CowStr<'a>, @@ -69,105 +69,105 @@ pub mod activity_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type UserHandle; type Type; - type Title; - type UserDid; type HiveId; - type UserHandle; type CreatedAt; + type Title; + type UserDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type UserHandle = Unset; type Type = Unset; - type Title = Unset; - type UserDid = Unset; type HiveId = Unset; - type UserHandle = Unset; type CreatedAt = Unset; + type Title = Unset; + type UserDid = Unset; + } + ///State transition - sets the `user_handle` field to Set + pub struct SetUserHandle(PhantomData S>); + impl sealed::Sealed for SetUserHandle {} + impl State for SetUserHandle { + type UserHandle = Set; + type Type = S::Type; + type HiveId = S::HiveId; + type CreatedAt = S::CreatedAt; + type Title = S::Title; + type UserDid = S::UserDid; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Type = Set; - type Title = S::Title; - type UserDid = S::UserDid; - type HiveId = S::HiveId; type UserHandle = S::UserHandle; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Type = S::Type; - type Title = Set; - type UserDid = S::UserDid; + type Type = Set; type HiveId = S::HiveId; - type UserHandle = S::UserHandle; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `user_did` field to Set - pub struct SetUserDid(PhantomData S>); - impl sealed::Sealed for SetUserDid {} - impl State for SetUserDid { - type Type = S::Type; type Title = S::Title; - type UserDid = Set; - type HiveId = S::HiveId; - type UserHandle = S::UserHandle; - type CreatedAt = S::CreatedAt; + type UserDid = S::UserDid; } ///State transition - sets the `hive_id` field to Set pub struct SetHiveId(PhantomData S>); impl sealed::Sealed for SetHiveId {} impl State for SetHiveId { + type UserHandle = S::UserHandle; type Type = S::Type; - type Title = S::Title; - type UserDid = S::UserDid; type HiveId = Set; - type UserHandle = S::UserHandle; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `user_handle` field to Set - pub struct SetUserHandle(PhantomData S>); - impl sealed::Sealed for SetUserHandle {} - impl State for SetUserHandle { - type Type = S::Type; type Title = S::Title; type UserDid = S::UserDid; - type HiveId = S::HiveId; - type UserHandle = Set; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type UserHandle = S::UserHandle; type Type = S::Type; + type HiveId = S::HiveId; + type CreatedAt = Set; type Title = S::Title; type UserDid = S::UserDid; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type UserHandle = S::UserHandle; + type Type = S::Type; type HiveId = S::HiveId; + type CreatedAt = S::CreatedAt; + type Title = Set; + type UserDid = S::UserDid; + } + ///State transition - sets the `user_did` field to Set + pub struct SetUserDid(PhantomData S>); + impl sealed::Sealed for SetUserDid {} + impl State for SetUserDid { type UserHandle = S::UserHandle; - type CreatedAt = Set; + type Type = S::Type; + type HiveId = S::HiveId; + type CreatedAt = S::CreatedAt; + type Title = S::Title; + type UserDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `user_handle` field + pub struct user_handle(()); ///Marker type for the `type` field pub struct r#type(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `user_did` field - pub struct user_did(()); ///Marker type for the `hive_id` field pub struct hive_id(()); - ///Marker type for the `user_handle` field - pub struct user_handle(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `user_did` field + pub struct user_did(()); } } @@ -178,7 +178,7 @@ pub struct ActivityBuilder<'a, S: activity_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -268,7 +268,7 @@ where /// Set the `type` field (required) pub fn r#type( mut self, - value: impl Into>, + value: impl Into>, ) -> ActivityBuilder<'a, activity_state::SetType> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); ActivityBuilder { @@ -320,12 +320,12 @@ where impl<'a, S> ActivityBuilder<'a, S> where S: activity_state::State, + S::UserHandle: activity_state::IsSet, S::Type: activity_state::IsSet, - S::Title: activity_state::IsSet, - S::UserDid: activity_state::IsSet, S::HiveId: activity_state::IsSet, - S::UserHandle: activity_state::IsSet, S::CreatedAt: activity_state::IsSet, + S::Title: activity_state::IsSet, + S::UserDid: activity_state::IsSet, { /// Build the final struct pub fn build(self) -> Activity<'a> { @@ -359,6 +359,104 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ActivityType<'a> { + Review, + Rated, + Started, + Finished, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ActivityType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Review => "review", + Self::Rated => "rated", + Self::Started => "started", + Self::Finished => "finished", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ActivityType<'a> { + fn from(s: &'a str) -> Self { + match s { + "review" => Self::Review, + "rated" => Self::Rated, + "started" => Self::Started, + "finished" => Self::Finished, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ActivityType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "review" => Self::Review, + "rated" => Self::Rated, + "started" => Self::Started, + "finished" => Self::Finished, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ActivityType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ActivityType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ActivityType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ActivityType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ActivityType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ActivityType<'_> { + type Output = ActivityType<'static>; + fn into_static(self) -> Self::Output { + match self { + ActivityType::Review => ActivityType::Review, + ActivityType::Rated => ActivityType::Rated, + ActivityType::Started => ActivityType::Started, + ActivityType::Finished => ActivityType::Finished, + ActivityType::Other(v) => ActivityType::Other(v.into_static()), + } + } +} + fn lexicon_doc_buzz_bookhive_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, @@ -1656,105 +1754,105 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; - type Book; - type Comment; type Parent; - type Handle; + type Comment; type CreatedAt; + type Handle; + type Did; + type Book; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; - type Book = Unset; - type Comment = Unset; type Parent = Unset; - type Handle = Unset; + type Comment = Unset; type CreatedAt = Unset; + type Handle = Unset; + type Did = Unset; + type Book = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Book = S::Book; + ///State transition - sets the `parent` field to Set + pub struct SetParent(PhantomData S>); + impl sealed::Sealed for SetParent {} + impl State for SetParent { + type Parent = Set; type Comment = S::Comment; - type Parent = S::Parent; - type Handle = S::Handle; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `book` field to Set - pub struct SetBook(PhantomData S>); - impl sealed::Sealed for SetBook {} - impl State for SetBook { - type Did = S::Did; - type Book = Set; - type Comment = S::Comment; - type Parent = S::Parent; type Handle = S::Handle; - type CreatedAt = S::CreatedAt; + type Did = S::Did; + type Book = S::Book; } ///State transition - sets the `comment` field to Set pub struct SetComment(PhantomData S>); impl sealed::Sealed for SetComment {} impl State for SetComment { - type Did = S::Did; - type Book = S::Book; - type Comment = Set; type Parent = S::Parent; - type Handle = S::Handle; + type Comment = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `parent` field to Set - pub struct SetParent(PhantomData S>); - impl sealed::Sealed for SetParent {} - impl State for SetParent { + type Handle = S::Handle; type Did = S::Did; type Book = S::Book; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Parent = S::Parent; type Comment = S::Comment; - type Parent = Set; + type CreatedAt = Set; type Handle = S::Handle; - type CreatedAt = S::CreatedAt; + type Did = S::Did; + type Book = S::Book; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; - type Book = S::Book; - type Comment = S::Comment; type Parent = S::Parent; - type Handle = Set; + type Comment = S::Comment; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Handle = Set; type Did = S::Did; type Book = S::Book; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Parent = S::Parent; type Comment = S::Comment; + type CreatedAt = S::CreatedAt; + type Handle = S::Handle; + type Did = Set; + type Book = S::Book; + } + ///State transition - sets the `book` field to Set + pub struct SetBook(PhantomData S>); + impl sealed::Sealed for SetBook {} + impl State for SetBook { type Parent = S::Parent; + type Comment = S::Comment; + type CreatedAt = S::CreatedAt; type Handle = S::Handle; - type CreatedAt = Set; + type Did = S::Did; + type Book = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `book` field - pub struct book(()); - ///Marker type for the `comment` field - pub struct comment(()); ///Marker type for the `parent` field pub struct parent(()); - ///Marker type for the `handle` field - pub struct handle(()); + ///Marker type for the `comment` field + pub struct comment(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `handle` field + pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `book` field + pub struct book(()); } } @@ -1907,12 +2005,12 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::Did: comment_state::IsSet, - S::Book: comment_state::IsSet, - S::Comment: comment_state::IsSet, S::Parent: comment_state::IsSet, - S::Handle: comment_state::IsSet, + S::Comment: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, + S::Handle: comment_state::IsSet, + S::Did: comment_state::IsSet, + S::Book: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { @@ -2070,67 +2168,67 @@ pub mod profile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type BooksRead; type DisplayName; type Reviews; type Handle; + type BooksRead; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type BooksRead = Unset; type DisplayName = Unset; type Reviews = Unset; type Handle = Unset; - } - ///State transition - sets the `books_read` field to Set - pub struct SetBooksRead(PhantomData S>); - impl sealed::Sealed for SetBooksRead {} - impl State for SetBooksRead { - type BooksRead = Set; - type DisplayName = S::DisplayName; - type Reviews = S::Reviews; - type Handle = S::Handle; + type BooksRead = Unset; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type BooksRead = S::BooksRead; type DisplayName = Set; type Reviews = S::Reviews; type Handle = S::Handle; + type BooksRead = S::BooksRead; } ///State transition - sets the `reviews` field to Set pub struct SetReviews(PhantomData S>); impl sealed::Sealed for SetReviews {} impl State for SetReviews { - type BooksRead = S::BooksRead; type DisplayName = S::DisplayName; type Reviews = Set; type Handle = S::Handle; + type BooksRead = S::BooksRead; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type BooksRead = S::BooksRead; type DisplayName = S::DisplayName; type Reviews = S::Reviews; type Handle = Set; + type BooksRead = S::BooksRead; + } + ///State transition - sets the `books_read` field to Set + pub struct SetBooksRead(PhantomData S>); + impl sealed::Sealed for SetBooksRead {} + impl State for SetBooksRead { + type DisplayName = S::DisplayName; + type Reviews = S::Reviews; + type Handle = S::Handle; + type BooksRead = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `books_read` field - pub struct books_read(()); ///Marker type for the `display_name` field pub struct display_name(()); ///Marker type for the `reviews` field pub struct reviews(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `books_read` field + pub struct books_read(()); } } @@ -2294,10 +2392,10 @@ where impl<'a, S> ProfileBuilder<'a, S> where S: profile_state::State, - S::BooksRead: profile_state::IsSet, S::DisplayName: profile_state::IsSet, S::Reviews: profile_state::IsSet, S::Handle: profile_state::IsSet, + S::BooksRead: profile_state::IsSet, { /// Build the final struct pub fn build(self) -> Profile<'a> { @@ -2718,7 +2816,7 @@ pub struct UserBook<'a> { pub started_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, /// Cover image of the book #[serde(borrow)] pub thumbnail: jacquard_common::CowStr<'a>, @@ -2746,10 +2844,10 @@ pub mod user_book_state { pub trait State: sealed::Sealed { type Authors; type CreatedAt; - type Thumbnail; type Title; - type HiveId; + type Thumbnail; type UserDid; + type HiveId; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -2757,10 +2855,10 @@ pub mod user_book_state { impl State for Empty { type Authors = Unset; type CreatedAt = Unset; - type Thumbnail = Unset; type Title = Unset; - type HiveId = Unset; + type Thumbnail = Unset; type UserDid = Unset; + type HiveId = Unset; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); @@ -2768,10 +2866,10 @@ pub mod user_book_state { impl State for SetAuthors { type Authors = Set; type CreatedAt = S::CreatedAt; - type Thumbnail = S::Thumbnail; type Title = S::Title; - type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type UserDid = S::UserDid; + type HiveId = S::HiveId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); @@ -2779,21 +2877,10 @@ pub mod user_book_state { impl State for SetCreatedAt { type Authors = S::Authors; type CreatedAt = Set; - type Thumbnail = S::Thumbnail; type Title = S::Title; - type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type UserDid = S::UserDid; - } - ///State transition - sets the `thumbnail` field to Set - pub struct SetThumbnail(PhantomData S>); - impl sealed::Sealed for SetThumbnail {} - impl State for SetThumbnail { - type Authors = S::Authors; - type CreatedAt = S::CreatedAt; - type Thumbnail = Set; - type Title = S::Title; type HiveId = S::HiveId; - type UserDid = S::UserDid; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); @@ -2801,21 +2888,21 @@ pub mod user_book_state { impl State for SetTitle { type Authors = S::Authors; type CreatedAt = S::CreatedAt; - type Thumbnail = S::Thumbnail; type Title = Set; - type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type UserDid = S::UserDid; + type HiveId = S::HiveId; } - ///State transition - sets the `hive_id` field to Set - pub struct SetHiveId(PhantomData S>); - impl sealed::Sealed for SetHiveId {} - impl State for SetHiveId { + ///State transition - sets the `thumbnail` field to Set + pub struct SetThumbnail(PhantomData S>); + impl sealed::Sealed for SetThumbnail {} + impl State for SetThumbnail { type Authors = S::Authors; type CreatedAt = S::CreatedAt; - type Thumbnail = S::Thumbnail; type Title = S::Title; - type HiveId = Set; + type Thumbnail = Set; type UserDid = S::UserDid; + type HiveId = S::HiveId; } ///State transition - sets the `user_did` field to Set pub struct SetUserDid(PhantomData S>); @@ -2823,10 +2910,21 @@ pub mod user_book_state { impl State for SetUserDid { type Authors = S::Authors; type CreatedAt = S::CreatedAt; - type Thumbnail = S::Thumbnail; type Title = S::Title; - type HiveId = S::HiveId; + type Thumbnail = S::Thumbnail; type UserDid = Set; + type HiveId = S::HiveId; + } + ///State transition - sets the `hive_id` field to Set + pub struct SetHiveId(PhantomData S>); + impl sealed::Sealed for SetHiveId {} + impl State for SetHiveId { + type Authors = S::Authors; + type CreatedAt = S::CreatedAt; + type Title = S::Title; + type Thumbnail = S::Thumbnail; + type UserDid = S::UserDid; + type HiveId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -2835,14 +2933,14 @@ pub mod user_book_state { pub struct authors(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `thumbnail` field - pub struct thumbnail(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `hive_id` field - pub struct hive_id(()); + ///Marker type for the `thumbnail` field + pub struct thumbnail(()); ///Marker type for the `user_did` field pub struct user_did(()); + ///Marker type for the `hive_id` field + pub struct hive_id(()); } } @@ -2861,7 +2959,7 @@ pub struct UserBookBuilder<'a, S: user_book_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -3098,15 +3196,12 @@ impl<'a, S: user_book_state::State> UserBookBuilder<'a, S> { impl<'a, S: user_book_state::State> UserBookBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.11 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.11 = value; self } @@ -3193,10 +3288,10 @@ where S: user_book_state::State, S::Authors: user_book_state::IsSet, S::CreatedAt: user_book_state::IsSet, - S::Thumbnail: user_book_state::IsSet, S::Title: user_book_state::IsSet, - S::HiveId: user_book_state::IsSet, + S::Thumbnail: user_book_state::IsSet, S::UserDid: user_book_state::IsSet, + S::HiveId: user_book_state::IsSet, { /// Build the final struct pub fn build(self) -> UserBook<'a> { @@ -3250,6 +3345,109 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UserBookStatus<'a> { + Finished, + Reading, + WantToRead, + Abandoned, + Owned, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UserBookStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Finished => "buzz.bookhive.defs#finished", + Self::Reading => "buzz.bookhive.defs#reading", + Self::WantToRead => "buzz.bookhive.defs#wantToRead", + Self::Abandoned => "buzz.bookhive.defs#abandoned", + Self::Owned => "buzz.bookhive.defs#owned", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UserBookStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "buzz.bookhive.defs#finished" => Self::Finished, + "buzz.bookhive.defs#reading" => Self::Reading, + "buzz.bookhive.defs#wantToRead" => Self::WantToRead, + "buzz.bookhive.defs#abandoned" => Self::Abandoned, + "buzz.bookhive.defs#owned" => Self::Owned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UserBookStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "buzz.bookhive.defs#finished" => Self::Finished, + "buzz.bookhive.defs#reading" => Self::Reading, + "buzz.bookhive.defs#wantToRead" => Self::WantToRead, + "buzz.bookhive.defs#abandoned" => Self::Abandoned, + "buzz.bookhive.defs#owned" => Self::Owned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UserBookStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UserBookStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UserBookStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UserBookStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UserBookStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UserBookStatus<'_> { + type Output = UserBookStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + UserBookStatus::Finished => UserBookStatus::Finished, + UserBookStatus::Reading => UserBookStatus::Reading, + UserBookStatus::WantToRead => UserBookStatus::WantToRead, + UserBookStatus::Abandoned => UserBookStatus::Abandoned, + UserBookStatus::Owned => UserBookStatus::Owned, + UserBookStatus::Other(v) => UserBookStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UserBook<'a> { fn nsid() -> &'static str { "buzz.bookhive.defs" diff --git a/crates/jacquard-api/src/buzz_bookhive/book.rs b/crates/jacquard-api/src/buzz_bookhive/book.rs index 42959a0e..a535a0ea 100644 --- a/crates/jacquard-api/src/buzz_bookhive/book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/book.rs @@ -48,7 +48,7 @@ pub struct Book<'a> { pub started_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, /// The title of the book #[serde(borrow)] pub title: jacquard_common::CowStr<'a>, @@ -64,67 +64,67 @@ pub mod book_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Authors; type HiveId; - type Title; type CreatedAt; + type Authors; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Authors = Unset; type HiveId = Unset; - type Title = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `authors` field to Set - pub struct SetAuthors(PhantomData S>); - impl sealed::Sealed for SetAuthors {} - impl State for SetAuthors { - type Authors = Set; - type HiveId = S::HiveId; - type Title = S::Title; - type CreatedAt = S::CreatedAt; + type Authors = Unset; + type Title = Unset; } ///State transition - sets the `hive_id` field to Set pub struct SetHiveId(PhantomData S>); impl sealed::Sealed for SetHiveId {} impl State for SetHiveId { - type Authors = S::Authors; type HiveId = Set; - type Title = S::Title; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type Authors = S::Authors; - type HiveId = S::HiveId; - type Title = Set; - type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type HiveId = S::HiveId; + type CreatedAt = Set; type Authors = S::Authors; + type Title = S::Title; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { type HiveId = S::HiveId; + type CreatedAt = S::CreatedAt; + type Authors = Set; type Title = S::Title; - type CreatedAt = Set; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type HiveId = S::HiveId; + type CreatedAt = S::CreatedAt; + type Authors = S::Authors; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `hive_id` field pub struct hive_id(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `authors` field + pub struct authors(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -141,7 +141,7 @@ pub struct BookBuilder<'a, S: book_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -341,15 +341,12 @@ impl<'a, S: book_state::State> BookBuilder<'a, S> { impl<'a, S: book_state::State> BookBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.9 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.9 = value; self } @@ -377,10 +374,10 @@ where impl<'a, S> BookBuilder<'a, S> where S: book_state::State, - S::Authors: book_state::IsSet, S::HiveId: book_state::IsSet, - S::Title: book_state::IsSet, S::CreatedAt: book_state::IsSet, + S::Authors: book_state::IsSet, + S::Title: book_state::IsSet, { /// Build the final struct pub fn build(self) -> Book<'a> { @@ -437,6 +434,109 @@ impl<'a> Book<'a> { } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum BookStatus<'a> { + Finished, + Reading, + WantToRead, + Abandoned, + Owned, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> BookStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Finished => "buzz.bookhive.defs#finished", + Self::Reading => "buzz.bookhive.defs#reading", + Self::WantToRead => "buzz.bookhive.defs#wantToRead", + Self::Abandoned => "buzz.bookhive.defs#abandoned", + Self::Owned => "buzz.bookhive.defs#owned", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for BookStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "buzz.bookhive.defs#finished" => Self::Finished, + "buzz.bookhive.defs#reading" => Self::Reading, + "buzz.bookhive.defs#wantToRead" => Self::WantToRead, + "buzz.bookhive.defs#abandoned" => Self::Abandoned, + "buzz.bookhive.defs#owned" => Self::Owned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for BookStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "buzz.bookhive.defs#finished" => Self::Finished, + "buzz.bookhive.defs#reading" => Self::Reading, + "buzz.bookhive.defs#wantToRead" => Self::WantToRead, + "buzz.bookhive.defs#abandoned" => Self::Abandoned, + "buzz.bookhive.defs#owned" => Self::Owned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for BookStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for BookStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for BookStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for BookStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for BookStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for BookStatus<'_> { + type Output = BookStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + BookStatus::Finished => BookStatus::Finished, + BookStatus::Reading => BookStatus::Reading, + BookStatus::WantToRead => BookStatus::WantToRead, + BookStatus::Abandoned => BookStatus::Abandoned, + BookStatus::Owned => BookStatus::Owned, + BookStatus::Other(v) => BookStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/buzz_bookhive/buzz.rs b/crates/jacquard-api/src/buzz_bookhive/buzz.rs index 25fc2b21..09dd9974 100644 --- a/crates/jacquard-api/src/buzz_bookhive/buzz.rs +++ b/crates/jacquard-api/src/buzz_bookhive/buzz.rs @@ -39,65 +39,65 @@ pub mod buzz_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Book; type Parent; - type CreatedAt; type Comment; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Book = Unset; type Parent = Unset; - type CreatedAt = Unset; type Comment = Unset; } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Book = S::Book; + type Parent = S::Parent; + type Comment = S::Comment; + } ///State transition - sets the `book` field to Set pub struct SetBook(PhantomData S>); impl sealed::Sealed for SetBook {} impl State for SetBook { + type CreatedAt = S::CreatedAt; type Book = Set; type Parent = S::Parent; - type CreatedAt = S::CreatedAt; type Comment = S::Comment; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type Book = S::Book; - type Parent = Set; type CreatedAt = S::CreatedAt; - type Comment = S::Comment; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Book = S::Book; - type Parent = S::Parent; - type CreatedAt = Set; + type Parent = Set; type Comment = S::Comment; } ///State transition - sets the `comment` field to Set pub struct SetComment(PhantomData S>); impl sealed::Sealed for SetComment {} impl State for SetComment { + type CreatedAt = S::CreatedAt; type Book = S::Book; type Parent = S::Parent; - type CreatedAt = S::CreatedAt; type Comment = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `book` field pub struct book(()); ///Marker type for the `parent` field pub struct parent(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `comment` field pub struct comment(()); } @@ -212,9 +212,9 @@ where impl<'a, S> BuzzBuilder<'a, S> where S: buzz_state::State, + S::CreatedAt: buzz_state::IsSet, S::Book: buzz_state::IsSet, S::Parent: buzz_state::IsSet, - S::CreatedAt: buzz_state::IsSet, S::Comment: buzz_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/buzz_bookhive/get_book.rs b/crates/jacquard-api/src/buzz_bookhive/get_book.rs index 0b05f0a4..8fdb8044 100644 --- a/crates/jacquard-api/src/buzz_bookhive/get_book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/get_book.rs @@ -159,7 +159,110 @@ pub struct GetBookOutput<'a> { pub started_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum GetBookOutputStatus<'a> { + Finished, + Reading, + WantToRead, + Abandoned, + Owned, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> GetBookOutputStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Finished => "buzz.bookhive.defs#finished", + Self::Reading => "buzz.bookhive.defs#reading", + Self::WantToRead => "buzz.bookhive.defs#wantToRead", + Self::Abandoned => "buzz.bookhive.defs#abandoned", + Self::Owned => "buzz.bookhive.defs#owned", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for GetBookOutputStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "buzz.bookhive.defs#finished" => Self::Finished, + "buzz.bookhive.defs#reading" => Self::Reading, + "buzz.bookhive.defs#wantToRead" => Self::WantToRead, + "buzz.bookhive.defs#abandoned" => Self::Abandoned, + "buzz.bookhive.defs#owned" => Self::Owned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for GetBookOutputStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "buzz.bookhive.defs#finished" => Self::Finished, + "buzz.bookhive.defs#reading" => Self::Reading, + "buzz.bookhive.defs#wantToRead" => Self::WantToRead, + "buzz.bookhive.defs#abandoned" => Self::Abandoned, + "buzz.bookhive.defs#owned" => Self::Owned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for GetBookOutputStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for GetBookOutputStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for GetBookOutputStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for GetBookOutputStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for GetBookOutputStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for GetBookOutputStatus<'_> { + type Output = GetBookOutputStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + GetBookOutputStatus::Finished => GetBookOutputStatus::Finished, + GetBookOutputStatus::Reading => GetBookOutputStatus::Reading, + GetBookOutputStatus::WantToRead => GetBookOutputStatus::WantToRead, + GetBookOutputStatus::Abandoned => GetBookOutputStatus::Abandoned, + GetBookOutputStatus::Owned => GetBookOutputStatus::Owned, + GetBookOutputStatus::Other(v) => GetBookOutputStatus::Other(v.into_static()), + } + } } /// Response type for diff --git a/crates/jacquard-api/src/buzz_bookhive/hive_book.rs b/crates/jacquard-api/src/buzz_bookhive/hive_book.rs index 52eb13d0..f2e84f73 100644 --- a/crates/jacquard-api/src/buzz_bookhive/hive_book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/hive_book.rs @@ -70,105 +70,105 @@ pub mod hive_book_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UpdatedAt; - type Id; type Thumbnail; - type Title; type CreatedAt; + type Id; + type Title; type Authors; + type UpdatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UpdatedAt = Unset; - type Id = Unset; type Thumbnail = Unset; - type Title = Unset; type CreatedAt = Unset; + type Id = Unset; + type Title = Unset; type Authors = Unset; + type UpdatedAt = Unset; } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type UpdatedAt = Set; + ///State transition - sets the `thumbnail` field to Set + pub struct SetThumbnail(PhantomData S>); + impl sealed::Sealed for SetThumbnail {} + impl State for SetThumbnail { + type Thumbnail = Set; + type CreatedAt = S::CreatedAt; type Id = S::Id; + type Title = S::Title; + type Authors = S::Authors; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Thumbnail = S::Thumbnail; + type CreatedAt = Set; + type Id = S::Id; type Title = S::Title; - type CreatedAt = S::CreatedAt; type Authors = S::Authors; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type UpdatedAt = S::UpdatedAt; - type Id = Set; type Thumbnail = S::Thumbnail; - type Title = S::Title; type CreatedAt = S::CreatedAt; - type Authors = S::Authors; - } - ///State transition - sets the `thumbnail` field to Set - pub struct SetThumbnail(PhantomData S>); - impl sealed::Sealed for SetThumbnail {} - impl State for SetThumbnail { - type UpdatedAt = S::UpdatedAt; - type Id = S::Id; - type Thumbnail = Set; + type Id = Set; type Title = S::Title; - type CreatedAt = S::CreatedAt; type Authors = S::Authors; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type UpdatedAt = S::UpdatedAt; - type Id = S::Id; type Thumbnail = S::Thumbnail; - type Title = Set; type CreatedAt = S::CreatedAt; - type Authors = S::Authors; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type UpdatedAt = S::UpdatedAt; type Id = S::Id; - type Thumbnail = S::Thumbnail; - type Title = S::Title; - type CreatedAt = Set; + type Title = Set; type Authors = S::Authors; + type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type UpdatedAt = S::UpdatedAt; - type Id = S::Id; type Thumbnail = S::Thumbnail; - type Title = S::Title; type CreatedAt = S::CreatedAt; + type Id = S::Id; + type Title = S::Title; type Authors = Set; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type Thumbnail = S::Thumbnail; + type CreatedAt = S::CreatedAt; + type Id = S::Id; + type Title = S::Title; + type Authors = S::Authors; + type UpdatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `updated_at` field - pub struct updated_at(()); - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `thumbnail` field pub struct thumbnail(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `authors` field pub struct authors(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); } } @@ -457,12 +457,12 @@ where impl<'a, S> HiveBookBuilder<'a, S> where S: hive_book_state::State, - S::UpdatedAt: hive_book_state::IsSet, - S::Id: hive_book_state::IsSet, S::Thumbnail: hive_book_state::IsSet, - S::Title: hive_book_state::IsSet, S::CreatedAt: hive_book_state::IsSet, + S::Id: hive_book_state::IsSet, + S::Title: hive_book_state::IsSet, S::Authors: hive_book_state::IsSet, + S::UpdatedAt: hive_book_state::IsSet, { /// Build the final struct pub fn build(self) -> HiveBook<'a> { diff --git a/crates/jacquard-api/src/chat_bsky/actor.rs b/crates/jacquard-api/src/chat_bsky/actor.rs index 2b55ebb6..010aaa7d 100644 --- a/crates/jacquard-api/src/chat_bsky/actor.rs +++ b/crates/jacquard-api/src/chat_bsky/actor.rs @@ -58,37 +58,37 @@ pub mod profile_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Handle; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Handle = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Handle = S::Handle; + type Did = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type Did = S::Did; type Handle = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Handle = S::Handle; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -305,8 +305,8 @@ impl<'a, S: profile_view_basic_state::State> ProfileViewBasicBuilder<'a, S> { impl<'a, S> ProfileViewBasicBuilder<'a, S> where S: profile_view_basic_state::State, - S::Did: profile_view_basic_state::IsSet, S::Handle: profile_view_basic_state::IsSet, + S::Did: profile_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewBasic<'a> { diff --git a/crates/jacquard-api/src/chat_bsky/actor/declaration.rs b/crates/jacquard-api/src/chat_bsky/actor/declaration.rs index f9c5c399..fb84892a 100644 --- a/crates/jacquard-api/src/chat_bsky/actor/declaration.rs +++ b/crates/jacquard-api/src/chat_bsky/actor/declaration.rs @@ -19,7 +19,7 @@ #[serde(rename_all = "camelCase")] pub struct Declaration<'a> { #[serde(borrow)] - pub allow_incoming: jacquard_common::CowStr<'a>, + pub allow_incoming: DeclarationAllowIncoming<'a>, } pub mod declaration_state { @@ -57,7 +57,7 @@ pub mod declaration_state { /// Builder for constructing an instance of this type pub struct DeclarationBuilder<'a, S: declaration_state::State> { _phantom_state: ::core::marker::PhantomData S>, - __unsafe_private_named: (::core::option::Option>,), + __unsafe_private_named: (::core::option::Option>,), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -87,7 +87,7 @@ where /// Set the `allowIncoming` field (required) pub fn allow_incoming( mut self, - value: impl Into>, + value: impl Into>, ) -> DeclarationBuilder<'a, declaration_state::SetAllowIncoming> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); DeclarationBuilder { @@ -138,6 +138,101 @@ impl<'a> Declaration<'a> { } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum DeclarationAllowIncoming<'a> { + All, + None, + Following, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> DeclarationAllowIncoming<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::All => "all", + Self::None => "none", + Self::Following => "following", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for DeclarationAllowIncoming<'a> { + fn from(s: &'a str) -> Self { + match s { + "all" => Self::All, + "none" => Self::None, + "following" => Self::Following, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for DeclarationAllowIncoming<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "all" => Self::All, + "none" => Self::None, + "following" => Self::Following, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for DeclarationAllowIncoming<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for DeclarationAllowIncoming<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for DeclarationAllowIncoming<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for DeclarationAllowIncoming<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for DeclarationAllowIncoming<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for DeclarationAllowIncoming<'_> { + type Output = DeclarationAllowIncoming<'static>; + fn into_static(self) -> Self::Output { + match self { + DeclarationAllowIncoming::All => DeclarationAllowIncoming::All, + DeclarationAllowIncoming::None => DeclarationAllowIncoming::None, + DeclarationAllowIncoming::Following => DeclarationAllowIncoming::Following, + DeclarationAllowIncoming::Other(v) => { + DeclarationAllowIncoming::Other(v.into_static()) + } + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/chat_bsky/convo.rs b/crates/jacquard-api/src/chat_bsky/convo.rs index 7f2d6385..d39ac73f 100644 --- a/crates/jacquard-api/src/chat_bsky/convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo.rs @@ -52,7 +52,7 @@ pub struct ConvoView<'a> { pub rev: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, pub unread_count: i64, } @@ -67,84 +67,84 @@ pub mod convo_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Id; - type Rev; type Muted; - type UnreadCount; type Members; + type Rev; + type UnreadCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Id = Unset; - type Rev = Unset; type Muted = Unset; - type UnreadCount = Unset; type Members = Unset; + type Rev = Unset; + type UnreadCount = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Id = Set; - type Rev = S::Rev; type Muted = S::Muted; - type UnreadCount = S::UnreadCount; type Members = S::Members; - } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type Id = S::Id; - type Rev = Set; - type Muted = S::Muted; + type Rev = S::Rev; type UnreadCount = S::UnreadCount; - type Members = S::Members; } ///State transition - sets the `muted` field to Set pub struct SetMuted(PhantomData S>); impl sealed::Sealed for SetMuted {} impl State for SetMuted { type Id = S::Id; - type Rev = S::Rev; type Muted = Set; - type UnreadCount = S::UnreadCount; type Members = S::Members; - } - ///State transition - sets the `unread_count` field to Set - pub struct SetUnreadCount(PhantomData S>); - impl sealed::Sealed for SetUnreadCount {} - impl State for SetUnreadCount { - type Id = S::Id; type Rev = S::Rev; - type Muted = S::Muted; - type UnreadCount = Set; - type Members = S::Members; + type UnreadCount = S::UnreadCount; } ///State transition - sets the `members` field to Set pub struct SetMembers(PhantomData S>); impl sealed::Sealed for SetMembers {} impl State for SetMembers { type Id = S::Id; + type Muted = S::Muted; + type Members = Set; type Rev = S::Rev; + type UnreadCount = S::UnreadCount; + } + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type Id = S::Id; type Muted = S::Muted; + type Members = S::Members; + type Rev = Set; type UnreadCount = S::UnreadCount; - type Members = Set; + } + ///State transition - sets the `unread_count` field to Set + pub struct SetUnreadCount(PhantomData S>); + impl sealed::Sealed for SetUnreadCount {} + impl State for SetUnreadCount { + type Id = S::Id; + type Muted = S::Muted; + type Members = S::Members; + type Rev = S::Rev; + type UnreadCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `rev` field - pub struct rev(()); ///Marker type for the `muted` field pub struct muted(()); - ///Marker type for the `unread_count` field - pub struct unread_count(()); ///Marker type for the `members` field pub struct members(()); + ///Marker type for the `rev` field + pub struct rev(()); + ///Marker type for the `unread_count` field + pub struct unread_count(()); } } @@ -158,7 +158,7 @@ pub struct ConvoViewBuilder<'a, S: convo_view_state::State> { ::core::option::Option>>, ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -298,15 +298,12 @@ where impl<'a, S: convo_view_state::State> ConvoViewBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.6 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.6 = value; self } @@ -335,10 +332,10 @@ impl<'a, S> ConvoViewBuilder<'a, S> where S: convo_view_state::State, S::Id: convo_view_state::IsSet, - S::Rev: convo_view_state::IsSet, S::Muted: convo_view_state::IsSet, - S::UnreadCount: convo_view_state::IsSet, S::Members: convo_view_state::IsSet, + S::Rev: convo_view_state::IsSet, + S::UnreadCount: convo_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ConvoView<'a> { @@ -395,6 +392,94 @@ pub enum ConvoViewLastMessage<'a> { DeletedMessageView(Box>), } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ConvoViewStatus<'a> { + Request, + Accepted, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ConvoViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Request => "request", + Self::Accepted => "accepted", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ConvoViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "request" => Self::Request, + "accepted" => Self::Accepted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ConvoViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "request" => Self::Request, + "accepted" => Self::Accepted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ConvoViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ConvoViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ConvoViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ConvoViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ConvoViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ConvoViewStatus<'_> { + type Output = ConvoViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + ConvoViewStatus::Request => ConvoViewStatus::Request, + ConvoViewStatus::Accepted => ConvoViewStatus::Accepted, + ConvoViewStatus::Other(v) => ConvoViewStatus::Other(v.into_static()), + } + } +} + fn lexicon_doc_chat_bsky_convo_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { @@ -1648,8 +1733,8 @@ pub mod deleted_message_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SentAt; type Id; + type SentAt; type Rev; type Sender; } @@ -1657,26 +1742,26 @@ pub mod deleted_message_view_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SentAt = Unset; type Id = Unset; + type SentAt = Unset; type Rev = Unset; type Sender = Unset; } - ///State transition - sets the `sent_at` field to Set - pub struct SetSentAt(PhantomData S>); - impl sealed::Sealed for SetSentAt {} - impl State for SetSentAt { - type SentAt = Set; - type Id = S::Id; - type Rev = S::Rev; - type Sender = S::Sender; - } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type SentAt = S::SentAt; type Id = Set; + type SentAt = S::SentAt; + type Rev = S::Rev; + type Sender = S::Sender; + } + ///State transition - sets the `sent_at` field to Set + pub struct SetSentAt(PhantomData S>); + impl sealed::Sealed for SetSentAt {} + impl State for SetSentAt { + type Id = S::Id; + type SentAt = Set; type Rev = S::Rev; type Sender = S::Sender; } @@ -1684,8 +1769,8 @@ pub mod deleted_message_view_state { pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type SentAt = S::SentAt; type Id = S::Id; + type SentAt = S::SentAt; type Rev = Set; type Sender = S::Sender; } @@ -1693,18 +1778,18 @@ pub mod deleted_message_view_state { pub struct SetSender(PhantomData S>); impl sealed::Sealed for SetSender {} impl State for SetSender { - type SentAt = S::SentAt; type Id = S::Id; + type SentAt = S::SentAt; type Rev = S::Rev; type Sender = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `sent_at` field - pub struct sent_at(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `sent_at` field + pub struct sent_at(()); ///Marker type for the `rev` field pub struct rev(()); ///Marker type for the `sender` field @@ -1821,8 +1906,8 @@ where impl<'a, S> DeletedMessageViewBuilder<'a, S> where S: deleted_message_view_state::State, - S::SentAt: deleted_message_view_state::IsSet, S::Id: deleted_message_view_state::IsSet, + S::SentAt: deleted_message_view_state::IsSet, S::Rev: deleted_message_view_state::IsSet, S::Sender: deleted_message_view_state::IsSet, { @@ -1939,67 +2024,67 @@ pub mod log_add_reaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Message; - type Rev; type Reaction; type ConvoId; + type Message; + type Rev; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Message = Unset; - type Rev = Unset; type Reaction = Unset; type ConvoId = Unset; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type Message = Set; - type Rev = S::Rev; - type Reaction = S::Reaction; - type ConvoId = S::ConvoId; - } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type Message = S::Message; - type Rev = Set; - type Reaction = S::Reaction; - type ConvoId = S::ConvoId; + type Message = Unset; + type Rev = Unset; } ///State transition - sets the `reaction` field to Set pub struct SetReaction(PhantomData S>); impl sealed::Sealed for SetReaction {} impl State for SetReaction { - type Message = S::Message; - type Rev = S::Rev; type Reaction = Set; type ConvoId = S::ConvoId; + type Message = S::Message; + type Rev = S::Rev; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { + type Reaction = S::Reaction; + type ConvoId = Set; type Message = S::Message; type Rev = S::Rev; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { type Reaction = S::Reaction; - type ConvoId = Set; + type ConvoId = S::ConvoId; + type Message = Set; + type Rev = S::Rev; + } + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type Reaction = S::Reaction; + type ConvoId = S::ConvoId; + type Message = S::Message; + type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message` field - pub struct message(()); - ///Marker type for the `rev` field - pub struct rev(()); ///Marker type for the `reaction` field pub struct reaction(()); ///Marker type for the `convo_id` field pub struct convo_id(()); + ///Marker type for the `message` field + pub struct message(()); + ///Marker type for the `rev` field + pub struct rev(()); } } @@ -2112,10 +2197,10 @@ where impl<'a, S> LogAddReactionBuilder<'a, S> where S: log_add_reaction_state::State, - S::Message: log_add_reaction_state::IsSet, - S::Rev: log_add_reaction_state::IsSet, S::Reaction: log_add_reaction_state::IsSet, S::ConvoId: log_add_reaction_state::IsSet, + S::Message: log_add_reaction_state::IsSet, + S::Rev: log_add_reaction_state::IsSet, { /// Build the final struct pub fn build(self) -> LogAddReaction<'a> { @@ -2480,49 +2565,49 @@ pub mod log_delete_message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Message; type Rev; + type Message; type ConvoId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Message = Unset; type Rev = Unset; + type Message = Unset; type ConvoId = Unset; } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type Message = Set; - type Rev = S::Rev; - type ConvoId = S::ConvoId; - } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type Message = S::Message; type Rev = Set; + type Message = S::Message; + type ConvoId = S::ConvoId; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type Rev = S::Rev; + type Message = Set; type ConvoId = S::ConvoId; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { - type Message = S::Message; type Rev = S::Rev; + type Message = S::Message; type ConvoId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `message` field + pub struct message(()); ///Marker type for the `convo_id` field pub struct convo_id(()); } @@ -2617,8 +2702,8 @@ where impl<'a, S> LogDeleteMessageBuilder<'a, S> where S: log_delete_message_state::State, - S::Message: log_delete_message_state::IsSet, S::Rev: log_delete_message_state::IsSet, + S::Message: log_delete_message_state::IsSet, S::ConvoId: log_delete_message_state::IsSet, { /// Build the final struct @@ -2785,51 +2870,51 @@ pub mod log_read_message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Rev; type ConvoId; type Message; + type Rev; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Rev = Unset; type ConvoId = Unset; type Message = Unset; - } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type Rev = Set; - type ConvoId = S::ConvoId; - type Message = S::Message; + type Rev = Unset; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { - type Rev = S::Rev; type ConvoId = Set; type Message = S::Message; + type Rev = S::Rev; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type Rev = S::Rev; type ConvoId = S::ConvoId; type Message = Set; + type Rev = S::Rev; + } + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type ConvoId = S::ConvoId; + type Message = S::Message; + type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `rev` field - pub struct rev(()); ///Marker type for the `convo_id` field pub struct convo_id(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `rev` field + pub struct rev(()); } } @@ -2922,9 +3007,9 @@ where impl<'a, S> LogReadMessageBuilder<'a, S> where S: log_read_message_state::State, - S::Rev: log_read_message_state::IsSet, S::ConvoId: log_read_message_state::IsSet, S::Message: log_read_message_state::IsSet, + S::Rev: log_read_message_state::IsSet, { /// Build the final struct pub fn build(self) -> LogReadMessage<'a> { @@ -3022,8 +3107,8 @@ pub mod log_remove_reaction_state { pub trait State: sealed::Sealed { type ConvoId; type Reaction; - type Message; type Rev; + type Message; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -3031,8 +3116,8 @@ pub mod log_remove_reaction_state { impl State for Empty { type ConvoId = Unset; type Reaction = Unset; - type Message = Unset; type Rev = Unset; + type Message = Unset; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); @@ -3040,8 +3125,8 @@ pub mod log_remove_reaction_state { impl State for SetConvoId { type ConvoId = Set; type Reaction = S::Reaction; - type Message = S::Message; type Rev = S::Rev; + type Message = S::Message; } ///State transition - sets the `reaction` field to Set pub struct SetReaction(PhantomData S>); @@ -3049,17 +3134,8 @@ pub mod log_remove_reaction_state { impl State for SetReaction { type ConvoId = S::ConvoId; type Reaction = Set; - type Message = S::Message; - type Rev = S::Rev; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { - type ConvoId = S::ConvoId; - type Reaction = S::Reaction; - type Message = Set; type Rev = S::Rev; + type Message = S::Message; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); @@ -3067,8 +3143,17 @@ pub mod log_remove_reaction_state { impl State for SetRev { type ConvoId = S::ConvoId; type Reaction = S::Reaction; - type Message = S::Message; type Rev = Set; + type Message = S::Message; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type ConvoId = S::ConvoId; + type Reaction = S::Reaction; + type Rev = S::Rev; + type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -3077,10 +3162,10 @@ pub mod log_remove_reaction_state { pub struct convo_id(()); ///Marker type for the `reaction` field pub struct reaction(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `rev` field pub struct rev(()); + ///Marker type for the `message` field + pub struct message(()); } } @@ -3195,8 +3280,8 @@ where S: log_remove_reaction_state::State, S::ConvoId: log_remove_reaction_state::IsSet, S::Reaction: log_remove_reaction_state::IsSet, - S::Message: log_remove_reaction_state::IsSet, S::Rev: log_remove_reaction_state::IsSet, + S::Message: log_remove_reaction_state::IsSet, { /// Build the final struct pub fn build(self) -> LogRemoveReaction<'a> { @@ -3326,37 +3411,37 @@ pub mod message_and_reaction_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Reaction; type Message; + type Reaction; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Reaction = Unset; type Message = Unset; - } - ///State transition - sets the `reaction` field to Set - pub struct SetReaction(PhantomData S>); - impl sealed::Sealed for SetReaction {} - impl State for SetReaction { - type Reaction = Set; - type Message = S::Message; + type Reaction = Unset; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type Reaction = S::Reaction; type Message = Set; + type Reaction = S::Reaction; + } + ///State transition - sets the `reaction` field to Set + pub struct SetReaction(PhantomData S>); + impl sealed::Sealed for SetReaction {} + impl State for SetReaction { + type Message = S::Message; + type Reaction = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `reaction` field - pub struct reaction(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `reaction` field + pub struct reaction(()); } } @@ -3438,8 +3523,8 @@ where impl<'a, S> MessageAndReactionViewBuilder<'a, S> where S: message_and_reaction_view_state::State, - S::Reaction: message_and_reaction_view_state::IsSet, S::Message: message_and_reaction_view_state::IsSet, + S::Reaction: message_and_reaction_view_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageAndReactionView<'a> { @@ -3585,51 +3670,51 @@ pub mod message_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type MessageId; type Did; type ConvoId; + type MessageId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type MessageId = Unset; type Did = Unset; type ConvoId = Unset; - } - ///State transition - sets the `message_id` field to Set - pub struct SetMessageId(PhantomData S>); - impl sealed::Sealed for SetMessageId {} - impl State for SetMessageId { - type MessageId = Set; - type Did = S::Did; - type ConvoId = S::ConvoId; + type MessageId = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type MessageId = S::MessageId; type Did = Set; type ConvoId = S::ConvoId; + type MessageId = S::MessageId; } ///State transition - sets the `convo_id` field to Set pub struct SetConvoId(PhantomData S>); impl sealed::Sealed for SetConvoId {} impl State for SetConvoId { - type MessageId = S::MessageId; type Did = S::Did; type ConvoId = Set; + type MessageId = S::MessageId; + } + ///State transition - sets the `message_id` field to Set + pub struct SetMessageId(PhantomData S>); + impl sealed::Sealed for SetMessageId {} + impl State for SetMessageId { + type Did = S::Did; + type ConvoId = S::ConvoId; + type MessageId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `message_id` field - pub struct message_id(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `convo_id` field pub struct convo_id(()); + ///Marker type for the `message_id` field + pub struct message_id(()); } } @@ -3722,9 +3807,9 @@ where impl<'a, S> MessageRefBuilder<'a, S> where S: message_ref_state::State, - S::MessageId: message_ref_state::IsSet, S::Did: message_ref_state::IsSet, S::ConvoId: message_ref_state::IsSet, + S::MessageId: message_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageRef<'a> { @@ -3814,84 +3899,84 @@ pub mod message_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Rev; - type Text; type Id; - type SentAt; type Sender; + type SentAt; + type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Rev = Unset; - type Text = Unset; type Id = Unset; - type SentAt = Unset; type Sender = Unset; + type SentAt = Unset; + type Text = Unset; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { type Rev = Set; - type Text = S::Text; type Id = S::Id; - type SentAt = S::SentAt; type Sender = S::Sender; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Rev = S::Rev; - type Text = Set; - type Id = S::Id; type SentAt = S::SentAt; - type Sender = S::Sender; + type Text = S::Text; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Rev = S::Rev; - type Text = S::Text; type Id = Set; - type SentAt = S::SentAt; type Sender = S::Sender; + type SentAt = S::SentAt; + type Text = S::Text; + } + ///State transition - sets the `sender` field to Set + pub struct SetSender(PhantomData S>); + impl sealed::Sealed for SetSender {} + impl State for SetSender { + type Rev = S::Rev; + type Id = S::Id; + type Sender = Set; + type SentAt = S::SentAt; + type Text = S::Text; } ///State transition - sets the `sent_at` field to Set pub struct SetSentAt(PhantomData S>); impl sealed::Sealed for SetSentAt {} impl State for SetSentAt { type Rev = S::Rev; - type Text = S::Text; type Id = S::Id; - type SentAt = Set; type Sender = S::Sender; + type SentAt = Set; + type Text = S::Text; } - ///State transition - sets the `sender` field to Set - pub struct SetSender(PhantomData S>); - impl sealed::Sealed for SetSender {} - impl State for SetSender { + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { type Rev = S::Rev; - type Text = S::Text; type Id = S::Id; + type Sender = S::Sender; type SentAt = S::SentAt; - type Sender = Set; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `rev` field pub struct rev(()); - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `sent_at` field - pub struct sent_at(()); ///Marker type for the `sender` field pub struct sender(()); + ///Marker type for the `sent_at` field + pub struct sent_at(()); + ///Marker type for the `text` field + pub struct text(()); } } @@ -4085,10 +4170,10 @@ impl<'a, S> MessageViewBuilder<'a, S> where S: message_view_state::State, S::Rev: message_view_state::IsSet, - S::Text: message_view_state::IsSet, S::Id: message_view_state::IsSet, - S::SentAt: message_view_state::IsSet, S::Sender: message_view_state::IsSet, + S::SentAt: message_view_state::IsSet, + S::Text: message_view_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageView<'a> { @@ -4342,51 +4427,51 @@ pub mod reaction_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Sender; type Value; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Sender = Unset; type Value = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Sender = S::Sender; + type Value = S::Value; } ///State transition - sets the `sender` field to Set pub struct SetSender(PhantomData S>); impl sealed::Sealed for SetSender {} impl State for SetSender { + type CreatedAt = S::CreatedAt; type Sender = Set; type Value = S::Value; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type Sender = S::Sender; - type Value = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Sender = S::Sender; - type Value = S::Value; - type CreatedAt = Set; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `sender` field pub struct sender(()); ///Marker type for the `value` field pub struct value(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -4479,9 +4564,9 @@ where impl<'a, S> ReactionViewBuilder<'a, S> where S: reaction_view_state::State, + S::CreatedAt: reaction_view_state::IsSet, S::Sender: reaction_view_state::IsSet, S::Value: reaction_view_state::IsSet, - S::CreatedAt: reaction_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ReactionView<'a> { diff --git a/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs b/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs index ade76788..ba6f9165 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs @@ -68,8 +68,8 @@ pub enum AddReactionError<'a> { ReactionInvalidValue(std::option::Option>), } -impl std::fmt::Display for AddReactionError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for AddReactionError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ReactionMessageDeleted(msg) => { write!(f, "ReactionMessageDeleted")?; diff --git a/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs b/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs index ae6eb342..9b014e85 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs @@ -65,8 +65,8 @@ pub enum RemoveReactionError<'a> { ReactionInvalidValue(std::option::Option>), } -impl std::fmt::Display for RemoveReactionError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for RemoveReactionError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ReactionMessageDeleted(msg) => { write!(f, "ReactionMessageDeleted")?; diff --git a/crates/jacquard-api/src/chat_bsky/convo/send_message.rs b/crates/jacquard-api/src/chat_bsky/convo/send_message.rs index 5950b13a..a6b37be1 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/send_message.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/send_message.rs @@ -33,37 +33,37 @@ pub mod send_message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ConvoId; type Message; + type ConvoId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ConvoId = Unset; type Message = Unset; - } - ///State transition - sets the `convo_id` field to Set - pub struct SetConvoId(PhantomData S>); - impl sealed::Sealed for SetConvoId {} - impl State for SetConvoId { - type ConvoId = Set; - type Message = S::Message; + type ConvoId = Unset; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type ConvoId = S::ConvoId; type Message = Set; + type ConvoId = S::ConvoId; + } + ///State transition - sets the `convo_id` field to Set + pub struct SetConvoId(PhantomData S>); + impl sealed::Sealed for SetConvoId {} + impl State for SetConvoId { + type Message = S::Message; + type ConvoId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `convo_id` field - pub struct convo_id(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `convo_id` field + pub struct convo_id(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> SendMessageBuilder<'a, S> where S: send_message_state::State, - S::ConvoId: send_message_state::IsSet, S::Message: send_message_state::IsSet, + S::ConvoId: send_message_state::IsSet, { /// Build the final struct pub fn build(self) -> SendMessage<'a> { diff --git a/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs b/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs index c4e64688..a875bcda 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs @@ -33,37 +33,37 @@ pub mod batch_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ConvoId; type Message; + type ConvoId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ConvoId = Unset; type Message = Unset; - } - ///State transition - sets the `convo_id` field to Set - pub struct SetConvoId(PhantomData S>); - impl sealed::Sealed for SetConvoId {} - impl State for SetConvoId { - type ConvoId = Set; - type Message = S::Message; + type ConvoId = Unset; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type ConvoId = S::ConvoId; type Message = Set; + type ConvoId = S::ConvoId; + } + ///State transition - sets the `convo_id` field to Set + pub struct SetConvoId(PhantomData S>); + impl sealed::Sealed for SetConvoId {} + impl State for SetConvoId { + type Message = S::Message; + type ConvoId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `convo_id` field - pub struct convo_id(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `convo_id` field + pub struct convo_id(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> BatchItemBuilder<'a, S> where S: batch_item_state::State, - S::ConvoId: batch_item_state::IsSet, S::Message: batch_item_state::IsSet, + S::ConvoId: batch_item_state::IsSet, { /// Build the final struct pub fn build(self) -> BatchItem<'a> { diff --git a/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs b/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs index 89cde435..5a6da4db 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs @@ -20,7 +20,95 @@ pub struct UpdateAllRead<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UpdateAllReadStatus<'a> { + Request, + Accepted, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UpdateAllReadStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Request => "request", + Self::Accepted => "accepted", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UpdateAllReadStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "request" => Self::Request, + "accepted" => Self::Accepted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UpdateAllReadStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "request" => Self::Request, + "accepted" => Self::Accepted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UpdateAllReadStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UpdateAllReadStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UpdateAllReadStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UpdateAllReadStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UpdateAllReadStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UpdateAllReadStatus<'_> { + type Output = UpdateAllReadStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + UpdateAllReadStatus::Request => UpdateAllReadStatus::Request, + UpdateAllReadStatus::Accepted => UpdateAllReadStatus::Accepted, + UpdateAllReadStatus::Other(v) => UpdateAllReadStatus::Other(v.into_static()), + } + } } #[jacquard_derive::lexicon] diff --git a/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs b/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs index 48a63da2..c5f48474 100644 --- a/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs +++ b/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs @@ -185,67 +185,67 @@ pub mod metadata_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type MessagesSent; type MessagesReceived; - type Convos; type ConvosStarted; + type Convos; + type MessagesSent; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type MessagesSent = Unset; type MessagesReceived = Unset; - type Convos = Unset; type ConvosStarted = Unset; - } - ///State transition - sets the `messages_sent` field to Set - pub struct SetMessagesSent(PhantomData S>); - impl sealed::Sealed for SetMessagesSent {} - impl State for SetMessagesSent { - type MessagesSent = Set; - type MessagesReceived = S::MessagesReceived; - type Convos = S::Convos; - type ConvosStarted = S::ConvosStarted; + type Convos = Unset; + type MessagesSent = Unset; } ///State transition - sets the `messages_received` field to Set pub struct SetMessagesReceived(PhantomData S>); impl sealed::Sealed for SetMessagesReceived {} impl State for SetMessagesReceived { - type MessagesSent = S::MessagesSent; type MessagesReceived = Set; - type Convos = S::Convos; type ConvosStarted = S::ConvosStarted; + type Convos = S::Convos; + type MessagesSent = S::MessagesSent; + } + ///State transition - sets the `convos_started` field to Set + pub struct SetConvosStarted(PhantomData S>); + impl sealed::Sealed for SetConvosStarted {} + impl State for SetConvosStarted { + type MessagesReceived = S::MessagesReceived; + type ConvosStarted = Set; + type Convos = S::Convos; + type MessagesSent = S::MessagesSent; } ///State transition - sets the `convos` field to Set pub struct SetConvos(PhantomData S>); impl sealed::Sealed for SetConvos {} impl State for SetConvos { - type MessagesSent = S::MessagesSent; type MessagesReceived = S::MessagesReceived; - type Convos = Set; type ConvosStarted = S::ConvosStarted; - } - ///State transition - sets the `convos_started` field to Set - pub struct SetConvosStarted(PhantomData S>); - impl sealed::Sealed for SetConvosStarted {} - impl State for SetConvosStarted { + type Convos = Set; type MessagesSent = S::MessagesSent; + } + ///State transition - sets the `messages_sent` field to Set + pub struct SetMessagesSent(PhantomData S>); + impl sealed::Sealed for SetMessagesSent {} + impl State for SetMessagesSent { type MessagesReceived = S::MessagesReceived; + type ConvosStarted = S::ConvosStarted; type Convos = S::Convos; - type ConvosStarted = Set; + type MessagesSent = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `messages_sent` field - pub struct messages_sent(()); ///Marker type for the `messages_received` field pub struct messages_received(()); - ///Marker type for the `convos` field - pub struct convos(()); ///Marker type for the `convos_started` field pub struct convos_started(()); + ///Marker type for the `convos` field + pub struct convos(()); + ///Marker type for the `messages_sent` field + pub struct messages_sent(()); } } @@ -358,10 +358,10 @@ where impl<'a, S> MetadataBuilder<'a, S> where S: metadata_state::State, - S::MessagesSent: metadata_state::IsSet, S::MessagesReceived: metadata_state::IsSet, - S::Convos: metadata_state::IsSet, S::ConvosStarted: metadata_state::IsSet, + S::Convos: metadata_state::IsSet, + S::MessagesSent: metadata_state::IsSet, { /// Build the final struct pub fn build(self) -> Metadata<'a> { diff --git a/crates/jacquard-api/src/club_stellz/evm/address_control.rs b/crates/jacquard-api/src/club_stellz/evm/address_control.rs index 83c1874b..56749fa9 100644 --- a/crates/jacquard-api/src/club_stellz/evm/address_control.rs +++ b/crates/jacquard-api/src/club_stellz/evm/address_control.rs @@ -40,51 +40,51 @@ pub mod address_control_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Siwe; type Signature; type Address; - type Siwe; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Siwe = Unset; type Signature = Unset; type Address = Unset; - type Siwe = Unset; + } + ///State transition - sets the `siwe` field to Set + pub struct SetSiwe(PhantomData S>); + impl sealed::Sealed for SetSiwe {} + impl State for SetSiwe { + type Siwe = Set; + type Signature = S::Signature; + type Address = S::Address; } ///State transition - sets the `signature` field to Set pub struct SetSignature(PhantomData S>); impl sealed::Sealed for SetSignature {} impl State for SetSignature { + type Siwe = S::Siwe; type Signature = Set; type Address = S::Address; - type Siwe = S::Siwe; } ///State transition - sets the `address` field to Set pub struct SetAddress(PhantomData S>); impl sealed::Sealed for SetAddress {} impl State for SetAddress { - type Signature = S::Signature; - type Address = Set; type Siwe = S::Siwe; - } - ///State transition - sets the `siwe` field to Set - pub struct SetSiwe(PhantomData S>); - impl sealed::Sealed for SetSiwe {} - impl State for SetSiwe { type Signature = S::Signature; - type Address = S::Address; - type Siwe = Set; + type Address = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `siwe` field + pub struct siwe(()); ///Marker type for the `signature` field pub struct signature(()); ///Marker type for the `address` field pub struct address(()); - ///Marker type for the `siwe` field - pub struct siwe(()); } } @@ -191,9 +191,9 @@ where impl<'a, S> AddressControlBuilder<'a, S> where S: address_control_state::State, + S::Siwe: address_control_state::IsSet, S::Signature: address_control_state::IsSet, S::Address: address_control_state::IsSet, - S::Siwe: address_control_state::IsSet, { /// Build the final struct pub fn build(self) -> AddressControl<'a> { @@ -539,151 +539,151 @@ pub mod siwe_message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Statement; + type Nonce; + type IssuedAt; type Version; + type Uri; type Address; type ChainId; - type Nonce; - type Uri; + type Statement; type Domain; - type IssuedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Statement = Unset; + type Nonce = Unset; + type IssuedAt = Unset; type Version = Unset; + type Uri = Unset; type Address = Unset; type ChainId = Unset; - type Nonce = Unset; - type Uri = Unset; + type Statement = Unset; type Domain = Unset; - type IssuedAt = Unset; } - ///State transition - sets the `statement` field to Set - pub struct SetStatement(PhantomData S>); - impl sealed::Sealed for SetStatement {} - impl State for SetStatement { - type Statement = Set; + ///State transition - sets the `nonce` field to Set + pub struct SetNonce(PhantomData S>); + impl sealed::Sealed for SetNonce {} + impl State for SetNonce { + type Nonce = Set; + type IssuedAt = S::IssuedAt; type Version = S::Version; + type Uri = S::Uri; type Address = S::Address; type ChainId = S::ChainId; + type Statement = S::Statement; + type Domain = S::Domain; + } + ///State transition - sets the `issued_at` field to Set + pub struct SetIssuedAt(PhantomData S>); + impl sealed::Sealed for SetIssuedAt {} + impl State for SetIssuedAt { type Nonce = S::Nonce; + type IssuedAt = Set; + type Version = S::Version; type Uri = S::Uri; + type Address = S::Address; + type ChainId = S::ChainId; + type Statement = S::Statement; type Domain = S::Domain; - type IssuedAt = S::IssuedAt; } ///State transition - sets the `version` field to Set pub struct SetVersion(PhantomData S>); impl sealed::Sealed for SetVersion {} impl State for SetVersion { - type Statement = S::Statement; + type Nonce = S::Nonce; + type IssuedAt = S::IssuedAt; type Version = Set; + type Uri = S::Uri; type Address = S::Address; type ChainId = S::ChainId; - type Nonce = S::Nonce; - type Uri = S::Uri; + type Statement = S::Statement; type Domain = S::Domain; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Nonce = S::Nonce; type IssuedAt = S::IssuedAt; + type Version = S::Version; + type Uri = Set; + type Address = S::Address; + type ChainId = S::ChainId; + type Statement = S::Statement; + type Domain = S::Domain; } ///State transition - sets the `address` field to Set pub struct SetAddress(PhantomData S>); impl sealed::Sealed for SetAddress {} impl State for SetAddress { - type Statement = S::Statement; + type Nonce = S::Nonce; + type IssuedAt = S::IssuedAt; type Version = S::Version; + type Uri = S::Uri; type Address = Set; type ChainId = S::ChainId; - type Nonce = S::Nonce; - type Uri = S::Uri; + type Statement = S::Statement; type Domain = S::Domain; - type IssuedAt = S::IssuedAt; } ///State transition - sets the `chain_id` field to Set pub struct SetChainId(PhantomData S>); impl sealed::Sealed for SetChainId {} impl State for SetChainId { - type Statement = S::Statement; - type Version = S::Version; - type Address = S::Address; - type ChainId = Set; type Nonce = S::Nonce; - type Uri = S::Uri; - type Domain = S::Domain; type IssuedAt = S::IssuedAt; - } - ///State transition - sets the `nonce` field to Set - pub struct SetNonce(PhantomData S>); - impl sealed::Sealed for SetNonce {} - impl State for SetNonce { - type Statement = S::Statement; type Version = S::Version; - type Address = S::Address; - type ChainId = S::ChainId; - type Nonce = Set; type Uri = S::Uri; + type Address = S::Address; + type ChainId = Set; + type Statement = S::Statement; type Domain = S::Domain; - type IssuedAt = S::IssuedAt; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Statement = S::Statement; + ///State transition - sets the `statement` field to Set + pub struct SetStatement(PhantomData S>); + impl sealed::Sealed for SetStatement {} + impl State for SetStatement { + type Nonce = S::Nonce; + type IssuedAt = S::IssuedAt; type Version = S::Version; + type Uri = S::Uri; type Address = S::Address; type ChainId = S::ChainId; - type Nonce = S::Nonce; - type Uri = Set; + type Statement = Set; type Domain = S::Domain; - type IssuedAt = S::IssuedAt; } ///State transition - sets the `domain` field to Set pub struct SetDomain(PhantomData S>); impl sealed::Sealed for SetDomain {} impl State for SetDomain { - type Statement = S::Statement; - type Version = S::Version; - type Address = S::Address; - type ChainId = S::ChainId; type Nonce = S::Nonce; - type Uri = S::Uri; - type Domain = Set; type IssuedAt = S::IssuedAt; - } - ///State transition - sets the `issued_at` field to Set - pub struct SetIssuedAt(PhantomData S>); - impl sealed::Sealed for SetIssuedAt {} - impl State for SetIssuedAt { - type Statement = S::Statement; type Version = S::Version; + type Uri = S::Uri; type Address = S::Address; type ChainId = S::ChainId; - type Nonce = S::Nonce; - type Uri = S::Uri; - type Domain = S::Domain; - type IssuedAt = Set; + type Statement = S::Statement; + type Domain = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `statement` field - pub struct statement(()); + ///Marker type for the `nonce` field + pub struct nonce(()); + ///Marker type for the `issued_at` field + pub struct issued_at(()); ///Marker type for the `version` field pub struct version(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `address` field pub struct address(()); ///Marker type for the `chain_id` field pub struct chain_id(()); - ///Marker type for the `nonce` field - pub struct nonce(()); - ///Marker type for the `uri` field - pub struct uri(()); + ///Marker type for the `statement` field + pub struct statement(()); ///Marker type for the `domain` field pub struct domain(()); - ///Marker type for the `issued_at` field - pub struct issued_at(()); } } @@ -876,14 +876,14 @@ where impl<'a, S> SiweMessageBuilder<'a, S> where S: siwe_message_state::State, - S::Statement: siwe_message_state::IsSet, + S::Nonce: siwe_message_state::IsSet, + S::IssuedAt: siwe_message_state::IsSet, S::Version: siwe_message_state::IsSet, + S::Uri: siwe_message_state::IsSet, S::Address: siwe_message_state::IsSet, S::ChainId: siwe_message_state::IsSet, - S::Nonce: siwe_message_state::IsSet, - S::Uri: siwe_message_state::IsSet, + S::Statement: siwe_message_state::IsSet, S::Domain: siwe_message_state::IsSet, - S::IssuedAt: siwe_message_state::IsSet, { /// Build the final struct pub fn build(self) -> SiweMessage<'a> { diff --git a/crates/jacquard-api/src/com__5jiji/test/publish_video.rs b/crates/jacquard-api/src/com__5jiji/test/publish_video.rs index 2e7656b5..bd1a31ae 100644 --- a/crates/jacquard-api/src/com__5jiji/test/publish_video.rs +++ b/crates/jacquard-api/src/com__5jiji/test/publish_video.rs @@ -53,8 +53,8 @@ pub enum PublishVideoError<'a> { NotAVideo(std::option::Option>), } -impl std::fmt::Display for PublishVideoError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for PublishVideoError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotAVideo(msg) => { write!(f, "NotAVideo")?; diff --git a/crates/jacquard-api/src/com__5jiji/test/videos.rs b/crates/jacquard-api/src/com__5jiji/test/videos.rs index b6d527e6..56520eac 100644 --- a/crates/jacquard-api/src/com__5jiji/test/videos.rs +++ b/crates/jacquard-api/src/com__5jiji/test/videos.rs @@ -36,49 +36,49 @@ pub mod videos_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Creator; type Title; + type Creator; type Id; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Creator = Unset; type Title = Unset; + type Creator = Unset; type Id = Unset; } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type Creator = Set; - type Title = S::Title; - type Id = S::Id; - } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Creator = S::Creator; type Title = Set; + type Creator = S::Creator; + type Id = S::Id; + } + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { + type Title = S::Title; + type Creator = Set; type Id = S::Id; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Creator = S::Creator; type Title = S::Title; + type Creator = S::Creator; type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `creator` field - pub struct creator(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `creator` field + pub struct creator(()); ///Marker type for the `id` field pub struct id(()); } @@ -173,8 +173,8 @@ where impl<'a, S> VideosBuilder<'a, S> where S: videos_state::State, - S::Creator: videos_state::IsSet, S::Title: videos_state::IsSet, + S::Creator: videos_state::IsSet, S::Id: videos_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/com_atproto/admin.rs b/crates/jacquard-api/src/com_atproto/admin.rs index 8b022adf..be518337 100644 --- a/crates/jacquard-api/src/com_atproto/admin.rs +++ b/crates/jacquard-api/src/com_atproto/admin.rs @@ -80,51 +80,51 @@ pub mod account_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type IndexedAt; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type IndexedAt = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type IndexedAt = S::IndexedAt; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Handle = S::Handle; type IndexedAt = Set; type Did = S::Did; + type Handle = S::Handle; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type IndexedAt = S::IndexedAt; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type IndexedAt = S::IndexedAt; + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -401,9 +401,9 @@ impl<'a, S: account_view_state::State> AccountViewBuilder<'a, S> { impl<'a, S> AccountViewBuilder<'a, S> where S: account_view_state::State, - S::Handle: account_view_state::IsSet, S::IndexedAt: account_view_state::IsSet, S::Did: account_view_state::IsSet, + S::Handle: account_view_state::IsSet, { /// Build the final struct pub fn build(self) -> AccountView<'a> { @@ -907,37 +907,37 @@ pub mod repo_blob_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Did; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Did = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Did = S::Did; + type Cid = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Cid = S::Cid; type Did = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Did = S::Did; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -1030,8 +1030,8 @@ impl<'a, S: repo_blob_ref_state::State> RepoBlobRefBuilder<'a, S> { impl<'a, S> RepoBlobRefBuilder<'a, S> where S: repo_blob_ref_state::State, - S::Cid: repo_blob_ref_state::IsSet, S::Did: repo_blob_ref_state::IsSet, + S::Cid: repo_blob_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoBlobRef<'a> { diff --git a/crates/jacquard-api/src/com_atproto/admin/send_email.rs b/crates/jacquard-api/src/com_atproto/admin/send_email.rs index 3d4338ab..47b3dfeb 100644 --- a/crates/jacquard-api/src/com_atproto/admin/send_email.rs +++ b/crates/jacquard-api/src/com_atproto/admin/send_email.rs @@ -42,51 +42,51 @@ pub mod send_email_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type RecipientDid; type Content; type SenderDid; - type RecipientDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type RecipientDid = Unset; type Content = Unset; type SenderDid = Unset; - type RecipientDid = Unset; + } + ///State transition - sets the `recipient_did` field to Set + pub struct SetRecipientDid(PhantomData S>); + impl sealed::Sealed for SetRecipientDid {} + impl State for SetRecipientDid { + type RecipientDid = Set; + type Content = S::Content; + type SenderDid = S::SenderDid; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { + type RecipientDid = S::RecipientDid; type Content = Set; type SenderDid = S::SenderDid; - type RecipientDid = S::RecipientDid; } ///State transition - sets the `sender_did` field to Set pub struct SetSenderDid(PhantomData S>); impl sealed::Sealed for SetSenderDid {} impl State for SetSenderDid { - type Content = S::Content; - type SenderDid = Set; type RecipientDid = S::RecipientDid; - } - ///State transition - sets the `recipient_did` field to Set - pub struct SetRecipientDid(PhantomData S>); - impl sealed::Sealed for SetRecipientDid {} - impl State for SetRecipientDid { type Content = S::Content; - type SenderDid = S::SenderDid; - type RecipientDid = Set; + type SenderDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `recipient_did` field + pub struct recipient_did(()); ///Marker type for the `content` field pub struct content(()); ///Marker type for the `sender_did` field pub struct sender_did(()); - ///Marker type for the `recipient_did` field - pub struct recipient_did(()); } } @@ -213,9 +213,9 @@ impl<'a, S: send_email_state::State> SendEmailBuilder<'a, S> { impl<'a, S> SendEmailBuilder<'a, S> where S: send_email_state::State, + S::RecipientDid: send_email_state::IsSet, S::Content: send_email_state::IsSet, S::SenderDid: send_email_state::IsSet, - S::RecipientDid: send_email_state::IsSet, { /// Build the final struct pub fn build(self) -> SendEmail<'a> { diff --git a/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs b/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs index 24aebdcd..cf27c636 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs @@ -34,37 +34,37 @@ pub mod update_account_email_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Email; type Account; + type Email; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Email = Unset; type Account = Unset; - } - ///State transition - sets the `email` field to Set - pub struct SetEmail(PhantomData S>); - impl sealed::Sealed for SetEmail {} - impl State for SetEmail { - type Email = Set; - type Account = S::Account; + type Email = Unset; } ///State transition - sets the `account` field to Set pub struct SetAccount(PhantomData S>); impl sealed::Sealed for SetAccount {} impl State for SetAccount { - type Email = S::Email; type Account = Set; + type Email = S::Email; + } + ///State transition - sets the `email` field to Set + pub struct SetEmail(PhantomData S>); + impl sealed::Sealed for SetEmail {} + impl State for SetEmail { + type Account = S::Account; + type Email = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `email` field - pub struct email(()); ///Marker type for the `account` field pub struct account(()); + ///Marker type for the `email` field + pub struct email(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> UpdateAccountEmailBuilder<'a, S> where S: update_account_email_state::State, - S::Email: update_account_email_state::IsSet, S::Account: update_account_email_state::IsSet, + S::Email: update_account_email_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateAccountEmail<'a> { diff --git a/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs b/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs index fdf105f1..47c11d71 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs @@ -33,37 +33,37 @@ pub mod update_account_password_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Password; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Password = Unset; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Password = S::Password; + type Did = Unset; } ///State transition - sets the `password` field to Set pub struct SetPassword(PhantomData S>); impl sealed::Sealed for SetPassword {} impl State for SetPassword { - type Did = S::Did; type Password = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Password = S::Password; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `password` field pub struct password(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -142,8 +142,8 @@ where impl<'a, S> UpdateAccountPasswordBuilder<'a, S> where S: update_account_password_state::State, - S::Did: update_account_password_state::IsSet, S::Password: update_account_password_state::IsSet, + S::Did: update_account_password_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateAccountPassword<'a> { diff --git a/crates/jacquard-api/src/com_atproto/identity.rs b/crates/jacquard-api/src/com_atproto/identity.rs index ad1d03c9..062bb12b 100644 --- a/crates/jacquard-api/src/com_atproto/identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity.rs @@ -47,51 +47,51 @@ pub mod identity_info_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Handle; type Did; type DidDoc; - type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Handle = Unset; type Did = Unset; type DidDoc = Unset; - type Handle = Unset; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Handle = Set; + type Did = S::Did; + type DidDoc = S::DidDoc; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { + type Handle = S::Handle; type Did = Set; type DidDoc = S::DidDoc; - type Handle = S::Handle; } ///State transition - sets the `did_doc` field to Set pub struct SetDidDoc(PhantomData S>); impl sealed::Sealed for SetDidDoc {} impl State for SetDidDoc { - type Did = S::Did; - type DidDoc = Set; type Handle = S::Handle; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { type Did = S::Did; - type DidDoc = S::DidDoc; - type Handle = Set; + type DidDoc = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `handle` field + pub struct handle(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `did_doc` field pub struct did_doc(()); - ///Marker type for the `handle` field - pub struct handle(()); } } @@ -184,9 +184,9 @@ where impl<'a, S> IdentityInfoBuilder<'a, S> where S: identity_info_state::State, + S::Handle: identity_info_state::IsSet, S::Did: identity_info_state::IsSet, S::DidDoc: identity_info_state::IsSet, - S::Handle: identity_info_state::IsSet, { /// Build the final struct pub fn build(self) -> IdentityInfo<'a> { diff --git a/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs b/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs index baab0fe3..39635ec5 100644 --- a/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs @@ -169,8 +169,8 @@ pub enum RefreshIdentityError<'a> { DidDeactivated(std::option::Option>), } -impl std::fmt::Display for RefreshIdentityError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for RefreshIdentityError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::HandleNotFound(msg) => { write!(f, "HandleNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs b/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs index 809fcbc5..b420fab7 100644 --- a/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs +++ b/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs @@ -151,8 +151,8 @@ pub enum ResolveDidError<'a> { DidDeactivated(std::option::Option>), } -impl std::fmt::Display for ResolveDidError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveDidError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::DidNotFound(msg) => { write!(f, "DidNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs b/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs index f5dbebcc..8b4ca592 100644 --- a/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs +++ b/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs @@ -147,8 +147,8 @@ pub enum ResolveHandleError<'a> { HandleNotFound(std::option::Option>), } -impl std::fmt::Display for ResolveHandleError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveHandleError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::HandleNotFound(msg) => { write!(f, "HandleNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs b/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs index 2bcfc9c6..1ecc2ba7 100644 --- a/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs @@ -154,8 +154,8 @@ pub enum ResolveIdentityError<'a> { DidDeactivated(std::option::Option>), } -impl std::fmt::Display for ResolveIdentityError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveIdentityError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::HandleNotFound(msg) => { write!(f, "HandleNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/label.rs b/crates/jacquard-api/src/com_atproto/label.rs index 671f8cdf..e5ee1b58 100644 --- a/crates/jacquard-api/src/com_atproto/label.rs +++ b/crates/jacquard-api/src/com_atproto/label.rs @@ -63,67 +63,67 @@ pub mod label_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Src; type Uri; - type Val; + type Src; type Cts; + type Val; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Src = Unset; type Uri = Unset; - type Val = Unset; + type Src = Unset; type Cts = Unset; - } - ///State transition - sets the `src` field to Set - pub struct SetSrc(PhantomData S>); - impl sealed::Sealed for SetSrc {} - impl State for SetSrc { - type Src = Set; - type Uri = S::Uri; - type Val = S::Val; - type Cts = S::Cts; + type Val = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Src = S::Src; type Uri = Set; - type Val = S::Val; + type Src = S::Src; type Cts = S::Cts; + type Val = S::Val; } - ///State transition - sets the `val` field to Set - pub struct SetVal(PhantomData S>); - impl sealed::Sealed for SetVal {} - impl State for SetVal { - type Src = S::Src; + ///State transition - sets the `src` field to Set + pub struct SetSrc(PhantomData S>); + impl sealed::Sealed for SetSrc {} + impl State for SetSrc { type Uri = S::Uri; - type Val = Set; + type Src = Set; type Cts = S::Cts; + type Val = S::Val; } ///State transition - sets the `cts` field to Set pub struct SetCts(PhantomData S>); impl sealed::Sealed for SetCts {} impl State for SetCts { - type Src = S::Src; type Uri = S::Uri; - type Val = S::Val; + type Src = S::Src; type Cts = Set; + type Val = S::Val; + } + ///State transition - sets the `val` field to Set + pub struct SetVal(PhantomData S>); + impl sealed::Sealed for SetVal {} + impl State for SetVal { + type Uri = S::Uri; + type Src = S::Src; + type Cts = S::Cts; + type Val = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `src` field - pub struct src(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `val` field - pub struct val(()); + ///Marker type for the `src` field + pub struct src(()); ///Marker type for the `cts` field pub struct cts(()); + ///Marker type for the `val` field + pub struct val(()); } } @@ -328,10 +328,10 @@ impl<'a, S: label_state::State> LabelBuilder<'a, S> { impl<'a, S> LabelBuilder<'a, S> where S: label_state::State, - S::Src: label_state::IsSet, S::Uri: label_state::IsSet, - S::Val: label_state::IsSet, + S::Src: label_state::IsSet, S::Cts: label_state::IsSet, + S::Val: label_state::IsSet, { /// Build the final struct pub fn build(self) -> Label<'a> { @@ -968,6 +968,12 @@ impl<'a> AsRef for LabelValue<'a> { } } +impl<'a> core::fmt::Display for LabelValue<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for LabelValue<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1028,11 +1034,11 @@ pub struct LabelValueDefinition<'a> { pub adult_only: std::option::Option, /// What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. #[serde(borrow)] - pub blurs: jacquard_common::CowStr<'a>, + pub blurs: LabelValueDefinitionBlurs<'a>, /// The default setting for this label. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub default_setting: std::option::Option>, + pub default_setting: std::option::Option>, /// The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+). #[serde(borrow)] pub identifier: jacquard_common::CowStr<'a>, @@ -1040,7 +1046,7 @@ pub struct LabelValueDefinition<'a> { pub locales: Vec>, /// How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing. #[serde(borrow)] - pub severity: jacquard_common::CowStr<'a>, + pub severity: LabelValueDefinitionSeverity<'a>, } pub mod label_value_definition_state { @@ -1053,67 +1059,67 @@ pub mod label_value_definition_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Severity; type Identifier; - type Blurs; type Locales; - type Severity; + type Blurs; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Severity = Unset; type Identifier = Unset; - type Blurs = Unset; type Locales = Unset; - type Severity = Unset; + type Blurs = Unset; + } + ///State transition - sets the `severity` field to Set + pub struct SetSeverity(PhantomData S>); + impl sealed::Sealed for SetSeverity {} + impl State for SetSeverity { + type Severity = Set; + type Identifier = S::Identifier; + type Locales = S::Locales; + type Blurs = S::Blurs; } ///State transition - sets the `identifier` field to Set pub struct SetIdentifier(PhantomData S>); impl sealed::Sealed for SetIdentifier {} impl State for SetIdentifier { - type Identifier = Set; - type Blurs = S::Blurs; - type Locales = S::Locales; type Severity = S::Severity; - } - ///State transition - sets the `blurs` field to Set - pub struct SetBlurs(PhantomData S>); - impl sealed::Sealed for SetBlurs {} - impl State for SetBlurs { - type Identifier = S::Identifier; - type Blurs = Set; + type Identifier = Set; type Locales = S::Locales; - type Severity = S::Severity; + type Blurs = S::Blurs; } ///State transition - sets the `locales` field to Set pub struct SetLocales(PhantomData S>); impl sealed::Sealed for SetLocales {} impl State for SetLocales { + type Severity = S::Severity; type Identifier = S::Identifier; - type Blurs = S::Blurs; type Locales = Set; - type Severity = S::Severity; + type Blurs = S::Blurs; } - ///State transition - sets the `severity` field to Set - pub struct SetSeverity(PhantomData S>); - impl sealed::Sealed for SetSeverity {} - impl State for SetSeverity { + ///State transition - sets the `blurs` field to Set + pub struct SetBlurs(PhantomData S>); + impl sealed::Sealed for SetBlurs {} + impl State for SetBlurs { + type Severity = S::Severity; type Identifier = S::Identifier; - type Blurs = S::Blurs; type Locales = S::Locales; - type Severity = Set; + type Blurs = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `severity` field + pub struct severity(()); ///Marker type for the `identifier` field pub struct identifier(()); - ///Marker type for the `blurs` field - pub struct blurs(()); ///Marker type for the `locales` field pub struct locales(()); - ///Marker type for the `severity` field - pub struct severity(()); + ///Marker type for the `blurs` field + pub struct blurs(()); } } @@ -1122,13 +1128,13 @@ pub struct LabelValueDefinitionBuilder<'a, S: label_value_definition_state::Stat _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option< Vec>, >, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -1175,7 +1181,7 @@ where /// Set the `blurs` field (required) pub fn blurs( mut self, - value: impl Into>, + value: impl Into>, ) -> LabelValueDefinitionBuilder<'a, label_value_definition_state::SetBlurs> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); LabelValueDefinitionBuilder { @@ -1190,7 +1196,7 @@ impl<'a, S: label_value_definition_state::State> LabelValueDefinitionBuilder<'a, /// Set the `defaultSetting` field (optional) pub fn default_setting( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.2 = value.into(); self @@ -1198,7 +1204,7 @@ impl<'a, S: label_value_definition_state::State> LabelValueDefinitionBuilder<'a, /// Set the `defaultSetting` field to an Option value (optional) pub fn maybe_default_setting( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.2 = value; self @@ -1254,7 +1260,7 @@ where /// Set the `severity` field (required) pub fn severity( mut self, - value: impl Into>, + value: impl Into>, ) -> LabelValueDefinitionBuilder<'a, label_value_definition_state::SetSeverity> { self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); LabelValueDefinitionBuilder { @@ -1268,10 +1274,10 @@ where impl<'a, S> LabelValueDefinitionBuilder<'a, S> where S: label_value_definition_state::State, + S::Severity: label_value_definition_state::IsSet, S::Identifier: label_value_definition_state::IsSet, - S::Blurs: label_value_definition_state::IsSet, S::Locales: label_value_definition_state::IsSet, - S::Severity: label_value_definition_state::IsSet, + S::Blurs: label_value_definition_state::IsSet, { /// Build the final struct pub fn build(self) -> LabelValueDefinition<'a> { @@ -1305,6 +1311,300 @@ where } } +/// What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum LabelValueDefinitionBlurs<'a> { + Content, + Media, + None, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> LabelValueDefinitionBlurs<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Content => "content", + Self::Media => "media", + Self::None => "none", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for LabelValueDefinitionBlurs<'a> { + fn from(s: &'a str) -> Self { + match s { + "content" => Self::Content, + "media" => Self::Media, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for LabelValueDefinitionBlurs<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "content" => Self::Content, + "media" => Self::Media, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for LabelValueDefinitionBlurs<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for LabelValueDefinitionBlurs<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for LabelValueDefinitionBlurs<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for LabelValueDefinitionBlurs<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for LabelValueDefinitionBlurs<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for LabelValueDefinitionBlurs<'_> { + type Output = LabelValueDefinitionBlurs<'static>; + fn into_static(self) -> Self::Output { + match self { + LabelValueDefinitionBlurs::Content => LabelValueDefinitionBlurs::Content, + LabelValueDefinitionBlurs::Media => LabelValueDefinitionBlurs::Media, + LabelValueDefinitionBlurs::None => LabelValueDefinitionBlurs::None, + LabelValueDefinitionBlurs::Other(v) => { + LabelValueDefinitionBlurs::Other(v.into_static()) + } + } + } +} + +/// The default setting for this label. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum LabelValueDefinitionDefaultSetting<'a> { + Ignore, + Warn, + Hide, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> LabelValueDefinitionDefaultSetting<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Ignore => "ignore", + Self::Warn => "warn", + Self::Hide => "hide", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for LabelValueDefinitionDefaultSetting<'a> { + fn from(s: &'a str) -> Self { + match s { + "ignore" => Self::Ignore, + "warn" => Self::Warn, + "hide" => Self::Hide, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for LabelValueDefinitionDefaultSetting<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "ignore" => Self::Ignore, + "warn" => Self::Warn, + "hide" => Self::Hide, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for LabelValueDefinitionDefaultSetting<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for LabelValueDefinitionDefaultSetting<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for LabelValueDefinitionDefaultSetting<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for LabelValueDefinitionDefaultSetting<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for LabelValueDefinitionDefaultSetting<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for LabelValueDefinitionDefaultSetting<'_> { + type Output = LabelValueDefinitionDefaultSetting<'static>; + fn into_static(self) -> Self::Output { + match self { + LabelValueDefinitionDefaultSetting::Ignore => { + LabelValueDefinitionDefaultSetting::Ignore + } + LabelValueDefinitionDefaultSetting::Warn => { + LabelValueDefinitionDefaultSetting::Warn + } + LabelValueDefinitionDefaultSetting::Hide => { + LabelValueDefinitionDefaultSetting::Hide + } + LabelValueDefinitionDefaultSetting::Other(v) => { + LabelValueDefinitionDefaultSetting::Other(v.into_static()) + } + } + } +} + +/// How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum LabelValueDefinitionSeverity<'a> { + Inform, + Alert, + None, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> LabelValueDefinitionSeverity<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Inform => "inform", + Self::Alert => "alert", + Self::None => "none", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for LabelValueDefinitionSeverity<'a> { + fn from(s: &'a str) -> Self { + match s { + "inform" => Self::Inform, + "alert" => Self::Alert, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for LabelValueDefinitionSeverity<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "inform" => Self::Inform, + "alert" => Self::Alert, + "none" => Self::None, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for LabelValueDefinitionSeverity<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for LabelValueDefinitionSeverity<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for LabelValueDefinitionSeverity<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for LabelValueDefinitionSeverity<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for LabelValueDefinitionSeverity<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for LabelValueDefinitionSeverity<'_> { + type Output = LabelValueDefinitionSeverity<'static>; + fn into_static(self) -> Self::Output { + match self { + LabelValueDefinitionSeverity::Inform => LabelValueDefinitionSeverity::Inform, + LabelValueDefinitionSeverity::Alert => LabelValueDefinitionSeverity::Alert, + LabelValueDefinitionSeverity::None => LabelValueDefinitionSeverity::None, + LabelValueDefinitionSeverity::Other(v) => { + LabelValueDefinitionSeverity::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LabelValueDefinition<'a> { fn nsid() -> &'static str { "com.atproto.label.defs" @@ -1387,51 +1687,51 @@ pub mod label_value_definition_strings_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; type Description; type Lang; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; type Description = Unset; type Lang = Unset; - type Name = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Description = S::Description; + type Lang = S::Lang; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { + type Name = S::Name; type Description = Set; type Lang = S::Lang; - type Name = S::Name; } ///State transition - sets the `lang` field to Set pub struct SetLang(PhantomData S>); impl sealed::Sealed for SetLang {} impl State for SetLang { - type Description = S::Description; - type Lang = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type Description = S::Description; - type Lang = S::Lang; - type Name = Set; + type Lang = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `description` field pub struct description(()); ///Marker type for the `lang` field pub struct lang(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -1541,9 +1841,9 @@ where impl<'a, S> LabelValueDefinitionStringsBuilder<'a, S> where S: label_value_definition_strings_state::State, + S::Name: label_value_definition_strings_state::IsSet, S::Description: label_value_definition_strings_state::IsSet, S::Lang: label_value_definition_strings_state::IsSet, - S::Name: label_value_definition_strings_state::IsSet, { /// Build the final struct pub fn build(self) -> LabelValueDefinitionStrings<'a> { diff --git a/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs b/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs index e785549a..2e30cc0f 100644 --- a/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs +++ b/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs @@ -22,7 +22,90 @@ pub struct Info<'a> { #[serde(borrow)] pub message: std::option::Option>, #[serde(borrow)] - pub name: jacquard_common::CowStr<'a>, + pub name: InfoName<'a>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum InfoName<'a> { + OutdatedCursor, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> InfoName<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::OutdatedCursor => "OutdatedCursor", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for InfoName<'a> { + fn from(s: &'a str) -> Self { + match s { + "OutdatedCursor" => Self::OutdatedCursor, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for InfoName<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "OutdatedCursor" => Self::OutdatedCursor, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for InfoName<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for InfoName<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for InfoName<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for InfoName<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for InfoName<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for InfoName<'_> { + type Output = InfoName<'static>; + fn into_static(self) -> Self::Output { + match self { + InfoName::OutdatedCursor => InfoName::OutdatedCursor, + InfoName::Other(v) => InfoName::Other(v.into_static()), + } + } } fn lexicon_doc_com_atproto_label_subscribeLabels() -> ::jacquard_lexicon::lexicon::LexiconDoc< @@ -496,8 +579,8 @@ pub enum SubscribeLabelsError<'a> { FutureCursor(std::option::Option>), } -impl std::fmt::Display for SubscribeLabelsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SubscribeLabelsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::FutureCursor(msg) => { write!(f, "FutureCursor")?; diff --git a/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs b/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs index c02beb84..c8435315 100644 --- a/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs +++ b/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs @@ -154,8 +154,8 @@ pub enum ResolveLexiconError<'a> { LexiconNotFound(std::option::Option>), } -impl std::fmt::Display for ResolveLexiconError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveLexiconError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::LexiconNotFound(msg) => { write!(f, "LexiconNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/moderation.rs b/crates/jacquard-api/src/com_atproto/moderation.rs index 1ea1c599..8c81ec73 100644 --- a/crates/jacquard-api/src/com_atproto/moderation.rs +++ b/crates/jacquard-api/src/com_atproto/moderation.rs @@ -620,6 +620,12 @@ impl<'a> AsRef for ReasonType<'a> { } } +impl<'a> core::fmt::Display for ReasonType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ReasonType<'a> { fn serialize(&self, serializer: S) -> Result where @@ -858,6 +864,12 @@ impl<'a> AsRef for SubjectType<'a> { } } +impl<'a> core::fmt::Display for SubjectType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for SubjectType<'a> { fn serialize(&self, serializer: S) -> Result where diff --git a/crates/jacquard-api/src/com_atproto/repo.rs b/crates/jacquard-api/src/com_atproto/repo.rs index 96683779..a43999fd 100644 --- a/crates/jacquard-api/src/com_atproto/repo.rs +++ b/crates/jacquard-api/src/com_atproto/repo.rs @@ -44,37 +44,37 @@ pub mod commit_meta_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Rev; type Cid; + type Rev; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Rev = Unset; type Cid = Unset; - } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type Rev = Set; - type Cid = S::Cid; + type Rev = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Rev = S::Rev; type Cid = Set; + type Rev = S::Rev; + } + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { + type Cid = S::Cid; + type Rev = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `rev` field - pub struct rev(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `rev` field + pub struct rev(()); } } @@ -147,8 +147,8 @@ where impl<'a, S> CommitMetaBuilder<'a, S> where S: commit_meta_state::State, - S::Rev: commit_meta_state::IsSet, S::Cid: commit_meta_state::IsSet, + S::Rev: commit_meta_state::IsSet, { /// Build the final struct pub fn build(self) -> CommitMeta<'a> { diff --git a/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs b/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs index 199f762d..8c0f7cb3 100644 --- a/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs +++ b/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs @@ -715,7 +715,7 @@ pub struct CreateResult<'a> { pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub validation_status: std::option::Option>, + pub validation_status: std::option::Option>, } pub mod create_result_state { @@ -768,7 +768,7 @@ pub struct CreateResultBuilder<'a, S: create_result_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -833,7 +833,7 @@ impl<'a, S: create_result_state::State> CreateResultBuilder<'a, S> { /// Set the `validationStatus` field (optional) pub fn validation_status( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.2 = value.into(); self @@ -841,7 +841,7 @@ impl<'a, S: create_result_state::State> CreateResultBuilder<'a, S> { /// Set the `validationStatus` field to an Option value (optional) pub fn maybe_validation_status( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.2 = value; self @@ -880,6 +880,98 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum CreateResultValidationStatus<'a> { + Valid, + Unknown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> CreateResultValidationStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Valid => "valid", + Self::Unknown => "unknown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for CreateResultValidationStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for CreateResultValidationStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for CreateResultValidationStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for CreateResultValidationStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for CreateResultValidationStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for CreateResultValidationStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for CreateResultValidationStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for CreateResultValidationStatus<'_> { + type Output = CreateResultValidationStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + CreateResultValidationStatus::Valid => CreateResultValidationStatus::Valid, + CreateResultValidationStatus::Unknown => { + CreateResultValidationStatus::Unknown + } + CreateResultValidationStatus::Other(v) => { + CreateResultValidationStatus::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CreateResult<'a> { fn nsid() -> &'static str { "com.atproto.repo.applyWrites" @@ -1398,8 +1490,8 @@ pub enum ApplyWritesError<'a> { InvalidSwap(std::option::Option>), } -impl std::fmt::Display for ApplyWritesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ApplyWritesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidSwap(msg) => { write!(f, "InvalidSwap")?; @@ -1476,51 +1568,51 @@ pub mod update_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Rkey; type Value; type Collection; - type Rkey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Rkey = Unset; type Value = Unset; type Collection = Unset; - type Rkey = Unset; + } + ///State transition - sets the `rkey` field to Set + pub struct SetRkey(PhantomData S>); + impl sealed::Sealed for SetRkey {} + impl State for SetRkey { + type Rkey = Set; + type Value = S::Value; + type Collection = S::Collection; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { + type Rkey = S::Rkey; type Value = Set; type Collection = S::Collection; - type Rkey = S::Rkey; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type Value = S::Value; - type Collection = Set; type Rkey = S::Rkey; - } - ///State transition - sets the `rkey` field to Set - pub struct SetRkey(PhantomData S>); - impl sealed::Sealed for SetRkey {} - impl State for SetRkey { type Value = S::Value; - type Collection = S::Collection; - type Rkey = Set; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `rkey` field + pub struct rkey(()); ///Marker type for the `value` field pub struct value(()); ///Marker type for the `collection` field pub struct collection(()); - ///Marker type for the `rkey` field - pub struct rkey(()); } } @@ -1621,9 +1713,9 @@ where impl<'a, S> UpdateBuilder<'a, S> where S: update_state::State, + S::Rkey: update_state::IsSet, S::Value: update_state::IsSet, S::Collection: update_state::IsSet, - S::Rkey: update_state::IsSet, { /// Build the final struct pub fn build(self) -> Update<'a> { @@ -1686,7 +1778,7 @@ pub struct UpdateResult<'a> { pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub validation_status: std::option::Option>, + pub validation_status: std::option::Option>, } pub mod update_result_state { @@ -1739,7 +1831,7 @@ pub struct UpdateResultBuilder<'a, S: update_result_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -1804,7 +1896,7 @@ impl<'a, S: update_result_state::State> UpdateResultBuilder<'a, S> { /// Set the `validationStatus` field (optional) pub fn validation_status( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.2 = value.into(); self @@ -1812,7 +1904,7 @@ impl<'a, S: update_result_state::State> UpdateResultBuilder<'a, S> { /// Set the `validationStatus` field to an Option value (optional) pub fn maybe_validation_status( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.2 = value; self @@ -1851,6 +1943,98 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UpdateResultValidationStatus<'a> { + Valid, + Unknown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UpdateResultValidationStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Valid => "valid", + Self::Unknown => "unknown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UpdateResultValidationStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UpdateResultValidationStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UpdateResultValidationStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UpdateResultValidationStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UpdateResultValidationStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UpdateResultValidationStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UpdateResultValidationStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UpdateResultValidationStatus<'_> { + type Output = UpdateResultValidationStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + UpdateResultValidationStatus::Valid => UpdateResultValidationStatus::Valid, + UpdateResultValidationStatus::Unknown => { + UpdateResultValidationStatus::Unknown + } + UpdateResultValidationStatus::Other(v) => { + UpdateResultValidationStatus::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UpdateResult<'a> { fn nsid() -> &'static str { "com.atproto.repo.applyWrites" diff --git a/crates/jacquard-api/src/com_atproto/repo/create_record.rs b/crates/jacquard-api/src/com_atproto/repo/create_record.rs index c7067233..dbaf0b9b 100644 --- a/crates/jacquard-api/src/com_atproto/repo/create_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/create_record.rs @@ -53,49 +53,49 @@ pub mod create_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Collection; type Record; + type Collection; type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Collection = Unset; type Record = Unset; + type Collection = Unset; type Repo = Unset; } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { - type Collection = Set; - type Record = S::Record; - type Repo = S::Repo; - } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Collection = S::Collection; type Record = Set; + type Collection = S::Collection; + type Repo = S::Repo; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type Record = S::Record; + type Collection = Set; type Repo = S::Repo; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Collection = S::Collection; type Record = S::Record; + type Collection = S::Collection; type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `collection` field - pub struct collection(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `collection` field + pub struct collection(()); ///Marker type for the `repo` field pub struct repo(()); } @@ -258,8 +258,8 @@ impl<'a, S: create_record_state::State> CreateRecordBuilder<'a, S> { impl<'a, S> CreateRecordBuilder<'a, S> where S: create_record_state::State, - S::Collection: create_record_state::IsSet, S::Record: create_record_state::IsSet, + S::Collection: create_record_state::IsSet, S::Repo: create_record_state::IsSet, { /// Build the final struct @@ -315,7 +315,101 @@ pub struct CreateRecordOutput<'a> { pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub validation_status: std::option::Option>, + pub validation_status: std::option::Option>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum CreateRecordOutputValidationStatus<'a> { + Valid, + Unknown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> CreateRecordOutputValidationStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Valid => "valid", + Self::Unknown => "unknown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for CreateRecordOutputValidationStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for CreateRecordOutputValidationStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for CreateRecordOutputValidationStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for CreateRecordOutputValidationStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for CreateRecordOutputValidationStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for CreateRecordOutputValidationStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for CreateRecordOutputValidationStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for CreateRecordOutputValidationStatus<'_> { + type Output = CreateRecordOutputValidationStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + CreateRecordOutputValidationStatus::Valid => { + CreateRecordOutputValidationStatus::Valid + } + CreateRecordOutputValidationStatus::Unknown => { + CreateRecordOutputValidationStatus::Unknown + } + CreateRecordOutputValidationStatus::Other(v) => { + CreateRecordOutputValidationStatus::Other(v.into_static()) + } + } + } } #[jacquard_derive::open_union] @@ -338,8 +432,8 @@ pub enum CreateRecordError<'a> { InvalidSwap(std::option::Option>), } -impl std::fmt::Display for CreateRecordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateRecordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidSwap(msg) => { write!(f, "InvalidSwap")?; diff --git a/crates/jacquard-api/src/com_atproto/repo/delete_record.rs b/crates/jacquard-api/src/com_atproto/repo/delete_record.rs index ab7d0614..03dd23b3 100644 --- a/crates/jacquard-api/src/com_atproto/repo/delete_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/delete_record.rs @@ -49,50 +49,50 @@ pub mod delete_record_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Rkey; - type Repo; type Collection; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Rkey = Unset; - type Repo = Unset; type Collection = Unset; + type Repo = Unset; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { type Rkey = Set; - type Repo = S::Repo; - type Collection = S::Collection; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Rkey = S::Rkey; - type Repo = Set; type Collection = S::Collection; + type Repo = S::Repo; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { type Rkey = S::Rkey; - type Repo = S::Repo; type Collection = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Rkey = S::Rkey; + type Collection = S::Collection; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `rkey` field pub struct rkey(()); - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `collection` field pub struct collection(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -234,8 +234,8 @@ impl<'a, S> DeleteRecordBuilder<'a, S> where S: delete_record_state::State, S::Rkey: delete_record_state::IsSet, - S::Repo: delete_record_state::IsSet, S::Collection: delete_record_state::IsSet, + S::Repo: delete_record_state::IsSet, { /// Build the final struct pub fn build(self) -> DeleteRecord<'a> { @@ -304,8 +304,8 @@ pub enum DeleteRecordError<'a> { InvalidSwap(std::option::Option>), } -impl std::fmt::Display for DeleteRecordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteRecordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidSwap(msg) => { write!(f, "InvalidSwap")?; diff --git a/crates/jacquard-api/src/com_atproto/repo/get_record.rs b/crates/jacquard-api/src/com_atproto/repo/get_record.rs index dd9693fd..8786d059 100644 --- a/crates/jacquard-api/src/com_atproto/repo/get_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/get_record.rs @@ -39,51 +39,51 @@ pub mod get_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Collection; type Rkey; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Collection = Unset; type Rkey = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Collection = S::Collection; - type Rkey = S::Rkey; + type Repo = Unset; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type Repo = S::Repo; type Collection = Set; type Rkey = S::Rkey; + type Repo = S::Repo; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type Repo = S::Repo; type Collection = S::Collection; type Rkey = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Collection = S::Collection; + type Rkey = S::Rkey; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `collection` field pub struct collection(()); ///Marker type for the `rkey` field pub struct rkey(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -204,9 +204,9 @@ where impl<'a, S> GetRecordBuilder<'a, S> where S: get_record_state::State, - S::Repo: get_record_state::IsSet, S::Collection: get_record_state::IsSet, S::Rkey: get_record_state::IsSet, + S::Repo: get_record_state::IsSet, { /// Build the final struct pub fn build(self) -> GetRecord<'a> { @@ -259,8 +259,8 @@ pub enum GetRecordError<'a> { RecordNotFound(std::option::Option>), } -impl std::fmt::Display for GetRecordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRecordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RecordNotFound(msg) => { write!(f, "RecordNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs b/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs index 3bc064e6..6a5fbc52 100644 --- a/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs +++ b/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs @@ -186,37 +186,37 @@ pub mod record_blob_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type RecordUri; type Cid; + type RecordUri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type RecordUri = Unset; type Cid = Unset; - } - ///State transition - sets the `record_uri` field to Set - pub struct SetRecordUri(PhantomData S>); - impl sealed::Sealed for SetRecordUri {} - impl State for SetRecordUri { - type RecordUri = Set; - type Cid = S::Cid; + type RecordUri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type RecordUri = S::RecordUri; type Cid = Set; + type RecordUri = S::RecordUri; + } + ///State transition - sets the `record_uri` field to Set + pub struct SetRecordUri(PhantomData S>); + impl sealed::Sealed for SetRecordUri {} + impl State for SetRecordUri { + type Cid = S::Cid; + type RecordUri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record_uri` field - pub struct record_uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `record_uri` field + pub struct record_uri(()); } } @@ -289,8 +289,8 @@ where impl<'a, S> RecordBlobBuilder<'a, S> where S: record_blob_state::State, - S::RecordUri: record_blob_state::IsSet, S::Cid: record_blob_state::IsSet, + S::RecordUri: record_blob_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordBlob<'a> { diff --git a/crates/jacquard-api/src/com_atproto/repo/list_records.rs b/crates/jacquard-api/src/com_atproto/repo/list_records.rs index b1a4ee33..ad621d4c 100644 --- a/crates/jacquard-api/src/com_atproto/repo/list_records.rs +++ b/crates/jacquard-api/src/com_atproto/repo/list_records.rs @@ -40,37 +40,37 @@ pub mod list_records_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Collection; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Collection = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Collection = S::Collection; + type Repo = Unset; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type Repo = S::Repo; type Collection = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Collection = S::Collection; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `collection` field pub struct collection(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -188,8 +188,8 @@ impl<'a, S: list_records_state::State> ListRecordsBuilder<'a, S> { impl<'a, S> ListRecordsBuilder<'a, S> where S: list_records_state::State, - S::Repo: list_records_state::IsSet, S::Collection: list_records_state::IsSet, + S::Repo: list_records_state::IsSet, { /// Build the final struct pub fn build(self) -> ListRecords<'a> { @@ -278,51 +278,51 @@ pub mod record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; - type Cid; type Uri; + type Cid; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; - type Cid = Unset; type Uri = Unset; + type Cid = Unset; + type Value = Unset; } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type Cid = S::Cid; - type Uri = S::Uri; + type Value = S::Value; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Value = S::Value; - type Cid = Set; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { + type Cid = Set; type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Uri = S::Uri; type Cid = S::Cid; - type Uri = Set; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -415,9 +415,9 @@ where impl<'a, S> RecordBuilder<'a, S> where S: record_state::State, - S::Value: record_state::IsSet, - S::Cid: record_state::IsSet, S::Uri: record_state::IsSet, + S::Cid: record_state::IsSet, + S::Value: record_state::IsSet, { /// Build the final struct pub fn build(self) -> Record<'a> { diff --git a/crates/jacquard-api/src/com_atproto/repo/put_record.rs b/crates/jacquard-api/src/com_atproto/repo/put_record.rs index 889aeadb..14759be2 100644 --- a/crates/jacquard-api/src/com_atproto/repo/put_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/put_record.rs @@ -54,67 +54,67 @@ pub mod put_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Repo; - type Rkey; type Collection; + type Record; + type Rkey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Repo = Unset; - type Rkey = Unset; type Collection = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Repo = S::Repo; - type Rkey = S::Rkey; - type Collection = S::Collection; + type Record = Unset; + type Rkey = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Record = S::Record; type Repo = Set; - type Rkey = S::Rkey; type Collection = S::Collection; - } - ///State transition - sets the `rkey` field to Set - pub struct SetRkey(PhantomData S>); - impl sealed::Sealed for SetRkey {} - impl State for SetRkey { type Record = S::Record; - type Repo = S::Repo; - type Rkey = Set; - type Collection = S::Collection; + type Rkey = S::Rkey; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { + type Repo = S::Repo; + type Collection = Set; type Record = S::Record; + type Rkey = S::Rkey; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { type Repo = S::Repo; + type Collection = S::Collection; + type Record = Set; type Rkey = S::Rkey; - type Collection = Set; + } + ///State transition - sets the `rkey` field to Set + pub struct SetRkey(PhantomData S>); + impl sealed::Sealed for SetRkey {} + impl State for SetRkey { + type Repo = S::Repo; + type Collection = S::Collection; + type Record = S::Record; + type Rkey = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `repo` field pub struct repo(()); - ///Marker type for the `rkey` field - pub struct rkey(()); ///Marker type for the `collection` field pub struct collection(()); + ///Marker type for the `record` field + pub struct record(()); + ///Marker type for the `rkey` field + pub struct rkey(()); } } @@ -289,10 +289,10 @@ impl<'a, S: put_record_state::State> PutRecordBuilder<'a, S> { impl<'a, S> PutRecordBuilder<'a, S> where S: put_record_state::State, - S::Record: put_record_state::IsSet, S::Repo: put_record_state::IsSet, - S::Rkey: put_record_state::IsSet, S::Collection: put_record_state::IsSet, + S::Record: put_record_state::IsSet, + S::Rkey: put_record_state::IsSet, { /// Build the final struct pub fn build(self) -> PutRecord<'a> { @@ -349,7 +349,101 @@ pub struct PutRecordOutput<'a> { pub uri: jacquard_common::types::string::AtUri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub validation_status: std::option::Option>, + pub validation_status: std::option::Option>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum PutRecordOutputValidationStatus<'a> { + Valid, + Unknown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> PutRecordOutputValidationStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Valid => "valid", + Self::Unknown => "unknown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for PutRecordOutputValidationStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for PutRecordOutputValidationStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "valid" => Self::Valid, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for PutRecordOutputValidationStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for PutRecordOutputValidationStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for PutRecordOutputValidationStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for PutRecordOutputValidationStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for PutRecordOutputValidationStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for PutRecordOutputValidationStatus<'_> { + type Output = PutRecordOutputValidationStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + PutRecordOutputValidationStatus::Valid => { + PutRecordOutputValidationStatus::Valid + } + PutRecordOutputValidationStatus::Unknown => { + PutRecordOutputValidationStatus::Unknown + } + PutRecordOutputValidationStatus::Other(v) => { + PutRecordOutputValidationStatus::Other(v.into_static()) + } + } + } } #[jacquard_derive::open_union] @@ -371,8 +465,8 @@ pub enum PutRecordError<'a> { InvalidSwap(std::option::Option>), } -impl std::fmt::Display for PutRecordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for PutRecordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidSwap(msg) => { write!(f, "InvalidSwap")?; diff --git a/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs b/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs index 7d44605e..f934e761 100644 --- a/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs +++ b/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs @@ -33,37 +33,37 @@ pub mod strong_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Cid; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Cid = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Cid = S::Cid; + type Uri = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Cid = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Cid = S::Cid; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> StrongRefBuilder<'a, S> where S: strong_ref_state::State, - S::Uri: strong_ref_state::IsSet, S::Cid: strong_ref_state::IsSet, + S::Uri: strong_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> StrongRef<'a> { diff --git a/crates/jacquard-api/src/com_atproto/server.rs b/crates/jacquard-api/src/com_atproto/server.rs index 9e73fe62..947c98c0 100644 --- a/crates/jacquard-api/src/com_atproto/server.rs +++ b/crates/jacquard-api/src/com_atproto/server.rs @@ -66,127 +66,127 @@ pub mod invite_code_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Disabled; - type Uses; type Code; type Available; - type CreatedAt; - type CreatedBy; type ForAccount; + type CreatedBy; + type CreatedAt; + type Uses; + type Disabled; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Disabled = Unset; - type Uses = Unset; type Code = Unset; type Available = Unset; - type CreatedAt = Unset; - type CreatedBy = Unset; type ForAccount = Unset; - } - ///State transition - sets the `disabled` field to Set - pub struct SetDisabled(PhantomData S>); - impl sealed::Sealed for SetDisabled {} - impl State for SetDisabled { - type Disabled = Set; - type Uses = S::Uses; - type Code = S::Code; - type Available = S::Available; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; - type ForAccount = S::ForAccount; - } - ///State transition - sets the `uses` field to Set - pub struct SetUses(PhantomData S>); - impl sealed::Sealed for SetUses {} - impl State for SetUses { - type Disabled = S::Disabled; - type Uses = Set; - type Code = S::Code; - type Available = S::Available; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; - type ForAccount = S::ForAccount; + type CreatedBy = Unset; + type CreatedAt = Unset; + type Uses = Unset; + type Disabled = Unset; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type Disabled = S::Disabled; - type Uses = S::Uses; type Code = Set; type Available = S::Available; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type ForAccount = S::ForAccount; + type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; + type Uses = S::Uses; + type Disabled = S::Disabled; } ///State transition - sets the `available` field to Set pub struct SetAvailable(PhantomData S>); impl sealed::Sealed for SetAvailable {} impl State for SetAvailable { - type Disabled = S::Disabled; - type Uses = S::Uses; type Code = S::Code; type Available = Set; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type ForAccount = S::ForAccount; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Disabled = S::Disabled; + type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; type Uses = S::Uses; + type Disabled = S::Disabled; + } + ///State transition - sets the `for_account` field to Set + pub struct SetForAccount(PhantomData S>); + impl sealed::Sealed for SetForAccount {} + impl State for SetForAccount { type Code = S::Code; type Available = S::Available; - type CreatedAt = Set; + type ForAccount = Set; type CreatedBy = S::CreatedBy; - type ForAccount = S::ForAccount; + type CreatedAt = S::CreatedAt; + type Uses = S::Uses; + type Disabled = S::Disabled; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type Disabled = S::Disabled; - type Uses = S::Uses; type Code = S::Code; type Available = S::Available; - type CreatedAt = S::CreatedAt; - type CreatedBy = Set; type ForAccount = S::ForAccount; - } - ///State transition - sets the `for_account` field to Set - pub struct SetForAccount(PhantomData S>); - impl sealed::Sealed for SetForAccount {} - impl State for SetForAccount { + type CreatedBy = Set; + type CreatedAt = S::CreatedAt; + type Uses = S::Uses; type Disabled = S::Disabled; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Code = S::Code; + type Available = S::Available; + type ForAccount = S::ForAccount; + type CreatedBy = S::CreatedBy; + type CreatedAt = Set; type Uses = S::Uses; + type Disabled = S::Disabled; + } + ///State transition - sets the `uses` field to Set + pub struct SetUses(PhantomData S>); + impl sealed::Sealed for SetUses {} + impl State for SetUses { type Code = S::Code; type Available = S::Available; + type ForAccount = S::ForAccount; + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; + type Uses = Set; + type Disabled = S::Disabled; + } + ///State transition - sets the `disabled` field to Set + pub struct SetDisabled(PhantomData S>); + impl sealed::Sealed for SetDisabled {} + impl State for SetDisabled { + type Code = S::Code; + type Available = S::Available; + type ForAccount = S::ForAccount; type CreatedBy = S::CreatedBy; - type ForAccount = Set; + type CreatedAt = S::CreatedAt; + type Uses = S::Uses; + type Disabled = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `disabled` field - pub struct disabled(()); - ///Marker type for the `uses` field - pub struct uses(()); ///Marker type for the `code` field pub struct code(()); ///Marker type for the `available` field pub struct available(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `created_by` field - pub struct created_by(()); ///Marker type for the `for_account` field pub struct for_account(()); + ///Marker type for the `created_by` field + pub struct created_by(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `uses` field + pub struct uses(()); + ///Marker type for the `disabled` field + pub struct disabled(()); } } @@ -359,13 +359,13 @@ where impl<'a, S> InviteCodeBuilder<'a, S> where S: invite_code_state::State, - S::Disabled: invite_code_state::IsSet, - S::Uses: invite_code_state::IsSet, S::Code: invite_code_state::IsSet, S::Available: invite_code_state::IsSet, - S::CreatedAt: invite_code_state::IsSet, - S::CreatedBy: invite_code_state::IsSet, S::ForAccount: invite_code_state::IsSet, + S::CreatedBy: invite_code_state::IsSet, + S::CreatedAt: invite_code_state::IsSet, + S::Uses: invite_code_state::IsSet, + S::Disabled: invite_code_state::IsSet, { /// Build the final struct pub fn build(self) -> InviteCode<'a> { diff --git a/crates/jacquard-api/src/com_atproto/server/confirm_email.rs b/crates/jacquard-api/src/com_atproto/server/confirm_email.rs index 49b6f1bd..2e555f11 100644 --- a/crates/jacquard-api/src/com_atproto/server/confirm_email.rs +++ b/crates/jacquard-api/src/com_atproto/server/confirm_email.rs @@ -49,8 +49,8 @@ pub enum ConfirmEmailError<'a> { InvalidEmail(std::option::Option>), } -impl std::fmt::Display for ConfirmEmailError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ConfirmEmailError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::AccountNotFound(msg) => { write!(f, "AccountNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/server/create_account.rs b/crates/jacquard-api/src/com_atproto/server/create_account.rs index 512cde17..0d31e127 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_account.rs @@ -393,8 +393,8 @@ pub enum CreateAccountError<'a> { IncompatibleDidDoc(std::option::Option>), } -impl std::fmt::Display for CreateAccountError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateAccountError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidHandle(msg) => { write!(f, "InvalidHandle")?; diff --git a/crates/jacquard-api/src/com_atproto/server/create_app_password.rs b/crates/jacquard-api/src/com_atproto/server/create_app_password.rs index 6142720d..8c8c1686 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_app_password.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_app_password.rs @@ -36,51 +36,51 @@ pub mod app_password_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Password; type Name; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Password = Unset; type Name = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Password = S::Password; + type Name = S::Name; } ///State transition - sets the `password` field to Set pub struct SetPassword(PhantomData S>); impl sealed::Sealed for SetPassword {} impl State for SetPassword { + type CreatedAt = S::CreatedAt; type Password = Set; type Name = S::Name; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Password = S::Password; - type Name = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Password = S::Password; - type Name = S::Name; - type CreatedAt = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `password` field pub struct password(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -187,9 +187,9 @@ impl<'a, S: app_password_state::State> AppPasswordBuilder<'a, S> { impl<'a, S> AppPasswordBuilder<'a, S> where S: app_password_state::State, + S::CreatedAt: app_password_state::IsSet, S::Password: app_password_state::IsSet, S::Name: app_password_state::IsSet, - S::CreatedAt: app_password_state::IsSet, { /// Build the final struct pub fn build(self) -> AppPassword<'a> { @@ -448,8 +448,8 @@ pub enum CreateAppPasswordError<'a> { AccountTakedown(std::option::Option>), } -impl std::fmt::Display for CreateAppPasswordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateAppPasswordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::AccountTakedown(msg) => { write!(f, "AccountTakedown")?; diff --git a/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs b/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs index 9488bcae..1567defe 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs @@ -361,37 +361,37 @@ pub mod create_invite_codes_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UseCount; type CodeCount; + type UseCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UseCount = Unset; type CodeCount = Unset; - } - ///State transition - sets the `use_count` field to Set - pub struct SetUseCount(PhantomData S>); - impl sealed::Sealed for SetUseCount {} - impl State for SetUseCount { - type UseCount = Set; - type CodeCount = S::CodeCount; + type UseCount = Unset; } ///State transition - sets the `code_count` field to Set pub struct SetCodeCount(PhantomData S>); impl sealed::Sealed for SetCodeCount {} impl State for SetCodeCount { - type UseCount = S::UseCount; type CodeCount = Set; + type UseCount = S::UseCount; + } + ///State transition - sets the `use_count` field to Set + pub struct SetUseCount(PhantomData S>); + impl sealed::Sealed for SetUseCount {} + impl State for SetUseCount { + type CodeCount = S::CodeCount; + type UseCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `use_count` field - pub struct use_count(()); ///Marker type for the `code_count` field pub struct code_count(()); + ///Marker type for the `use_count` field + pub struct use_count(()); } } @@ -484,8 +484,8 @@ where impl<'a, S> CreateInviteCodesBuilder<'a, S> where S: create_invite_codes_state::State, - S::UseCount: create_invite_codes_state::IsSet, S::CodeCount: create_invite_codes_state::IsSet, + S::UseCount: create_invite_codes_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateInviteCodes<'a> { diff --git a/crates/jacquard-api/src/com_atproto/server/create_session.rs b/crates/jacquard-api/src/com_atproto/server/create_session.rs index 126cdee8..1e862530 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_session.rs @@ -66,7 +66,105 @@ pub struct CreateSessionOutput<'a> { /// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +/// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum CreateSessionOutputStatus<'a> { + Takendown, + Suspended, + Deactivated, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> CreateSessionOutputStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deactivated => "deactivated", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for CreateSessionOutputStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deactivated" => Self::Deactivated, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for CreateSessionOutputStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deactivated" => Self::Deactivated, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for CreateSessionOutputStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for CreateSessionOutputStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for CreateSessionOutputStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for CreateSessionOutputStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for CreateSessionOutputStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for CreateSessionOutputStatus<'_> { + type Output = CreateSessionOutputStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + CreateSessionOutputStatus::Takendown => CreateSessionOutputStatus::Takendown, + CreateSessionOutputStatus::Suspended => CreateSessionOutputStatus::Suspended, + CreateSessionOutputStatus::Deactivated => { + CreateSessionOutputStatus::Deactivated + } + CreateSessionOutputStatus::Other(v) => { + CreateSessionOutputStatus::Other(v.into_static()) + } + } + } } #[jacquard_derive::open_union] @@ -90,8 +188,8 @@ pub enum CreateSessionError<'a> { AuthFactorTokenRequired(std::option::Option>), } -impl std::fmt::Display for CreateSessionError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateSessionError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::AccountTakedown(msg) => { write!(f, "AccountTakedown")?; diff --git a/crates/jacquard-api/src/com_atproto/server/delete_account.rs b/crates/jacquard-api/src/com_atproto/server/delete_account.rs index aae3ecb9..49e46ced 100644 --- a/crates/jacquard-api/src/com_atproto/server/delete_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/delete_account.rs @@ -35,51 +35,51 @@ pub mod delete_account_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Token; - type Did; type Password; + type Did; + type Token; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Token = Unset; - type Did = Unset; type Password = Unset; + type Did = Unset; + type Token = Unset; } - ///State transition - sets the `token` field to Set - pub struct SetToken(PhantomData S>); - impl sealed::Sealed for SetToken {} - impl State for SetToken { - type Token = Set; + ///State transition - sets the `password` field to Set + pub struct SetPassword(PhantomData S>); + impl sealed::Sealed for SetPassword {} + impl State for SetPassword { + type Password = Set; type Did = S::Did; - type Password = S::Password; + type Token = S::Token; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Token = S::Token; - type Did = Set; type Password = S::Password; - } - ///State transition - sets the `password` field to Set - pub struct SetPassword(PhantomData S>); - impl sealed::Sealed for SetPassword {} - impl State for SetPassword { + type Did = Set; type Token = S::Token; + } + ///State transition - sets the `token` field to Set + pub struct SetToken(PhantomData S>); + impl sealed::Sealed for SetToken {} + impl State for SetToken { + type Password = S::Password; type Did = S::Did; - type Password = Set; + type Token = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `token` field - pub struct token(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `password` field pub struct password(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `token` field + pub struct token(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> DeleteAccountBuilder<'a, S> where S: delete_account_state::State, - S::Token: delete_account_state::IsSet, - S::Did: delete_account_state::IsSet, S::Password: delete_account_state::IsSet, + S::Did: delete_account_state::IsSet, + S::Token: delete_account_state::IsSet, { /// Build the final struct pub fn build(self) -> DeleteAccount<'a> { @@ -223,8 +223,8 @@ pub enum DeleteAccountError<'a> { InvalidToken(std::option::Option>), } -impl std::fmt::Display for DeleteAccountError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteAccountError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ExpiredToken(msg) => { write!(f, "ExpiredToken")?; diff --git a/crates/jacquard-api/src/com_atproto/server/delete_session.rs b/crates/jacquard-api/src/com_atproto/server/delete_session.rs index dd8b47d8..27a73f53 100644 --- a/crates/jacquard-api/src/com_atproto/server/delete_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/delete_session.rs @@ -26,8 +26,8 @@ pub enum DeleteSessionError<'a> { ExpiredToken(std::option::Option>), } -impl std::fmt::Display for DeleteSessionError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteSessionError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidToken(msg) => { write!(f, "InvalidToken")?; diff --git a/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs b/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs index eb0a4036..5bca636b 100644 --- a/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs +++ b/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs @@ -140,8 +140,8 @@ pub enum GetAccountInviteCodesError<'a> { DuplicateCreate(std::option::Option>), } -impl std::fmt::Display for GetAccountInviteCodesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetAccountInviteCodesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::DuplicateCreate(msg) => { write!(f, "DuplicateCreate")?; diff --git a/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs b/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs index 5cf3b736..33a578b7 100644 --- a/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs +++ b/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs @@ -189,8 +189,8 @@ pub enum GetServiceAuthError<'a> { BadExpiration(std::option::Option>), } -impl std::fmt::Display for GetServiceAuthError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetServiceAuthError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BadExpiration(msg) => { write!(f, "BadExpiration")?; diff --git a/crates/jacquard-api/src/com_atproto/server/get_session.rs b/crates/jacquard-api/src/com_atproto/server/get_session.rs index f12ea214..19bc8e6e 100644 --- a/crates/jacquard-api/src/com_atproto/server/get_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/get_session.rs @@ -36,7 +36,103 @@ pub struct GetSessionOutput<'a> { /// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +/// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum GetSessionOutputStatus<'a> { + Takendown, + Suspended, + Deactivated, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> GetSessionOutputStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deactivated => "deactivated", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for GetSessionOutputStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deactivated" => Self::Deactivated, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for GetSessionOutputStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deactivated" => Self::Deactivated, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for GetSessionOutputStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for GetSessionOutputStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for GetSessionOutputStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for GetSessionOutputStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for GetSessionOutputStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for GetSessionOutputStatus<'_> { + type Output = GetSessionOutputStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + GetSessionOutputStatus::Takendown => GetSessionOutputStatus::Takendown, + GetSessionOutputStatus::Suspended => GetSessionOutputStatus::Suspended, + GetSessionOutputStatus::Deactivated => GetSessionOutputStatus::Deactivated, + GetSessionOutputStatus::Other(v) => { + GetSessionOutputStatus::Other(v.into_static()) + } + } + } } /// XRPC request marker type diff --git a/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs b/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs index 8c786026..01aa0e55 100644 --- a/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs +++ b/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs @@ -34,37 +34,37 @@ pub mod app_password_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -151,8 +151,8 @@ impl<'a, S: app_password_state::State> AppPasswordBuilder<'a, S> { impl<'a, S> AppPasswordBuilder<'a, S> where S: app_password_state::State, - S::Name: app_password_state::IsSet, S::CreatedAt: app_password_state::IsSet, + S::Name: app_password_state::IsSet, { /// Build the final struct pub fn build(self) -> AppPassword<'a> { @@ -318,8 +318,8 @@ pub enum ListAppPasswordsError<'a> { AccountTakedown(std::option::Option>), } -impl std::fmt::Display for ListAppPasswordsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ListAppPasswordsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::AccountTakedown(msg) => { write!(f, "AccountTakedown")?; diff --git a/crates/jacquard-api/src/com_atproto/server/refresh_session.rs b/crates/jacquard-api/src/com_atproto/server/refresh_session.rs index 39879994..28f0a1ac 100644 --- a/crates/jacquard-api/src/com_atproto/server/refresh_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/refresh_session.rs @@ -40,7 +40,109 @@ pub struct RefreshSessionOutput<'a> { /// Hosting status of the account. If not specified, then assume 'active'. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +/// Hosting status of the account. If not specified, then assume 'active'. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RefreshSessionOutputStatus<'a> { + Takendown, + Suspended, + Deactivated, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RefreshSessionOutputStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deactivated => "deactivated", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RefreshSessionOutputStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deactivated" => Self::Deactivated, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RefreshSessionOutputStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deactivated" => Self::Deactivated, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RefreshSessionOutputStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RefreshSessionOutputStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RefreshSessionOutputStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RefreshSessionOutputStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RefreshSessionOutputStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RefreshSessionOutputStatus<'_> { + type Output = RefreshSessionOutputStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + RefreshSessionOutputStatus::Takendown => { + RefreshSessionOutputStatus::Takendown + } + RefreshSessionOutputStatus::Suspended => { + RefreshSessionOutputStatus::Suspended + } + RefreshSessionOutputStatus::Deactivated => { + RefreshSessionOutputStatus::Deactivated + } + RefreshSessionOutputStatus::Other(v) => { + RefreshSessionOutputStatus::Other(v.into_static()) + } + } + } } #[jacquard_derive::open_union] @@ -66,8 +168,8 @@ pub enum RefreshSessionError<'a> { ExpiredToken(std::option::Option>), } -impl std::fmt::Display for RefreshSessionError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for RefreshSessionError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::AccountTakedown(msg) => { write!(f, "AccountTakedown")?; diff --git a/crates/jacquard-api/src/com_atproto/server/reset_password.rs b/crates/jacquard-api/src/com_atproto/server/reset_password.rs index 0d7a4c01..6653faf6 100644 --- a/crates/jacquard-api/src/com_atproto/server/reset_password.rs +++ b/crates/jacquard-api/src/com_atproto/server/reset_password.rs @@ -45,8 +45,8 @@ pub enum ResetPasswordError<'a> { InvalidToken(std::option::Option>), } -impl std::fmt::Display for ResetPasswordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResetPasswordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ExpiredToken(msg) => { write!(f, "ExpiredToken")?; diff --git a/crates/jacquard-api/src/com_atproto/server/update_email.rs b/crates/jacquard-api/src/com_atproto/server/update_email.rs index 331cafbe..64d1afac 100644 --- a/crates/jacquard-api/src/com_atproto/server/update_email.rs +++ b/crates/jacquard-api/src/com_atproto/server/update_email.rs @@ -51,8 +51,8 @@ pub enum UpdateEmailError<'a> { TokenRequired(std::option::Option>), } -impl std::fmt::Display for UpdateEmailError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for UpdateEmailError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ExpiredToken(msg) => { write!(f, "ExpiredToken")?; diff --git a/crates/jacquard-api/src/com_atproto/sync.rs b/crates/jacquard-api/src/com_atproto/sync.rs index 4983742d..8cf4784d 100644 --- a/crates/jacquard-api/src/com_atproto/sync.rs +++ b/crates/jacquard-api/src/com_atproto/sync.rs @@ -79,6 +79,12 @@ impl<'a> AsRef for HostStatus<'a> { } } +impl<'a> core::fmt::Display for HostStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for HostStatus<'a> { fn serialize(&self, serializer: S) -> Result where diff --git a/crates/jacquard-api/src/com_atproto/sync/get_blob.rs b/crates/jacquard-api/src/com_atproto/sync/get_blob.rs index 8dc0b7e0..edc97418 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_blob.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_blob.rs @@ -32,37 +32,37 @@ pub mod get_blob_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Did; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Did = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Did = S::Did; + type Cid = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Cid = S::Cid; type Did = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Did = S::Did; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetBlobBuilder<'a, S> where S: get_blob_state::State, - S::Cid: get_blob_state::IsSet, S::Did: get_blob_state::IsSet, + S::Cid: get_blob_state::IsSet, { /// Build the final struct pub fn build(self) -> GetBlob<'a> { @@ -188,8 +188,8 @@ pub enum GetBlobError<'a> { RepoDeactivated(std::option::Option>), } -impl std::fmt::Display for GetBlobError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetBlobError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BlobNotFound(msg) => { write!(f, "BlobNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs b/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs index ce9f890e..4571bdb4 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs @@ -32,37 +32,37 @@ pub mod get_blocks_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cids; type Did; + type Cids; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cids = Unset; type Did = Unset; - } - ///State transition - sets the `cids` field to Set - pub struct SetCids(PhantomData S>); - impl sealed::Sealed for SetCids {} - impl State for SetCids { - type Cids = Set; - type Did = S::Did; + type Cids = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Cids = S::Cids; type Did = Set; + type Cids = S::Cids; + } + ///State transition - sets the `cids` field to Set + pub struct SetCids(PhantomData S>); + impl sealed::Sealed for SetCids {} + impl State for SetCids { + type Did = S::Did; + type Cids = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cids` field - pub struct cids(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `cids` field + pub struct cids(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetBlocksBuilder<'a, S> where S: get_blocks_state::State, - S::Cids: get_blocks_state::IsSet, S::Did: get_blocks_state::IsSet, + S::Cids: get_blocks_state::IsSet, { /// Build the final struct pub fn build(self) -> GetBlocks<'a> { @@ -188,8 +188,8 @@ pub enum GetBlocksError<'a> { RepoDeactivated(std::option::Option>), } -impl std::fmt::Display for GetBlocksError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetBlocksError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::BlockNotFound(msg) => { write!(f, "BlockNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_head.rs b/crates/jacquard-api/src/com_atproto/sync/get_head.rs index d29b266a..6376398c 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_head.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_head.rs @@ -146,8 +146,8 @@ pub enum GetHeadError<'a> { HeadNotFound(std::option::Option>), } -impl std::fmt::Display for GetHeadError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetHeadError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::HeadNotFound(msg) => { write!(f, "HeadNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs b/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs index b4efc3e9..e625edfd 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs @@ -154,8 +154,8 @@ pub enum GetHostStatusError<'a> { HostNotFound(std::option::Option>), } -impl std::fmt::Display for GetHostStatusError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetHostStatusError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::HostNotFound(msg) => { write!(f, "HostNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs b/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs index ac346e55..11681e24 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs @@ -153,8 +153,8 @@ pub enum GetLatestCommitError<'a> { RepoDeactivated(std::option::Option>), } -impl std::fmt::Display for GetLatestCommitError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetLatestCommitError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_record.rs b/crates/jacquard-api/src/com_atproto/sync/get_record.rs index 9ddd222b..e2f91988 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_record.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_record.rs @@ -236,8 +236,8 @@ pub enum GetRecordError<'a> { RepoDeactivated(std::option::Option>), } -impl std::fmt::Display for GetRecordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRecordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RecordNotFound(msg) => { write!(f, "RecordNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_repo.rs b/crates/jacquard-api/src/com_atproto/sync/get_repo.rs index c8343aa4..1718dd8f 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_repo.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_repo.rs @@ -173,8 +173,8 @@ pub enum GetRepoError<'a> { RepoDeactivated(std::option::Option>), } -impl std::fmt::Display for GetRepoError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRepoError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs b/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs index ecec6ff7..6eeac2b2 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs @@ -132,7 +132,122 @@ pub struct GetRepoStatusOutput<'a> { /// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +/// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum GetRepoStatusOutputStatus<'a> { + Takendown, + Suspended, + Deleted, + Deactivated, + Desynchronized, + Throttled, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> GetRepoStatusOutputStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deleted => "deleted", + Self::Deactivated => "deactivated", + Self::Desynchronized => "desynchronized", + Self::Throttled => "throttled", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for GetRepoStatusOutputStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "desynchronized" => Self::Desynchronized, + "throttled" => Self::Throttled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for GetRepoStatusOutputStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "desynchronized" => Self::Desynchronized, + "throttled" => Self::Throttled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for GetRepoStatusOutputStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for GetRepoStatusOutputStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for GetRepoStatusOutputStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for GetRepoStatusOutputStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for GetRepoStatusOutputStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for GetRepoStatusOutputStatus<'_> { + type Output = GetRepoStatusOutputStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + GetRepoStatusOutputStatus::Takendown => GetRepoStatusOutputStatus::Takendown, + GetRepoStatusOutputStatus::Suspended => GetRepoStatusOutputStatus::Suspended, + GetRepoStatusOutputStatus::Deleted => GetRepoStatusOutputStatus::Deleted, + GetRepoStatusOutputStatus::Deactivated => { + GetRepoStatusOutputStatus::Deactivated + } + GetRepoStatusOutputStatus::Desynchronized => { + GetRepoStatusOutputStatus::Desynchronized + } + GetRepoStatusOutputStatus::Throttled => GetRepoStatusOutputStatus::Throttled, + GetRepoStatusOutputStatus::Other(v) => { + GetRepoStatusOutputStatus::Other(v.into_static()) + } + } + } } #[jacquard_derive::open_union] @@ -154,8 +269,8 @@ pub enum GetRepoStatusError<'a> { RepoNotFound(std::option::Option>), } -impl std::fmt::Display for GetRepoStatusError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRepoStatusError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs b/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs index 523b0262..dce1a41d 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs @@ -217,8 +217,8 @@ pub enum ListBlobsError<'a> { RepoDeactivated(std::option::Option>), } -impl std::fmt::Display for ListBlobsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ListBlobsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/list_repos.rs b/crates/jacquard-api/src/com_atproto/sync/list_repos.rs index 060068ff..26fbfcd9 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_repos.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_repos.rs @@ -181,7 +181,7 @@ pub struct Repo<'a> { /// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, } pub mod repo_state { @@ -194,51 +194,51 @@ pub mod repo_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Head; type Rev; type Did; + type Head; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Head = Unset; type Rev = Unset; type Did = Unset; - } - ///State transition - sets the `head` field to Set - pub struct SetHead(PhantomData S>); - impl sealed::Sealed for SetHead {} - impl State for SetHead { - type Head = Set; - type Rev = S::Rev; - type Did = S::Did; + type Head = Unset; } ///State transition - sets the `rev` field to Set pub struct SetRev(PhantomData S>); impl sealed::Sealed for SetRev {} impl State for SetRev { - type Head = S::Head; type Rev = Set; type Did = S::Did; + type Head = S::Head; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Head = S::Head; type Rev = S::Rev; type Did = Set; + type Head = S::Head; + } + ///State transition - sets the `head` field to Set + pub struct SetHead(PhantomData S>); + impl sealed::Sealed for SetHead {} + impl State for SetHead { + type Rev = S::Rev; + type Did = S::Did; + type Head = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `head` field - pub struct head(()); ///Marker type for the `rev` field pub struct rev(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `head` field + pub struct head(()); } } @@ -250,7 +250,7 @@ pub struct RepoBuilder<'a, S: repo_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -345,15 +345,12 @@ where impl<'a, S: repo_state::State> RepoBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.4 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.4 = value; self } @@ -362,9 +359,9 @@ impl<'a, S: repo_state::State> RepoBuilder<'a, S> { impl<'a, S> RepoBuilder<'a, S> where S: repo_state::State, - S::Head: repo_state::IsSet, S::Rev: repo_state::IsSet, S::Did: repo_state::IsSet, + S::Head: repo_state::IsSet, { /// Build the final struct pub fn build(self) -> Repo<'a> { @@ -396,6 +393,115 @@ where } } +/// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RepoStatus<'a> { + Takendown, + Suspended, + Deleted, + Deactivated, + Desynchronized, + Throttled, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RepoStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deleted => "deleted", + Self::Deactivated => "deactivated", + Self::Desynchronized => "desynchronized", + Self::Throttled => "throttled", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RepoStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "desynchronized" => Self::Desynchronized, + "throttled" => Self::Throttled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RepoStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "desynchronized" => Self::Desynchronized, + "throttled" => Self::Throttled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RepoStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RepoStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RepoStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RepoStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RepoStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RepoStatus<'_> { + type Output = RepoStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + RepoStatus::Takendown => RepoStatus::Takendown, + RepoStatus::Suspended => RepoStatus::Suspended, + RepoStatus::Deleted => RepoStatus::Deleted, + RepoStatus::Deactivated => RepoStatus::Deactivated, + RepoStatus::Desynchronized => RepoStatus::Desynchronized, + RepoStatus::Throttled => RepoStatus::Throttled, + RepoStatus::Other(v) => RepoStatus::Other(v.into_static()), + } + } +} + fn lexicon_doc_com_atproto_sync_listRepos() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { diff --git a/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs b/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs index 080a41f4..f476b908 100644 --- a/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs +++ b/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs @@ -42,8 +42,8 @@ pub enum RequestCrawlError<'a> { HostBanned(std::option::Option>), } -impl std::fmt::Display for RequestCrawlError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for RequestCrawlError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::HostBanned(msg) => { write!(f, "HostBanned")?; diff --git a/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs b/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs index e606cc46..a198c0d0 100644 --- a/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs +++ b/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs @@ -26,7 +26,7 @@ pub struct Account<'a> { /// If active=false, this optional field indicates a reason for why the account is not active. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, pub time: jacquard_common::types::string::Datetime, } @@ -40,67 +40,67 @@ pub mod account_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Active; type Time; - type Did; type Seq; + type Did; + type Active; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Active = Unset; type Time = Unset; - type Did = Unset; type Seq = Unset; - } - ///State transition - sets the `active` field to Set - pub struct SetActive(PhantomData S>); - impl sealed::Sealed for SetActive {} - impl State for SetActive { - type Active = Set; - type Time = S::Time; - type Did = S::Did; - type Seq = S::Seq; + type Did = Unset; + type Active = Unset; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { - type Active = S::Active; type Time = Set; - type Did = S::Did; type Seq = S::Seq; + type Did = S::Did; + type Active = S::Active; + } + ///State transition - sets the `seq` field to Set + pub struct SetSeq(PhantomData S>); + impl sealed::Sealed for SetSeq {} + impl State for SetSeq { + type Time = S::Time; + type Seq = Set; + type Did = S::Did; + type Active = S::Active; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Active = S::Active; type Time = S::Time; - type Did = Set; type Seq = S::Seq; - } - ///State transition - sets the `seq` field to Set - pub struct SetSeq(PhantomData S>); - impl sealed::Sealed for SetSeq {} - impl State for SetSeq { + type Did = Set; type Active = S::Active; + } + ///State transition - sets the `active` field to Set + pub struct SetActive(PhantomData S>); + impl sealed::Sealed for SetActive {} + impl State for SetActive { type Time = S::Time; + type Seq = S::Seq; type Did = S::Did; - type Seq = Set; + type Active = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `active` field - pub struct active(()); ///Marker type for the `time` field pub struct time(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `seq` field pub struct seq(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `active` field + pub struct active(()); } } @@ -111,7 +111,7 @@ pub struct AccountBuilder<'a, S: account_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -194,15 +194,12 @@ where impl<'a, S: account_state::State> AccountBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.3 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.3 = value; self } @@ -230,10 +227,10 @@ where impl<'a, S> AccountBuilder<'a, S> where S: account_state::State, - S::Active: account_state::IsSet, S::Time: account_state::IsSet, - S::Did: account_state::IsSet, S::Seq: account_state::IsSet, + S::Did: account_state::IsSet, + S::Active: account_state::IsSet, { /// Build the final struct pub fn build(self) -> Account<'a> { @@ -265,6 +262,115 @@ where } } +/// If active=false, this optional field indicates a reason for why the account is not active. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AccountStatus<'a> { + Takendown, + Suspended, + Deleted, + Deactivated, + Desynchronized, + Throttled, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AccountStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deleted => "deleted", + Self::Deactivated => "deactivated", + Self::Desynchronized => "desynchronized", + Self::Throttled => "throttled", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AccountStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "desynchronized" => Self::Desynchronized, + "throttled" => Self::Throttled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AccountStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "desynchronized" => Self::Desynchronized, + "throttled" => Self::Throttled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AccountStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AccountStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AccountStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AccountStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AccountStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AccountStatus<'_> { + type Output = AccountStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AccountStatus::Takendown => AccountStatus::Takendown, + AccountStatus::Suspended => AccountStatus::Suspended, + AccountStatus::Deleted => AccountStatus::Deleted, + AccountStatus::Deactivated => AccountStatus::Deactivated, + AccountStatus::Desynchronized => AccountStatus::Desynchronized, + AccountStatus::Throttled => AccountStatus::Throttled, + AccountStatus::Other(v) => AccountStatus::Other(v.into_static()), + } + } +} + fn lexicon_doc_com_atproto_sync_subscribeRepos() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { @@ -967,205 +1073,205 @@ pub mod commit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TooBig; + type Rebase; type Repo; - type Commit; + type Rev; type Blobs; - type Ops; - type Rebase; type Blocks; - type Time; + type Commit; type Seq; - type Rev; + type Time; + type TooBig; + type Ops; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TooBig = Unset; + type Rebase = Unset; type Repo = Unset; - type Commit = Unset; + type Rev = Unset; type Blobs = Unset; - type Ops = Unset; - type Rebase = Unset; type Blocks = Unset; - type Time = Unset; + type Commit = Unset; type Seq = Unset; - type Rev = Unset; + type Time = Unset; + type TooBig = Unset; + type Ops = Unset; } - ///State transition - sets the `too_big` field to Set - pub struct SetTooBig(PhantomData S>); - impl sealed::Sealed for SetTooBig {} - impl State for SetTooBig { - type TooBig = Set; + ///State transition - sets the `rebase` field to Set + pub struct SetRebase(PhantomData S>); + impl sealed::Sealed for SetRebase {} + impl State for SetRebase { + type Rebase = Set; type Repo = S::Repo; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = S::Blobs; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = S::Blocks; - type Time = S::Time; + type Commit = S::Commit; type Seq = S::Seq; - type Rev = S::Rev; + type Time = S::Time; + type TooBig = S::TooBig; + type Ops = S::Ops; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type TooBig = S::TooBig; + type Rebase = S::Rebase; type Repo = Set; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = S::Blobs; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = S::Blocks; - type Time = S::Time; + type Commit = S::Commit; type Seq = S::Seq; - type Rev = S::Rev; - } - ///State transition - sets the `commit` field to Set - pub struct SetCommit(PhantomData S>); - impl sealed::Sealed for SetCommit {} - impl State for SetCommit { + type Time = S::Time; type TooBig = S::TooBig; - type Repo = S::Repo; - type Commit = Set; - type Blobs = S::Blobs; type Ops = S::Ops; + } + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { type Rebase = S::Rebase; + type Repo = S::Repo; + type Rev = Set; + type Blobs = S::Blobs; type Blocks = S::Blocks; - type Time = S::Time; + type Commit = S::Commit; type Seq = S::Seq; - type Rev = S::Rev; + type Time = S::Time; + type TooBig = S::TooBig; + type Ops = S::Ops; } ///State transition - sets the `blobs` field to Set pub struct SetBlobs(PhantomData S>); impl sealed::Sealed for SetBlobs {} impl State for SetBlobs { - type TooBig = S::TooBig; + type Rebase = S::Rebase; type Repo = S::Repo; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = Set; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = S::Blocks; - type Time = S::Time; - type Seq = S::Seq; - type Rev = S::Rev; - } - ///State transition - sets the `ops` field to Set - pub struct SetOps(PhantomData S>); - impl sealed::Sealed for SetOps {} - impl State for SetOps { - type TooBig = S::TooBig; - type Repo = S::Repo; type Commit = S::Commit; - type Blobs = S::Blobs; - type Ops = Set; - type Rebase = S::Rebase; - type Blocks = S::Blocks; - type Time = S::Time; type Seq = S::Seq; - type Rev = S::Rev; - } - ///State transition - sets the `rebase` field to Set - pub struct SetRebase(PhantomData S>); - impl sealed::Sealed for SetRebase {} - impl State for SetRebase { + type Time = S::Time; type TooBig = S::TooBig; - type Repo = S::Repo; - type Commit = S::Commit; - type Blobs = S::Blobs; type Ops = S::Ops; - type Rebase = Set; - type Blocks = S::Blocks; - type Time = S::Time; - type Seq = S::Seq; - type Rev = S::Rev; } ///State transition - sets the `blocks` field to Set pub struct SetBlocks(PhantomData S>); impl sealed::Sealed for SetBlocks {} impl State for SetBlocks { - type TooBig = S::TooBig; + type Rebase = S::Rebase; type Repo = S::Repo; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = S::Blobs; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = Set; + type Commit = S::Commit; + type Seq = S::Seq; type Time = S::Time; + type TooBig = S::TooBig; + type Ops = S::Ops; + } + ///State transition - sets the `commit` field to Set + pub struct SetCommit(PhantomData S>); + impl sealed::Sealed for SetCommit {} + impl State for SetCommit { + type Rebase = S::Rebase; + type Repo = S::Repo; + type Rev = S::Rev; + type Blobs = S::Blobs; + type Blocks = S::Blocks; + type Commit = Set; type Seq = S::Seq; + type Time = S::Time; + type TooBig = S::TooBig; + type Ops = S::Ops; + } + ///State transition - sets the `seq` field to Set + pub struct SetSeq(PhantomData S>); + impl sealed::Sealed for SetSeq {} + impl State for SetSeq { + type Rebase = S::Rebase; + type Repo = S::Repo; type Rev = S::Rev; + type Blobs = S::Blobs; + type Blocks = S::Blocks; + type Commit = S::Commit; + type Seq = Set; + type Time = S::Time; + type TooBig = S::TooBig; + type Ops = S::Ops; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { - type TooBig = S::TooBig; + type Rebase = S::Rebase; type Repo = S::Repo; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = S::Blobs; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = S::Blocks; - type Time = Set; + type Commit = S::Commit; type Seq = S::Seq; - type Rev = S::Rev; - } - ///State transition - sets the `seq` field to Set - pub struct SetSeq(PhantomData S>); - impl sealed::Sealed for SetSeq {} - impl State for SetSeq { + type Time = Set; type TooBig = S::TooBig; + type Ops = S::Ops; + } + ///State transition - sets the `too_big` field to Set + pub struct SetTooBig(PhantomData S>); + impl sealed::Sealed for SetTooBig {} + impl State for SetTooBig { + type Rebase = S::Rebase; type Repo = S::Repo; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = S::Blobs; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = S::Blocks; + type Commit = S::Commit; + type Seq = S::Seq; type Time = S::Time; - type Seq = Set; - type Rev = S::Rev; + type TooBig = Set; + type Ops = S::Ops; } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { - type TooBig = S::TooBig; + ///State transition - sets the `ops` field to Set + pub struct SetOps(PhantomData S>); + impl sealed::Sealed for SetOps {} + impl State for SetOps { + type Rebase = S::Rebase; type Repo = S::Repo; - type Commit = S::Commit; + type Rev = S::Rev; type Blobs = S::Blobs; - type Ops = S::Ops; - type Rebase = S::Rebase; type Blocks = S::Blocks; - type Time = S::Time; + type Commit = S::Commit; type Seq = S::Seq; - type Rev = Set; + type Time = S::Time; + type TooBig = S::TooBig; + type Ops = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `too_big` field - pub struct too_big(()); + ///Marker type for the `rebase` field + pub struct rebase(()); ///Marker type for the `repo` field pub struct repo(()); - ///Marker type for the `commit` field - pub struct commit(()); + ///Marker type for the `rev` field + pub struct rev(()); ///Marker type for the `blobs` field pub struct blobs(()); - ///Marker type for the `ops` field - pub struct ops(()); - ///Marker type for the `rebase` field - pub struct rebase(()); ///Marker type for the `blocks` field pub struct blocks(()); - ///Marker type for the `time` field - pub struct time(()); + ///Marker type for the `commit` field + pub struct commit(()); ///Marker type for the `seq` field pub struct seq(()); - ///Marker type for the `rev` field - pub struct rev(()); + ///Marker type for the `time` field + pub struct time(()); + ///Marker type for the `too_big` field + pub struct too_big(()); + ///Marker type for the `ops` field + pub struct ops(()); } } @@ -1453,16 +1559,16 @@ where impl<'a, S> CommitBuilder<'a, S> where S: commit_state::State, - S::TooBig: commit_state::IsSet, + S::Rebase: commit_state::IsSet, S::Repo: commit_state::IsSet, - S::Commit: commit_state::IsSet, + S::Rev: commit_state::IsSet, S::Blobs: commit_state::IsSet, - S::Ops: commit_state::IsSet, - S::Rebase: commit_state::IsSet, S::Blocks: commit_state::IsSet, - S::Time: commit_state::IsSet, + S::Commit: commit_state::IsSet, S::Seq: commit_state::IsSet, - S::Rev: commit_state::IsSet, + S::Time: commit_state::IsSet, + S::TooBig: commit_state::IsSet, + S::Ops: commit_state::IsSet, { /// Build the final struct pub fn build(self) -> Commit<'a> { @@ -1571,51 +1677,51 @@ pub mod identity_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Seq; type Did; type Time; - type Seq; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Seq = Unset; type Did = Unset; type Time = Unset; - type Seq = Unset; + } + ///State transition - sets the `seq` field to Set + pub struct SetSeq(PhantomData S>); + impl sealed::Sealed for SetSeq {} + impl State for SetSeq { + type Seq = Set; + type Did = S::Did; + type Time = S::Time; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { + type Seq = S::Seq; type Did = Set; type Time = S::Time; - type Seq = S::Seq; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { - type Did = S::Did; - type Time = Set; type Seq = S::Seq; - } - ///State transition - sets the `seq` field to Set - pub struct SetSeq(PhantomData S>); - impl sealed::Sealed for SetSeq {} - impl State for SetSeq { type Did = S::Did; - type Time = S::Time; - type Seq = Set; + type Time = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `seq` field + pub struct seq(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `time` field pub struct time(()); - ///Marker type for the `seq` field - pub struct seq(()); } } @@ -1728,9 +1834,9 @@ where impl<'a, S> IdentityBuilder<'a, S> where S: identity_state::State, + S::Seq: identity_state::IsSet, S::Did: identity_state::IsSet, S::Time: identity_state::IsSet, - S::Seq: identity_state::IsSet, { /// Build the final struct pub fn build(self) -> Identity<'a> { @@ -1794,7 +1900,90 @@ pub struct Info<'a> { #[serde(borrow)] pub message: std::option::Option>, #[serde(borrow)] - pub name: jacquard_common::CowStr<'a>, + pub name: InfoName<'a>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum InfoName<'a> { + OutdatedCursor, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> InfoName<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::OutdatedCursor => "OutdatedCursor", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for InfoName<'a> { + fn from(s: &'a str) -> Self { + match s { + "OutdatedCursor" => Self::OutdatedCursor, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for InfoName<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "OutdatedCursor" => Self::OutdatedCursor, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for InfoName<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for InfoName<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for InfoName<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for InfoName<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for InfoName<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for InfoName<'_> { + type Output = InfoName<'static>; + fn into_static(self) -> Self::Output { + match self { + InfoName::OutdatedCursor => InfoName::OutdatedCursor, + InfoName::Other(v) => InfoName::Other(v.into_static()), + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Info<'a> { @@ -1981,8 +2170,8 @@ pub enum SubscribeReposError<'a> { ConsumerTooSlow(std::option::Option>), } -impl std::fmt::Display for SubscribeReposError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SubscribeReposError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::FutureCursor(msg) => { write!(f, "FutureCursor")?; @@ -2046,7 +2235,7 @@ impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeReposEndpoint { #[serde(rename_all = "camelCase")] pub struct RepoOp<'a> { #[serde(borrow)] - pub action: jacquard_common::CowStr<'a>, + pub action: RepoOpAction<'a>, /// For creates and updates, the new record CID. For deletions, null. #[serde(borrow)] pub cid: std::option::Option>, @@ -2068,37 +2257,37 @@ pub mod repo_op_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Action; type Path; + type Action; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Action = Unset; type Path = Unset; - } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Action = Set; - type Path = S::Path; + type Action = Unset; } ///State transition - sets the `path` field to Set pub struct SetPath(PhantomData S>); impl sealed::Sealed for SetPath {} impl State for SetPath { - type Action = S::Action; type Path = Set; + type Action = S::Action; + } + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { + type Path = S::Path; + type Action = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `action` field - pub struct action(()); ///Marker type for the `path` field pub struct path(()); + ///Marker type for the `action` field + pub struct action(()); } } @@ -2106,7 +2295,7 @@ pub mod repo_op_state { pub struct RepoOpBuilder<'a, S: repo_op_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, @@ -2140,7 +2329,7 @@ where /// Set the `action` field (required) pub fn action( mut self, - value: impl Into>, + value: impl Into>, ) -> RepoOpBuilder<'a, repo_op_state::SetAction> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); RepoOpBuilder { @@ -2211,8 +2400,8 @@ impl<'a, S: repo_op_state::State> RepoOpBuilder<'a, S> { impl<'a, S> RepoOpBuilder<'a, S> where S: repo_op_state::State, - S::Action: repo_op_state::IsSet, S::Path: repo_op_state::IsSet, + S::Action: repo_op_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoOp<'a> { @@ -2242,6 +2431,99 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RepoOpAction<'a> { + Create, + Update, + Delete, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RepoOpAction<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Create => "create", + Self::Update => "update", + Self::Delete => "delete", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RepoOpAction<'a> { + fn from(s: &'a str) -> Self { + match s { + "create" => Self::Create, + "update" => Self::Update, + "delete" => Self::Delete, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RepoOpAction<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "create" => Self::Create, + "update" => Self::Update, + "delete" => Self::Delete, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RepoOpAction<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RepoOpAction<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RepoOpAction<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RepoOpAction<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RepoOpAction<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RepoOpAction<'_> { + type Output = RepoOpAction<'static>; + fn into_static(self) -> Self::Output { + match self { + RepoOpAction::Create => RepoOpAction::Create, + RepoOpAction::Update => RepoOpAction::Update, + RepoOpAction::Delete => RepoOpAction::Delete, + RepoOpAction::Other(v) => RepoOpAction::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RepoOp<'a> { fn nsid() -> &'static str { "com.atproto.sync.subscribeRepos" @@ -2298,84 +2580,84 @@ pub mod sync_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Seq; - type Did; + type Rev; type Blocks; type Time; - type Rev; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Seq = Unset; - type Did = Unset; + type Rev = Unset; type Blocks = Unset; type Time = Unset; - type Rev = Unset; + type Did = Unset; } ///State transition - sets the `seq` field to Set pub struct SetSeq(PhantomData S>); impl sealed::Sealed for SetSeq {} impl State for SetSeq { type Seq = Set; - type Did = S::Did; + type Rev = S::Rev; type Blocks = S::Blocks; type Time = S::Time; - type Rev = S::Rev; + type Did = S::Did; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + ///State transition - sets the `rev` field to Set + pub struct SetRev(PhantomData S>); + impl sealed::Sealed for SetRev {} + impl State for SetRev { type Seq = S::Seq; - type Did = Set; + type Rev = Set; type Blocks = S::Blocks; type Time = S::Time; - type Rev = S::Rev; + type Did = S::Did; } ///State transition - sets the `blocks` field to Set pub struct SetBlocks(PhantomData S>); impl sealed::Sealed for SetBlocks {} impl State for SetBlocks { type Seq = S::Seq; - type Did = S::Did; + type Rev = S::Rev; type Blocks = Set; type Time = S::Time; - type Rev = S::Rev; + type Did = S::Did; } ///State transition - sets the `time` field to Set pub struct SetTime(PhantomData S>); impl sealed::Sealed for SetTime {} impl State for SetTime { type Seq = S::Seq; - type Did = S::Did; + type Rev = S::Rev; type Blocks = S::Blocks; type Time = Set; - type Rev = S::Rev; + type Did = S::Did; } - ///State transition - sets the `rev` field to Set - pub struct SetRev(PhantomData S>); - impl sealed::Sealed for SetRev {} - impl State for SetRev { + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { type Seq = S::Seq; - type Did = S::Did; + type Rev = S::Rev; type Blocks = S::Blocks; type Time = S::Time; - type Rev = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `seq` field pub struct seq(()); - ///Marker type for the `did` field - pub struct did(()); + ///Marker type for the `rev` field + pub struct rev(()); ///Marker type for the `blocks` field pub struct blocks(()); ///Marker type for the `time` field pub struct time(()); - ///Marker type for the `rev` field - pub struct rev(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -2509,10 +2791,10 @@ impl<'a, S> SyncBuilder<'a, S> where S: sync_state::State, S::Seq: sync_state::IsSet, - S::Did: sync_state::IsSet, + S::Rev: sync_state::IsSet, S::Blocks: sync_state::IsSet, S::Time: sync_state::IsSet, - S::Rev: sync_state::IsSet, + S::Did: sync_state::IsSet, { /// Build the final struct pub fn build(self) -> Sync<'a> { diff --git a/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs b/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs index 3af2d8b7..abe01814 100644 --- a/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs +++ b/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs @@ -232,8 +232,8 @@ pub enum CheckHandleAvailabilityError<'a> { InvalidEmail(std::option::Option>), } -impl std::fmt::Display for CheckHandleAvailabilityError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CheckHandleAvailabilityError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidEmail(msg) => { write!(f, "InvalidEmail")?; diff --git a/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs b/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs index 1f7b3da2..e45cdbad 100644 --- a/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs +++ b/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs @@ -147,8 +147,8 @@ pub enum DereferenceScopeError<'a> { InvalidScopeReference(std::option::Option>), } -impl std::fmt::Display for DereferenceScopeError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DereferenceScopeError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidScopeReference(msg) => { write!(f, "InvalidScopeReference")?; diff --git a/crates/jacquard-api/src/com_atprotofans/get_profile.rs b/crates/jacquard-api/src/com_atprotofans/get_profile.rs index eb5aa66b..029512ee 100644 --- a/crates/jacquard-api/src/com_atprotofans/get_profile.rs +++ b/crates/jacquard-api/src/com_atprotofans/get_profile.rs @@ -151,8 +151,8 @@ pub enum GetProfileError<'a> { ProfileNotFound(std::option::Option>), } -impl std::fmt::Display for GetProfileError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetProfileError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidRequest(msg) => { write!(f, "InvalidRequest")?; diff --git a/crates/jacquard-api/src/com_atprotofans/get_supporters.rs b/crates/jacquard-api/src/com_atprotofans/get_supporters.rs index 98682c43..7f32b8bd 100644 --- a/crates/jacquard-api/src/com_atprotofans/get_supporters.rs +++ b/crates/jacquard-api/src/com_atprotofans/get_supporters.rs @@ -191,8 +191,8 @@ pub enum GetSupportersError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for GetSupportersError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetSupportersError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidRequest(msg) => { write!(f, "InvalidRequest")?; diff --git a/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs b/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs index be6d90a4..fb110c73 100644 --- a/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs +++ b/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs @@ -34,51 +34,51 @@ pub mod validate_supporter_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Signer; type Supporter; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Signer = Unset; type Supporter = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Signer = S::Signer; - type Supporter = S::Supporter; + type Subject = Unset; } ///State transition - sets the `signer` field to Set pub struct SetSigner(PhantomData S>); impl sealed::Sealed for SetSigner {} impl State for SetSigner { - type Subject = S::Subject; type Signer = Set; type Supporter = S::Supporter; + type Subject = S::Subject; } ///State transition - sets the `supporter` field to Set pub struct SetSupporter(PhantomData S>); impl sealed::Sealed for SetSupporter {} impl State for SetSupporter { - type Subject = S::Subject; type Signer = S::Signer; type Supporter = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Signer = S::Signer; + type Supporter = S::Supporter; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `signer` field pub struct signer(()); ///Marker type for the `supporter` field pub struct supporter(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> ValidateSupporterBuilder<'a, S> where S: validate_supporter_state::State, - S::Subject: validate_supporter_state::IsSet, S::Signer: validate_supporter_state::IsSet, S::Supporter: validate_supporter_state::IsSet, + S::Subject: validate_supporter_state::IsSet, { /// Build the final struct pub fn build(self) -> ValidateSupporter<'a> { @@ -227,8 +227,8 @@ pub enum ValidateSupporterError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for ValidateSupporterError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ValidateSupporterError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidRequest(msg) => { write!(f, "InvalidRequest")?; diff --git a/crates/jacquard-api/src/com_crabdance/nandi/post.rs b/crates/jacquard-api/src/com_crabdance/nandi/post.rs index bfb7ce56..967a9d69 100644 --- a/crates/jacquard-api/src/com_crabdance/nandi/post.rs +++ b/crates/jacquard-api/src/com_crabdance/nandi/post.rs @@ -49,51 +49,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Content; - type Title; type CreatedAt; + type Title; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Content = Unset; - type Title = Unset; type CreatedAt = Unset; + type Title = Unset; + type Content = Unset; } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Content = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Title = S::Title; - type CreatedAt = S::CreatedAt; + type Content = S::Content; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Content = S::Content; - type Title = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Title = Set; type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type CreatedAt = S::CreatedAt; type Title = S::Title; - type CreatedAt = Set; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content` field - pub struct content(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -257,9 +257,9 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Content: post_state::IsSet, - S::Title: post_state::IsSet, S::CreatedAt: post_state::IsSet, + S::Title: post_state::IsSet, + S::Content: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs index 089a46ff..a6429fc6 100644 --- a/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs +++ b/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs @@ -36,37 +36,37 @@ pub mod author_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> AuthorBuilder<'a, S> where S: author_state::State, - S::Handle: author_state::IsSet, S::Did: author_state::IsSet, + S::Handle: author_state::IsSet, { /// Build the final struct pub fn build(self) -> Author<'a> { @@ -516,105 +516,105 @@ pub mod hydrated_oekaki_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; - type CreationTime; - type Author; type Cid; - type At; type Nsfw; + type Author; + type At; + type Image; + type CreationTime; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; - type CreationTime = Unset; - type Author = Unset; type Cid = Unset; - type At = Unset; type Nsfw = Unset; + type Author = Unset; + type At = Unset; + type Image = Unset; + type CreationTime = Unset; } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type CreationTime = S::CreationTime; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; + type Nsfw = S::Nsfw; type Author = S::Author; - type Cid = S::Cid; type At = S::At; - type Nsfw = S::Nsfw; - } - ///State transition - sets the `creation_time` field to Set - pub struct SetCreationTime(PhantomData S>); - impl sealed::Sealed for SetCreationTime {} - impl State for SetCreationTime { type Image = S::Image; - type CreationTime = Set; - type Author = S::Author; + type CreationTime = S::CreationTime; + } + ///State transition - sets the `nsfw` field to Set + pub struct SetNsfw(PhantomData S>); + impl sealed::Sealed for SetNsfw {} + impl State for SetNsfw { type Cid = S::Cid; + type Nsfw = Set; + type Author = S::Author; type At = S::At; - type Nsfw = S::Nsfw; + type Image = S::Image; + type CreationTime = S::CreationTime; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Image = S::Image; - type CreationTime = S::CreationTime; - type Author = Set; type Cid = S::Cid; - type At = S::At; type Nsfw = S::Nsfw; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + type Author = Set; + type At = S::At; type Image = S::Image; type CreationTime = S::CreationTime; - type Author = S::Author; - type Cid = Set; - type At = S::At; - type Nsfw = S::Nsfw; } ///State transition - sets the `at` field to Set pub struct SetAt(PhantomData S>); impl sealed::Sealed for SetAt {} impl State for SetAt { - type Image = S::Image; - type CreationTime = S::CreationTime; - type Author = S::Author; type Cid = S::Cid; - type At = Set; type Nsfw = S::Nsfw; - } - ///State transition - sets the `nsfw` field to Set - pub struct SetNsfw(PhantomData S>); - impl sealed::Sealed for SetNsfw {} - impl State for SetNsfw { + type Author = S::Author; + type At = Set; type Image = S::Image; type CreationTime = S::CreationTime; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Cid = S::Cid; + type Nsfw = S::Nsfw; type Author = S::Author; + type At = S::At; + type Image = Set; + type CreationTime = S::CreationTime; + } + ///State transition - sets the `creation_time` field to Set + pub struct SetCreationTime(PhantomData S>); + impl sealed::Sealed for SetCreationTime {} + impl State for SetCreationTime { type Cid = S::Cid; + type Nsfw = S::Nsfw; + type Author = S::Author; type At = S::At; - type Nsfw = Set; + type Image = S::Image; + type CreationTime = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); - ///Marker type for the `creation_time` field - pub struct creation_time(()); - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `at` field - pub struct at(()); ///Marker type for the `nsfw` field pub struct nsfw(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `at` field + pub struct at(()); + ///Marker type for the `image` field + pub struct image(()); + ///Marker type for the `creation_time` field + pub struct creation_time(()); } } @@ -801,12 +801,12 @@ impl<'a, S: hydrated_oekaki_state::State> HydratedOekakiBuilder<'a, S> { impl<'a, S> HydratedOekakiBuilder<'a, S> where S: hydrated_oekaki_state::State, - S::Image: hydrated_oekaki_state::IsSet, - S::CreationTime: hydrated_oekaki_state::IsSet, - S::Author: hydrated_oekaki_state::IsSet, S::Cid: hydrated_oekaki_state::IsSet, - S::At: hydrated_oekaki_state::IsSet, S::Nsfw: hydrated_oekaki_state::IsSet, + S::Author: hydrated_oekaki_state::IsSet, + S::At: hydrated_oekaki_state::IsSet, + S::Image: hydrated_oekaki_state::IsSet, + S::CreationTime: hydrated_oekaki_state::IsSet, { /// Build the final struct pub fn build(self) -> HydratedOekaki<'a> { diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs index be999362..cbbd6bae 100644 --- a/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs +++ b/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs @@ -443,37 +443,37 @@ pub mod oekaki_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type CreatedAt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type CreatedAt = S::CreatedAt; + type Image = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Image = S::Image; type CreatedAt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type CreatedAt = S::CreatedAt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -600,8 +600,8 @@ impl<'a, S: oekaki_state::State> OekakiBuilder<'a, S> { impl<'a, S> OekakiBuilder<'a, S> where S: oekaki_state::State, - S::Image: oekaki_state::IsSet, S::CreatedAt: oekaki_state::IsSet, + S::Image: oekaki_state::IsSet, { /// Build the final struct pub fn build(self) -> Oekaki<'a> { diff --git a/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs b/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs index 35214fc4..7c49ac1e 100644 --- a/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs +++ b/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs @@ -32,37 +32,37 @@ pub mod get_entry_metadata_by_name_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; type EntryTitle; + type Author; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; type EntryTitle = Unset; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; - type EntryTitle = S::EntryTitle; + type Author = Unset; } ///State transition - sets the `entry_title` field to Set pub struct SetEntryTitle(PhantomData S>); impl sealed::Sealed for SetEntryTitle {} impl State for SetEntryTitle { - type Author = S::Author; type EntryTitle = Set; + type Author = S::Author; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type EntryTitle = S::EntryTitle; + type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `entry_title` field pub struct entry_title(()); + ///Marker type for the `author` field + pub struct author(()); } } @@ -147,8 +147,8 @@ where impl<'a, S> GetEntryMetadataByNameBuilder<'a, S> where S: get_entry_metadata_by_name_state::State, - S::Author: get_entry_metadata_by_name_state::IsSet, S::EntryTitle: get_entry_metadata_by_name_state::IsSet, + S::Author: get_entry_metadata_by_name_state::IsSet, { /// Build the final struct pub fn build(self) -> GetEntryMetadataByName<'a> { @@ -200,8 +200,8 @@ pub enum GetEntryMetadataByNameError<'a> { NotFound(std::option::Option>), } -impl std::fmt::Display for GetEntryMetadataByNameError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetEntryMetadataByNameError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotFound(msg) => { write!(f, "NotFound")?; diff --git a/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs b/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs index 18af9998..c5798e64 100644 --- a/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs +++ b/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs @@ -154,8 +154,8 @@ pub struct NotifyOfNewEntryOutput<'a> {} #[serde(tag = "error", content = "message")] #[serde(bound(deserialize = "'de: 'a"))] pub enum NotifyOfNewEntryError<'a> {} -impl std::fmt::Display for NotifyOfNewEntryError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for NotifyOfNewEntryError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), } diff --git a/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs b/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs index a85bbc01..be0e9c7a 100644 --- a/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs +++ b/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs @@ -35,51 +35,51 @@ pub mod sign_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; - type Message; type CreatedAt; + type Message; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; - type Message = Unset; type CreatedAt = Unset; + type Message = Unset; + type Subject = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Message = S::Message; - type CreatedAt = S::CreatedAt; + type Subject = S::Subject; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { - type Subject = S::Subject; - type Message = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Message = Set; type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; type Message = S::Message; - type CreatedAt = Set; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `message` field + pub struct message(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> SignBuilder<'a, S> where S: sign_state::State, - S::Subject: sign_state::IsSet, - S::Message: sign_state::IsSet, S::CreatedAt: sign_state::IsSet, + S::Message: sign_state::IsSet, + S::Subject: sign_state::IsSet, { /// Build the final struct pub fn build(self) -> Sign<'a> { diff --git a/crates/jacquard-api/src/community_lexicon/calendar/event.rs b/crates/jacquard-api/src/community_lexicon/calendar/event.rs index 88422772..d162985b 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/event.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/event.rs @@ -119,37 +119,37 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -372,8 +372,8 @@ impl<'a, S: event_state::State> EventBuilder<'a, S> { impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::Name: event_state::IsSet, S::CreatedAt: event_state::IsSet, + S::Name: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -926,6 +926,12 @@ impl<'a> AsRef for Mode<'a> { } } +impl<'a> core::fmt::Display for Mode<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for Mode<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1124,6 +1130,12 @@ impl<'a> AsRef for Status<'a> { } } +impl<'a> core::fmt::Display for Status<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for Status<'a> { fn serialize(&self, serializer: S) -> Result where diff --git a/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs b/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs index bccc6050..cce55632 100644 --- a/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs +++ b/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs @@ -55,7 +55,7 @@ impl std::fmt::Display for Interested { #[serde(rename_all = "camelCase")] pub struct Rsvp<'a> { #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: RsvpStatus<'a>, #[serde(borrow)] pub subject: crate::com_atproto::repo::strong_ref::StrongRef<'a>, } @@ -70,37 +70,37 @@ pub mod rsvp_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Status; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Status = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Status = S::Status; + type Subject = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type Subject = S::Subject; type Status = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Status = S::Status; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -108,7 +108,7 @@ pub mod rsvp_state { pub struct RsvpBuilder<'a, S: rsvp_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -140,7 +140,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> RsvpBuilder<'a, rsvp_state::SetStatus> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); RsvpBuilder { @@ -173,8 +173,8 @@ where impl<'a, S> RsvpBuilder<'a, S> where S: rsvp_state::State, - S::Subject: rsvp_state::IsSet, S::Status: rsvp_state::IsSet, + S::Subject: rsvp_state::IsSet, { /// Build the final struct pub fn build(self) -> Rsvp<'a> { @@ -213,6 +213,99 @@ impl<'a> Rsvp<'a> { } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RsvpStatus<'a> { + Interested, + Going, + Notgoing, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RsvpStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Interested => "community.lexicon.calendar.rsvp#interested", + Self::Going => "community.lexicon.calendar.rsvp#going", + Self::Notgoing => "community.lexicon.calendar.rsvp#notgoing", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RsvpStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "community.lexicon.calendar.rsvp#interested" => Self::Interested, + "community.lexicon.calendar.rsvp#going" => Self::Going, + "community.lexicon.calendar.rsvp#notgoing" => Self::Notgoing, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RsvpStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "community.lexicon.calendar.rsvp#interested" => Self::Interested, + "community.lexicon.calendar.rsvp#going" => Self::Going, + "community.lexicon.calendar.rsvp#notgoing" => Self::Notgoing, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RsvpStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RsvpStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RsvpStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RsvpStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RsvpStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RsvpStatus<'_> { + type Output = RsvpStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + RsvpStatus::Interested => RsvpStatus::Interested, + RsvpStatus::Going => RsvpStatus::Going, + RsvpStatus::Notgoing => RsvpStatus::Notgoing, + RsvpStatus::Other(v) => RsvpStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs b/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs index 166f27fc..66529dff 100644 --- a/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs +++ b/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs @@ -41,65 +41,65 @@ pub mod kidlisp_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Source; type When; type Code; - type Source; type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Source = Unset; type When = Unset; type Code = Unset; - type Source = Unset; type Ref = Unset; } + ///State transition - sets the `source` field to Set + pub struct SetSource(PhantomData S>); + impl sealed::Sealed for SetSource {} + impl State for SetSource { + type Source = Set; + type When = S::When; + type Code = S::Code; + type Ref = S::Ref; + } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { + type Source = S::Source; type When = Set; type Code = S::Code; - type Source = S::Source; type Ref = S::Ref; } ///State transition - sets the `code` field to Set pub struct SetCode(PhantomData S>); impl sealed::Sealed for SetCode {} impl State for SetCode { - type When = S::When; - type Code = Set; type Source = S::Source; - type Ref = S::Ref; - } - ///State transition - sets the `source` field to Set - pub struct SetSource(PhantomData S>); - impl sealed::Sealed for SetSource {} - impl State for SetSource { type When = S::When; - type Code = S::Code; - type Source = Set; + type Code = Set; type Ref = S::Ref; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { + type Source = S::Source; type When = S::When; type Code = S::Code; - type Source = S::Source; type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `source` field + pub struct source(()); ///Marker type for the `when` field pub struct when(()); ///Marker type for the `code` field pub struct code(()); - ///Marker type for the `source` field - pub struct source(()); ///Marker type for the `ref` field pub struct r#ref(()); } @@ -214,9 +214,9 @@ where impl<'a, S> KidlispBuilder<'a, S> where S: kidlisp_state::State, + S::Source: kidlisp_state::IsSet, S::When: kidlisp_state::IsSet, S::Code: kidlisp_state::IsSet, - S::Source: kidlisp_state::IsSet, S::Ref: kidlisp_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/computer_aesthetic/mood.rs b/crates/jacquard-api/src/computer_aesthetic/mood.rs index c91a72ef..988f4d4f 100644 --- a/crates/jacquard-api/src/computer_aesthetic/mood.rs +++ b/crates/jacquard-api/src/computer_aesthetic/mood.rs @@ -38,51 +38,51 @@ pub mod mood_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Ref; type Mood; type When; - type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Ref = Unset; type Mood = Unset; type When = Unset; - type Ref = Unset; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Ref = Set; + type Mood = S::Mood; + type When = S::When; } ///State transition - sets the `mood` field to Set pub struct SetMood(PhantomData S>); impl sealed::Sealed for SetMood {} impl State for SetMood { + type Ref = S::Ref; type Mood = Set; type When = S::When; - type Ref = S::Ref; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Mood = S::Mood; - type When = Set; type Ref = S::Ref; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { type Mood = S::Mood; - type When = S::When; - type Ref = Set; + type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `ref` field + pub struct r#ref(()); ///Marker type for the `mood` field pub struct mood(()); ///Marker type for the `when` field pub struct when(()); - ///Marker type for the `ref` field - pub struct r#ref(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> MoodBuilder<'a, S> where S: mood_state::State, + S::Ref: mood_state::IsSet, S::Mood: mood_state::IsSet, S::When: mood_state::IsSet, - S::Ref: mood_state::IsSet, { /// Build the final struct pub fn build(self) -> Mood<'a> { diff --git a/crates/jacquard-api/src/computer_aesthetic/painting.rs b/crates/jacquard-api/src/computer_aesthetic/painting.rs index 071c6b84..feb5665d 100644 --- a/crates/jacquard-api/src/computer_aesthetic/painting.rs +++ b/crates/jacquard-api/src/computer_aesthetic/painting.rs @@ -52,85 +52,85 @@ pub mod painting_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Code; + type Slug; type When; + type Code; type ImageUrl; type Ref; - type Slug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Code = Unset; + type Slug = Unset; type When = Unset; + type Code = Unset; type ImageUrl = Unset; type Ref = Unset; - type Slug = Unset; } - ///State transition - sets the `code` field to Set - pub struct SetCode(PhantomData S>); - impl sealed::Sealed for SetCode {} - impl State for SetCode { - type Code = Set; + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; type When = S::When; + type Code = S::Code; type ImageUrl = S::ImageUrl; type Ref = S::Ref; - type Slug = S::Slug; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Code = S::Code; + type Slug = S::Slug; type When = Set; + type Code = S::Code; type ImageUrl = S::ImageUrl; type Ref = S::Ref; + } + ///State transition - sets the `code` field to Set + pub struct SetCode(PhantomData S>); + impl sealed::Sealed for SetCode {} + impl State for SetCode { type Slug = S::Slug; + type When = S::When; + type Code = Set; + type ImageUrl = S::ImageUrl; + type Ref = S::Ref; } ///State transition - sets the `image_url` field to Set pub struct SetImageUrl(PhantomData S>); impl sealed::Sealed for SetImageUrl {} impl State for SetImageUrl { - type Code = S::Code; + type Slug = S::Slug; type When = S::When; + type Code = S::Code; type ImageUrl = Set; type Ref = S::Ref; - type Slug = S::Slug; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type Code = S::Code; - type When = S::When; - type ImageUrl = S::ImageUrl; - type Ref = Set; type Slug = S::Slug; - } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { - type Code = S::Code; type When = S::When; + type Code = S::Code; type ImageUrl = S::ImageUrl; - type Ref = S::Ref; - type Slug = Set; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `code` field - pub struct code(()); + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `when` field pub struct when(()); + ///Marker type for the `code` field + pub struct code(()); ///Marker type for the `image_url` field pub struct image_url(()); ///Marker type for the `ref` field pub struct r#ref(()); - ///Marker type for the `slug` field - pub struct slug(()); } } @@ -303,11 +303,11 @@ where impl<'a, S> PaintingBuilder<'a, S> where S: painting_state::State, - S::Code: painting_state::IsSet, + S::Slug: painting_state::IsSet, S::When: painting_state::IsSet, + S::Code: painting_state::IsSet, S::ImageUrl: painting_state::IsSet, S::Ref: painting_state::IsSet, - S::Slug: painting_state::IsSet, { /// Build the final struct pub fn build(self) -> Painting<'a> { diff --git a/crates/jacquard-api/src/computer_aesthetic/piece.rs b/crates/jacquard-api/src/computer_aesthetic/piece.rs index 5766b420..06bcea5b 100644 --- a/crates/jacquard-api/src/computer_aesthetic/piece.rs +++ b/crates/jacquard-api/src/computer_aesthetic/piece.rs @@ -38,49 +38,49 @@ pub mod piece_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Slug; type Ref; + type Slug; type When; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Slug = Unset; type Ref = Unset; + type Slug = Unset; type When = Unset; } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { - type Slug = Set; - type Ref = S::Ref; - type When = S::When; - } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type Slug = S::Slug; type Ref = Set; + type Slug = S::Slug; + type When = S::When; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Ref = S::Ref; + type Slug = Set; type When = S::When; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Slug = S::Slug; type Ref = S::Ref; + type Slug = S::Slug; type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `slug` field - pub struct slug(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `when` field pub struct when(()); } @@ -175,8 +175,8 @@ where impl<'a, S> PieceBuilder<'a, S> where S: piece_state::State, - S::Slug: piece_state::IsSet, S::Ref: piece_state::IsSet, + S::Slug: piece_state::IsSet, S::When: piece_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/computer_aesthetic/tape.rs b/crates/jacquard-api/src/computer_aesthetic/tape.rs index a2105e14..57627c48 100644 --- a/crates/jacquard-api/src/computer_aesthetic/tape.rs +++ b/crates/jacquard-api/src/computer_aesthetic/tape.rs @@ -58,50 +58,50 @@ pub mod tape_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type When; - type Code; type Slug; + type Code; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type When = Unset; - type Code = Unset; type Slug = Unset; + type Code = Unset; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type When = Set; - type Code = S::Code; - type Slug = S::Slug; - } - ///State transition - sets the `code` field to Set - pub struct SetCode(PhantomData S>); - impl sealed::Sealed for SetCode {} - impl State for SetCode { - type When = S::When; - type Code = Set; type Slug = S::Slug; + type Code = S::Code; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { type When = S::When; - type Code = S::Code; type Slug = Set; + type Code = S::Code; + } + ///State transition - sets the `code` field to Set + pub struct SetCode(PhantomData S>); + impl sealed::Sealed for SetCode {} + impl State for SetCode { + type When = S::When; + type Slug = S::Slug; + type Code = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `when` field pub struct when(()); - ///Marker type for the `code` field - pub struct code(()); ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `code` field + pub struct code(()); } } @@ -286,8 +286,8 @@ impl<'a, S> TapeBuilder<'a, S> where S: tape_state::State, S::When: tape_state::IsSet, - S::Code: tape_state::IsSet, S::Slug: tape_state::IsSet, + S::Code: tape_state::IsSet, { /// Build the final struct pub fn build(self) -> Tape<'a> { diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs b/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs index 37a083a9..c736da85 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs @@ -34,50 +34,50 @@ pub mod calories_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Intake; - type CreatedAt; type Burned; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Intake = Unset; - type CreatedAt = Unset; type Burned = Unset; + type CreatedAt = Unset; } ///State transition - sets the `intake` field to Set pub struct SetIntake(PhantomData S>); impl sealed::Sealed for SetIntake {} impl State for SetIntake { type Intake = Set; - type CreatedAt = S::CreatedAt; - type Burned = S::Burned; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Intake = S::Intake; - type CreatedAt = Set; type Burned = S::Burned; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `burned` field to Set pub struct SetBurned(PhantomData S>); impl sealed::Sealed for SetBurned {} impl State for SetBurned { type Intake = S::Intake; - type CreatedAt = S::CreatedAt; type Burned = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Intake = S::Intake; + type Burned = S::Burned; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `intake` field pub struct intake(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `burned` field pub struct burned(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -171,8 +171,8 @@ impl<'a, S> CaloriesBuilder<'a, S> where S: calories_state::State, S::Intake: calories_state::IsSet, - S::CreatedAt: calories_state::IsSet, S::Burned: calories_state::IsSet, + S::CreatedAt: calories_state::IsSet, { /// Build the final struct pub fn build(self) -> Calories<'a> { diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs b/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs index 614718e8..18e2cbb7 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs @@ -43,127 +43,127 @@ pub mod rings_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type MoveGoal; + type CreatedAt; + type StandGoal; + type StandHours; type Move; type Exercise; type ExerciseGoal; - type StandGoal; - type StandHours; - type CreatedAt; - type MoveGoal; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type MoveGoal = Unset; + type CreatedAt = Unset; + type StandGoal = Unset; + type StandHours = Unset; type Move = Unset; type Exercise = Unset; type ExerciseGoal = Unset; - type StandGoal = Unset; - type StandHours = Unset; - type CreatedAt = Unset; - type MoveGoal = Unset; } - ///State transition - sets the `move` field to Set - pub struct SetMove(PhantomData S>); - impl sealed::Sealed for SetMove {} - impl State for SetMove { - type Move = Set; - type Exercise = S::Exercise; - type ExerciseGoal = S::ExerciseGoal; + ///State transition - sets the `move_goal` field to Set + pub struct SetMoveGoal(PhantomData S>); + impl sealed::Sealed for SetMoveGoal {} + impl State for SetMoveGoal { + type MoveGoal = Set; + type CreatedAt = S::CreatedAt; type StandGoal = S::StandGoal; type StandHours = S::StandHours; - type CreatedAt = S::CreatedAt; - type MoveGoal = S::MoveGoal; - } - ///State transition - sets the `exercise` field to Set - pub struct SetExercise(PhantomData S>); - impl sealed::Sealed for SetExercise {} - impl State for SetExercise { type Move = S::Move; - type Exercise = Set; + type Exercise = S::Exercise; type ExerciseGoal = S::ExerciseGoal; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type MoveGoal = S::MoveGoal; + type CreatedAt = Set; type StandGoal = S::StandGoal; type StandHours = S::StandHours; - type CreatedAt = S::CreatedAt; - type MoveGoal = S::MoveGoal; - } - ///State transition - sets the `exercise_goal` field to Set - pub struct SetExerciseGoal(PhantomData S>); - impl sealed::Sealed for SetExerciseGoal {} - impl State for SetExerciseGoal { type Move = S::Move; type Exercise = S::Exercise; - type ExerciseGoal = Set; - type StandGoal = S::StandGoal; - type StandHours = S::StandHours; - type CreatedAt = S::CreatedAt; - type MoveGoal = S::MoveGoal; + type ExerciseGoal = S::ExerciseGoal; } ///State transition - sets the `stand_goal` field to Set pub struct SetStandGoal(PhantomData S>); impl sealed::Sealed for SetStandGoal {} impl State for SetStandGoal { + type MoveGoal = S::MoveGoal; + type CreatedAt = S::CreatedAt; + type StandGoal = Set; + type StandHours = S::StandHours; type Move = S::Move; type Exercise = S::Exercise; type ExerciseGoal = S::ExerciseGoal; - type StandGoal = Set; - type StandHours = S::StandHours; - type CreatedAt = S::CreatedAt; - type MoveGoal = S::MoveGoal; } ///State transition - sets the `stand_hours` field to Set pub struct SetStandHours(PhantomData S>); impl sealed::Sealed for SetStandHours {} impl State for SetStandHours { - type Move = S::Move; - type Exercise = S::Exercise; - type ExerciseGoal = S::ExerciseGoal; + type MoveGoal = S::MoveGoal; + type CreatedAt = S::CreatedAt; type StandGoal = S::StandGoal; type StandHours = Set; - type CreatedAt = S::CreatedAt; - type MoveGoal = S::MoveGoal; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Move = S::Move; type Exercise = S::Exercise; type ExerciseGoal = S::ExerciseGoal; + } + ///State transition - sets the `move` field to Set + pub struct SetMove(PhantomData S>); + impl sealed::Sealed for SetMove {} + impl State for SetMove { + type MoveGoal = S::MoveGoal; + type CreatedAt = S::CreatedAt; type StandGoal = S::StandGoal; type StandHours = S::StandHours; - type CreatedAt = Set; - type MoveGoal = S::MoveGoal; - } - ///State transition - sets the `move_goal` field to Set - pub struct SetMoveGoal(PhantomData S>); - impl sealed::Sealed for SetMoveGoal {} - impl State for SetMoveGoal { - type Move = S::Move; + type Move = Set; type Exercise = S::Exercise; type ExerciseGoal = S::ExerciseGoal; + } + ///State transition - sets the `exercise` field to Set + pub struct SetExercise(PhantomData S>); + impl sealed::Sealed for SetExercise {} + impl State for SetExercise { + type MoveGoal = S::MoveGoal; + type CreatedAt = S::CreatedAt; type StandGoal = S::StandGoal; type StandHours = S::StandHours; + type Move = S::Move; + type Exercise = Set; + type ExerciseGoal = S::ExerciseGoal; + } + ///State transition - sets the `exercise_goal` field to Set + pub struct SetExerciseGoal(PhantomData S>); + impl sealed::Sealed for SetExerciseGoal {} + impl State for SetExerciseGoal { + type MoveGoal = S::MoveGoal; type CreatedAt = S::CreatedAt; - type MoveGoal = Set; + type StandGoal = S::StandGoal; + type StandHours = S::StandHours; + type Move = S::Move; + type Exercise = S::Exercise; + type ExerciseGoal = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `move_goal` field + pub struct move_goal(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `stand_goal` field + pub struct stand_goal(()); + ///Marker type for the `stand_hours` field + pub struct stand_hours(()); ///Marker type for the `move` field pub struct r#move(()); ///Marker type for the `exercise` field pub struct exercise(()); ///Marker type for the `exercise_goal` field pub struct exercise_goal(()); - ///Marker type for the `stand_goal` field - pub struct stand_goal(()); - ///Marker type for the `stand_hours` field - pub struct stand_hours(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `move_goal` field - pub struct move_goal(()); } } @@ -336,13 +336,13 @@ where impl<'a, S> RingsBuilder<'a, S> where S: rings_state::State, + S::MoveGoal: rings_state::IsSet, + S::CreatedAt: rings_state::IsSet, + S::StandGoal: rings_state::IsSet, + S::StandHours: rings_state::IsSet, S::Move: rings_state::IsSet, S::Exercise: rings_state::IsSet, S::ExerciseGoal: rings_state::IsSet, - S::StandGoal: rings_state::IsSet, - S::StandHours: rings_state::IsSet, - S::CreatedAt: rings_state::IsSet, - S::MoveGoal: rings_state::IsSet, { /// Build the final struct pub fn build(self) -> Rings<'a> { diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs b/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs index cac831d9..ea0d20e4 100644 --- a/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs +++ b/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs @@ -44,105 +44,105 @@ pub mod workout_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type StartTime; type CreatedAt; - type Duration; + type Activity; type CaloriesBurned; type EndTime; - type Activity; - type StartTime; + type Duration; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type StartTime = Unset; type CreatedAt = Unset; - type Duration = Unset; + type Activity = Unset; type CaloriesBurned = Unset; type EndTime = Unset; - type Activity = Unset; - type StartTime = Unset; + type Duration = Unset; + } + ///State transition - sets the `start_time` field to Set + pub struct SetStartTime(PhantomData S>); + impl sealed::Sealed for SetStartTime {} + impl State for SetStartTime { + type StartTime = Set; + type CreatedAt = S::CreatedAt; + type Activity = S::Activity; + type CaloriesBurned = S::CaloriesBurned; + type EndTime = S::EndTime; + type Duration = S::Duration; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type StartTime = S::StartTime; type CreatedAt = Set; - type Duration = S::Duration; + type Activity = S::Activity; type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Activity = S::Activity; - type StartTime = S::StartTime; + type Duration = S::Duration; } - ///State transition - sets the `duration` field to Set - pub struct SetDuration(PhantomData S>); - impl sealed::Sealed for SetDuration {} - impl State for SetDuration { + ///State transition - sets the `activity` field to Set + pub struct SetActivity(PhantomData S>); + impl sealed::Sealed for SetActivity {} + impl State for SetActivity { + type StartTime = S::StartTime; type CreatedAt = S::CreatedAt; - type Duration = Set; + type Activity = Set; type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Activity = S::Activity; - type StartTime = S::StartTime; + type Duration = S::Duration; } ///State transition - sets the `calories_burned` field to Set pub struct SetCaloriesBurned(PhantomData S>); impl sealed::Sealed for SetCaloriesBurned {} impl State for SetCaloriesBurned { + type StartTime = S::StartTime; type CreatedAt = S::CreatedAt; - type Duration = S::Duration; + type Activity = S::Activity; type CaloriesBurned = Set; type EndTime = S::EndTime; - type Activity = S::Activity; - type StartTime = S::StartTime; + type Duration = S::Duration; } ///State transition - sets the `end_time` field to Set pub struct SetEndTime(PhantomData S>); impl sealed::Sealed for SetEndTime {} impl State for SetEndTime { + type StartTime = S::StartTime; type CreatedAt = S::CreatedAt; - type Duration = S::Duration; + type Activity = S::Activity; type CaloriesBurned = S::CaloriesBurned; type EndTime = Set; - type Activity = S::Activity; - type StartTime = S::StartTime; - } - ///State transition - sets the `activity` field to Set - pub struct SetActivity(PhantomData S>); - impl sealed::Sealed for SetActivity {} - impl State for SetActivity { - type CreatedAt = S::CreatedAt; type Duration = S::Duration; - type CaloriesBurned = S::CaloriesBurned; - type EndTime = S::EndTime; - type Activity = Set; - type StartTime = S::StartTime; } - ///State transition - sets the `start_time` field to Set - pub struct SetStartTime(PhantomData S>); - impl sealed::Sealed for SetStartTime {} - impl State for SetStartTime { + ///State transition - sets the `duration` field to Set + pub struct SetDuration(PhantomData S>); + impl sealed::Sealed for SetDuration {} + impl State for SetDuration { + type StartTime = S::StartTime; type CreatedAt = S::CreatedAt; - type Duration = S::Duration; + type Activity = S::Activity; type CaloriesBurned = S::CaloriesBurned; type EndTime = S::EndTime; - type Activity = S::Activity; - type StartTime = Set; + type Duration = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `start_time` field + pub struct start_time(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `duration` field - pub struct duration(()); + ///Marker type for the `activity` field + pub struct activity(()); ///Marker type for the `calories_burned` field pub struct calories_burned(()); ///Marker type for the `end_time` field pub struct end_time(()); - ///Marker type for the `activity` field - pub struct activity(()); - ///Marker type for the `start_time` field - pub struct start_time(()); + ///Marker type for the `duration` field + pub struct duration(()); } } @@ -312,12 +312,12 @@ where impl<'a, S> WorkoutBuilder<'a, S> where S: workout_state::State, + S::StartTime: workout_state::IsSet, S::CreatedAt: workout_state::IsSet, - S::Duration: workout_state::IsSet, + S::Activity: workout_state::IsSet, S::CaloriesBurned: workout_state::IsSet, S::EndTime: workout_state::IsSet, - S::Activity: workout_state::IsSet, - S::StartTime: workout_state::IsSet, + S::Duration: workout_state::IsSet, { /// Build the final struct pub fn build(self) -> Workout<'a> { diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs index 6a46ed05..23bd5ea7 100644 --- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs +++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs @@ -46,105 +46,105 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Tags; - type Title; - type Content; type CreatedAt; type Category; type Forum; + type Title; + type Tags; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Tags = Unset; - type Title = Unset; - type Content = Unset; type CreatedAt = Unset; type Category = Unset; type Forum = Unset; - } - ///State transition - sets the `tags` field to Set - pub struct SetTags(PhantomData S>); - impl sealed::Sealed for SetTags {} - impl State for SetTags { - type Tags = Set; - type Title = S::Title; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Category = S::Category; - type Forum = S::Forum; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Tags = S::Tags; - type Title = Set; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Category = S::Category; - type Forum = S::Forum; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Tags = S::Tags; - type Title = S::Title; - type Content = Set; - type CreatedAt = S::CreatedAt; - type Category = S::Category; - type Forum = S::Forum; + type Title = Unset; + type Tags = Unset; + type Content = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Tags = S::Tags; - type Title = S::Title; - type Content = S::Content; type CreatedAt = Set; type Category = S::Category; type Forum = S::Forum; + type Title = S::Title; + type Tags = S::Tags; + type Content = S::Content; } ///State transition - sets the `category` field to Set pub struct SetCategory(PhantomData S>); impl sealed::Sealed for SetCategory {} impl State for SetCategory { - type Tags = S::Tags; - type Title = S::Title; - type Content = S::Content; type CreatedAt = S::CreatedAt; type Category = Set; type Forum = S::Forum; + type Title = S::Title; + type Tags = S::Tags; + type Content = S::Content; } ///State transition - sets the `forum` field to Set pub struct SetForum(PhantomData S>); impl sealed::Sealed for SetForum {} impl State for SetForum { + type CreatedAt = S::CreatedAt; + type Category = S::Category; + type Forum = Set; + type Title = S::Title; + type Tags = S::Tags; + type Content = S::Content; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type CreatedAt = S::CreatedAt; + type Category = S::Category; + type Forum = S::Forum; + type Title = Set; type Tags = S::Tags; + type Content = S::Content; + } + ///State transition - sets the `tags` field to Set + pub struct SetTags(PhantomData S>); + impl sealed::Sealed for SetTags {} + impl State for SetTags { + type CreatedAt = S::CreatedAt; + type Category = S::Category; + type Forum = S::Forum; type Title = S::Title; + type Tags = Set; type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { type CreatedAt = S::CreatedAt; type Category = S::Category; - type Forum = Set; + type Forum = S::Forum; + type Title = S::Title; + type Tags = S::Tags; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `tags` field - pub struct tags(()); - ///Marker type for the `title` field - pub struct title(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `category` field pub struct category(()); ///Marker type for the `forum` field pub struct forum(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `tags` field + pub struct tags(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -337,12 +337,12 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Tags: post_state::IsSet, - S::Title: post_state::IsSet, - S::Content: post_state::IsSet, S::CreatedAt: post_state::IsSet, S::Category: post_state::IsSet, S::Forum: post_state::IsSet, + S::Title: post_state::IsSet, + S::Tags: post_state::IsSet, + S::Content: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs index 8f925077..15908c99 100644 --- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs +++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs @@ -42,105 +42,105 @@ pub mod question_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; + type IsOpen; type Content; + type Title; type CreatedAt; type Forum; type Tags; - type IsOpen; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; + type IsOpen = Unset; type Content = Unset; + type Title = Unset; type CreatedAt = Unset; type Forum = Unset; type Tags = Unset; - type IsOpen = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; + ///State transition - sets the `is_open` field to Set + pub struct SetIsOpen(PhantomData S>); + impl sealed::Sealed for SetIsOpen {} + impl State for SetIsOpen { + type IsOpen = Set; type Content = S::Content; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Forum = S::Forum; type Tags = S::Tags; - type IsOpen = S::IsOpen; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Title = S::Title; + type IsOpen = S::IsOpen; type Content = Set; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Forum = S::Forum; type Tags = S::Tags; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type IsOpen = S::IsOpen; + type Content = S::Content; + type Title = Set; + type CreatedAt = S::CreatedAt; + type Forum = S::Forum; + type Tags = S::Tags; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; + type IsOpen = S::IsOpen; type Content = S::Content; + type Title = S::Title; type CreatedAt = Set; type Forum = S::Forum; type Tags = S::Tags; - type IsOpen = S::IsOpen; } ///State transition - sets the `forum` field to Set pub struct SetForum(PhantomData S>); impl sealed::Sealed for SetForum {} impl State for SetForum { - type Title = S::Title; + type IsOpen = S::IsOpen; type Content = S::Content; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Forum = Set; type Tags = S::Tags; - type IsOpen = S::IsOpen; } ///State transition - sets the `tags` field to Set pub struct SetTags(PhantomData S>); impl sealed::Sealed for SetTags {} impl State for SetTags { - type Title = S::Title; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - type Forum = S::Forum; - type Tags = Set; type IsOpen = S::IsOpen; - } - ///State transition - sets the `is_open` field to Set - pub struct SetIsOpen(PhantomData S>); - impl sealed::Sealed for SetIsOpen {} - impl State for SetIsOpen { - type Title = S::Title; type Content = S::Content; + type Title = S::Title; type CreatedAt = S::CreatedAt; type Forum = S::Forum; - type Tags = S::Tags; - type IsOpen = Set; + type Tags = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); + ///Marker type for the `is_open` field + pub struct is_open(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `forum` field pub struct forum(()); ///Marker type for the `tags` field pub struct tags(()); - ///Marker type for the `is_open` field - pub struct is_open(()); } } @@ -313,12 +313,12 @@ impl<'a, S: question_state::State> QuestionBuilder<'a, S> { impl<'a, S> QuestionBuilder<'a, S> where S: question_state::State, - S::Title: question_state::IsSet, + S::IsOpen: question_state::IsSet, S::Content: question_state::IsSet, + S::Title: question_state::IsSet, S::CreatedAt: question_state::IsSet, S::Forum: question_state::IsSet, S::Tags: question_state::IsSet, - S::IsOpen: question_state::IsSet, { /// Build the final struct pub fn build(self) -> Question<'a> { diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs index e1327bc5..d5393124 100644 --- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs +++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs @@ -37,49 +37,49 @@ pub mod reply_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Content; + type Root; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Content = Unset; + type Root = Unset; type CreatedAt = Unset; } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Content = S::Content; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Root = S::Root; type Content = Set; + type Root = S::Root; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Content = S::Content; + type Root = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Root = S::Root; type Content = S::Content; + type Root = S::Root; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `root` field + pub struct root(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -194,8 +194,8 @@ impl<'a, S: reply_state::State> ReplyBuilder<'a, S> { impl<'a, S> ReplyBuilder<'a, S> where S: reply_state::State, - S::Root: reply_state::IsSet, S::Content: reply_state::IsSet, + S::Root: reply_state::IsSet, S::CreatedAt: reply_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs index f214ce85..10752ae7 100644 --- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs +++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs @@ -36,67 +36,67 @@ pub mod announcement_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Body; - type CreatedAt; type Title; + type CreatedAt; type ExpiresAt; + type Body; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Body = Unset; - type CreatedAt = Unset; type Title = Unset; + type CreatedAt = Unset; type ExpiresAt = Unset; + type Body = Unset; } - ///State transition - sets the `body` field to Set - pub struct SetBody(PhantomData S>); - impl sealed::Sealed for SetBody {} - impl State for SetBody { - type Body = Set; + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; type CreatedAt = S::CreatedAt; - type Title = S::Title; type ExpiresAt = S::ExpiresAt; + type Body = S::Body; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Body = S::Body; - type CreatedAt = Set; type Title = S::Title; + type CreatedAt = Set; type ExpiresAt = S::ExpiresAt; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type Body = S::Body; - type CreatedAt = S::CreatedAt; - type Title = Set; - type ExpiresAt = S::ExpiresAt; } ///State transition - sets the `expires_at` field to Set pub struct SetExpiresAt(PhantomData S>); impl sealed::Sealed for SetExpiresAt {} impl State for SetExpiresAt { - type Body = S::Body; - type CreatedAt = S::CreatedAt; type Title = S::Title; + type CreatedAt = S::CreatedAt; type ExpiresAt = Set; + type Body = S::Body; + } + ///State transition - sets the `body` field to Set + pub struct SetBody(PhantomData S>); + impl sealed::Sealed for SetBody {} + impl State for SetBody { + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type ExpiresAt = S::ExpiresAt; + type Body = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `body` field - pub struct body(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `expires_at` field pub struct expires_at(()); + ///Marker type for the `body` field + pub struct body(()); } } @@ -209,10 +209,10 @@ where impl<'a, S> AnnouncementBuilder<'a, S> where S: announcement_state::State, - S::Body: announcement_state::IsSet, - S::CreatedAt: announcement_state::IsSet, S::Title: announcement_state::IsSet, + S::CreatedAt: announcement_state::IsSet, S::ExpiresAt: announcement_state::IsSet, + S::Body: announcement_state::IsSet, { /// Build the final struct pub fn build(self) -> Announcement<'a> { diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs index 2bb1556f..565f53ae 100644 --- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs +++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs @@ -39,49 +39,49 @@ pub mod category_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CategoryType; + type Name; type Group; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CategoryType = Unset; + type Name = Unset; type Group = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CategoryType = S::CategoryType; - type Group = S::Group; - } ///State transition - sets the `category_type` field to Set pub struct SetCategoryType(PhantomData S>); impl sealed::Sealed for SetCategoryType {} impl State for SetCategoryType { - type Name = S::Name; type CategoryType = Set; + type Name = S::Name; + type Group = S::Group; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CategoryType = S::CategoryType; + type Name = Set; type Group = S::Group; } ///State transition - sets the `group` field to Set pub struct SetGroup(PhantomData S>); impl sealed::Sealed for SetGroup {} impl State for SetGroup { - type Name = S::Name; type CategoryType = S::CategoryType; + type Name = S::Name; type Group = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `category_type` field pub struct category_type(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `group` field pub struct group(()); } @@ -196,8 +196,8 @@ where impl<'a, S> CategoryBuilder<'a, S> where S: category_state::State, - S::Name: category_state::IsSet, S::CategoryType: category_state::IsSet, + S::Name: category_state::IsSet, S::Group: category_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs index e2faaca3..5ea86e76 100644 --- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs +++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs @@ -39,65 +39,65 @@ pub mod board_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type Nsfw; type Description; + type Title; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type Nsfw = Unset; type Description = Unset; + type Title = Unset; type CreatedAt = Unset; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Nsfw = S::Nsfw; - type Description = S::Description; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `nsfw` field to Set pub struct SetNsfw(PhantomData S>); impl sealed::Sealed for SetNsfw {} impl State for SetNsfw { - type Title = S::Title; type Nsfw = Set; type Description = S::Description; + type Title = S::Title; type CreatedAt = S::CreatedAt; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type Title = S::Title; type Nsfw = S::Nsfw; type Description = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Nsfw = S::Nsfw; + type Description = S::Description; + type Title = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Title = S::Title; type Nsfw = S::Nsfw; type Description = S::Description; + type Title = S::Title; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `nsfw` field pub struct nsfw(()); ///Marker type for the `description` field pub struct description(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -212,9 +212,9 @@ where impl<'a, S> BoardBuilder<'a, S> where S: board_state::State, - S::Title: board_state::IsSet, S::Nsfw: board_state::IsSet, S::Description: board_state::IsSet, + S::Title: board_state::IsSet, S::CreatedAt: board_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs index 62666d03..c1c8b853 100644 --- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs +++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs @@ -41,51 +41,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Parent; type Text; + type Parent; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Parent = Unset; type Text = Unset; + type Parent = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type Text = Set; type Parent = S::Parent; - type Text = S::Text; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `parent` field to Set pub struct SetParent(PhantomData S>); impl sealed::Sealed for SetParent {} impl State for SetParent { - type CreatedAt = S::CreatedAt; - type Parent = Set; type Text = S::Text; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { + type Parent = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Text = S::Text; type Parent = S::Parent; - type Text = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `parent` field + pub struct parent(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -198,9 +198,9 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, - S::Parent: post_state::IsSet, S::Text: post_state::IsSet, + S::Parent: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs index 5b73f454..b1543365 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs @@ -20,7 +20,7 @@ pub struct ProfileStatus<'a> { /// The onboarding completion status #[serde(borrow)] - pub completed_onboarding: jacquard_common::CowStr<'a>, + pub completed_onboarding: ProfileStatusCompletedOnboarding<'a>, /// The timestamp when this status was created #[serde(skip_serializing_if = "std::option::Option::is_none")] pub created_at: std::option::Option, @@ -65,7 +65,7 @@ pub mod profile_status_state { pub struct ProfileStatusBuilder<'a, S: profile_status_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option, ), @@ -98,7 +98,7 @@ where /// Set the `completedOnboarding` field (required) pub fn completed_onboarding( mut self, - value: impl Into>, + value: impl Into>, ) -> ProfileStatusBuilder<'a, profile_status_state::SetCompletedOnboarding> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); ProfileStatusBuilder { @@ -191,6 +191,115 @@ impl<'a> ProfileStatus<'a> { } } +/// The onboarding completion status +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ProfileStatusCompletedOnboarding<'a> { + None, + ProfileOnboarding, + PlayOnboarding, + Complete, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ProfileStatusCompletedOnboarding<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::None => "none", + Self::ProfileOnboarding => "profileOnboarding", + Self::PlayOnboarding => "playOnboarding", + Self::Complete => "complete", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ProfileStatusCompletedOnboarding<'a> { + fn from(s: &'a str) -> Self { + match s { + "none" => Self::None, + "profileOnboarding" => Self::ProfileOnboarding, + "playOnboarding" => Self::PlayOnboarding, + "complete" => Self::Complete, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ProfileStatusCompletedOnboarding<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "none" => Self::None, + "profileOnboarding" => Self::ProfileOnboarding, + "playOnboarding" => Self::PlayOnboarding, + "complete" => Self::Complete, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ProfileStatusCompletedOnboarding<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ProfileStatusCompletedOnboarding<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ProfileStatusCompletedOnboarding<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ProfileStatusCompletedOnboarding<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ProfileStatusCompletedOnboarding<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ProfileStatusCompletedOnboarding<'_> { + type Output = ProfileStatusCompletedOnboarding<'static>; + fn into_static(self) -> Self::Output { + match self { + ProfileStatusCompletedOnboarding::None => { + ProfileStatusCompletedOnboarding::None + } + ProfileStatusCompletedOnboarding::ProfileOnboarding => { + ProfileStatusCompletedOnboarding::ProfileOnboarding + } + ProfileStatusCompletedOnboarding::PlayOnboarding => { + ProfileStatusCompletedOnboarding::PlayOnboarding + } + ProfileStatusCompletedOnboarding::Complete => { + ProfileStatusCompletedOnboarding::Complete + } + ProfileStatusCompletedOnboarding::Other(v) => { + ProfileStatusCompletedOnboarding::Other(v.into_static()) + } + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed.rs b/crates/jacquard-api/src/fm_teal/alpha/feed.rs index c078f394..9bf12f03 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/feed.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/feed.rs @@ -490,37 +490,37 @@ pub mod play_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TrackName; type Artists; + type TrackName; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TrackName = Unset; type Artists = Unset; - } - ///State transition - sets the `track_name` field to Set - pub struct SetTrackName(PhantomData S>); - impl sealed::Sealed for SetTrackName {} - impl State for SetTrackName { - type TrackName = Set; - type Artists = S::Artists; + type TrackName = Unset; } ///State transition - sets the `artists` field to Set pub struct SetArtists(PhantomData S>); impl sealed::Sealed for SetArtists {} impl State for SetArtists { - type TrackName = S::TrackName; type Artists = Set; + type TrackName = S::TrackName; + } + ///State transition - sets the `track_name` field to Set + pub struct SetTrackName(PhantomData S>); + impl sealed::Sealed for SetTrackName {} + impl State for SetTrackName { + type Artists = S::Artists; + type TrackName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `track_name` field - pub struct track_name(()); ///Marker type for the `artists` field pub struct artists(()); + ///Marker type for the `track_name` field + pub struct track_name(()); } } @@ -797,8 +797,8 @@ where impl<'a, S> PlayViewBuilder<'a, S> where S: play_view_state::State, - S::TrackName: play_view_state::IsSet, S::Artists: play_view_state::IsSet, + S::TrackName: play_view_state::IsSet, { /// Build the final struct pub fn build(self) -> PlayView<'a> { diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs b/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs index ec63b4b0..668c1b44 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs @@ -32,37 +32,37 @@ pub mod get_play_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AuthorDid; type Rkey; + type AuthorDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AuthorDid = Unset; type Rkey = Unset; - } - ///State transition - sets the `author_did` field to Set - pub struct SetAuthorDid(PhantomData S>); - impl sealed::Sealed for SetAuthorDid {} - impl State for SetAuthorDid { - type AuthorDid = Set; - type Rkey = S::Rkey; + type AuthorDid = Unset; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type AuthorDid = S::AuthorDid; type Rkey = Set; + type AuthorDid = S::AuthorDid; + } + ///State transition - sets the `author_did` field to Set + pub struct SetAuthorDid(PhantomData S>); + impl sealed::Sealed for SetAuthorDid {} + impl State for SetAuthorDid { + type Rkey = S::Rkey; + type AuthorDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author_did` field - pub struct author_did(()); ///Marker type for the `rkey` field pub struct rkey(()); + ///Marker type for the `author_did` field + pub struct author_did(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetPlayBuilder<'a, S> where S: get_play_state::State, - S::AuthorDid: get_play_state::IsSet, S::Rkey: get_play_state::IsSet, + S::AuthorDid: get_play_state::IsSet, { /// Build the final struct pub fn build(self) -> GetPlay<'a> { diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats.rs b/crates/jacquard-api/src/fm_teal/alpha/stats.rs index b53b61e0..edf7d27f 100644 --- a/crates/jacquard-api/src/fm_teal/alpha/stats.rs +++ b/crates/jacquard-api/src/fm_teal/alpha/stats.rs @@ -43,51 +43,51 @@ pub mod artist_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type PlayCount; - type Mbid; type Name; + type Mbid; + type PlayCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type PlayCount = Unset; - type Mbid = Unset; type Name = Unset; + type Mbid = Unset; + type PlayCount = Unset; } - ///State transition - sets the `play_count` field to Set - pub struct SetPlayCount(PhantomData S>); - impl sealed::Sealed for SetPlayCount {} - impl State for SetPlayCount { - type PlayCount = Set; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; type Mbid = S::Mbid; - type Name = S::Name; + type PlayCount = S::PlayCount; } ///State transition - sets the `mbid` field to Set pub struct SetMbid(PhantomData S>); impl sealed::Sealed for SetMbid {} impl State for SetMbid { - type PlayCount = S::PlayCount; - type Mbid = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + type Mbid = Set; type PlayCount = S::PlayCount; + } + ///State transition - sets the `play_count` field to Set + pub struct SetPlayCount(PhantomData S>); + impl sealed::Sealed for SetPlayCount {} + impl State for SetPlayCount { + type Name = S::Name; type Mbid = S::Mbid; - type Name = Set; + type PlayCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `play_count` field - pub struct play_count(()); - ///Marker type for the `mbid` field - pub struct mbid(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `mbid` field + pub struct mbid(()); + ///Marker type for the `play_count` field + pub struct play_count(()); } } @@ -180,9 +180,9 @@ where impl<'a, S> ArtistViewBuilder<'a, S> where S: artist_view_state::State, - S::PlayCount: artist_view_state::IsSet, - S::Mbid: artist_view_state::IsSet, S::Name: artist_view_state::IsSet, + S::Mbid: artist_view_state::IsSet, + S::PlayCount: artist_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ArtistView<'a> { @@ -480,51 +480,51 @@ pub mod recording_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type PlayCount; - type Mbid; type Name; + type Mbid; + type PlayCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type PlayCount = Unset; - type Mbid = Unset; type Name = Unset; + type Mbid = Unset; + type PlayCount = Unset; } - ///State transition - sets the `play_count` field to Set - pub struct SetPlayCount(PhantomData S>); - impl sealed::Sealed for SetPlayCount {} - impl State for SetPlayCount { - type PlayCount = Set; + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; type Mbid = S::Mbid; - type Name = S::Name; + type PlayCount = S::PlayCount; } ///State transition - sets the `mbid` field to Set pub struct SetMbid(PhantomData S>); impl sealed::Sealed for SetMbid {} impl State for SetMbid { - type PlayCount = S::PlayCount; - type Mbid = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + type Mbid = Set; type PlayCount = S::PlayCount; + } + ///State transition - sets the `play_count` field to Set + pub struct SetPlayCount(PhantomData S>); + impl sealed::Sealed for SetPlayCount {} + impl State for SetPlayCount { + type Name = S::Name; type Mbid = S::Mbid; - type Name = Set; + type PlayCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `play_count` field - pub struct play_count(()); - ///Marker type for the `mbid` field - pub struct mbid(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `mbid` field + pub struct mbid(()); + ///Marker type for the `play_count` field + pub struct play_count(()); } } @@ -617,9 +617,9 @@ where impl<'a, S> RecordingViewBuilder<'a, S> where S: recording_view_state::State, - S::PlayCount: recording_view_state::IsSet, - S::Mbid: recording_view_state::IsSet, S::Name: recording_view_state::IsSet, + S::Mbid: recording_view_state::IsSet, + S::PlayCount: recording_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordingView<'a> { @@ -696,51 +696,51 @@ pub mod release_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; type PlayCount; type Mbid; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; type PlayCount = Unset; type Mbid = Unset; - type Name = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type PlayCount = S::PlayCount; + type Mbid = S::Mbid; } ///State transition - sets the `play_count` field to Set pub struct SetPlayCount(PhantomData S>); impl sealed::Sealed for SetPlayCount {} impl State for SetPlayCount { + type Name = S::Name; type PlayCount = Set; type Mbid = S::Mbid; - type Name = S::Name; } ///State transition - sets the `mbid` field to Set pub struct SetMbid(PhantomData S>); impl sealed::Sealed for SetMbid {} impl State for SetMbid { - type PlayCount = S::PlayCount; - type Mbid = Set; type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type PlayCount = S::PlayCount; - type Mbid = S::Mbid; - type Name = Set; + type Mbid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `play_count` field pub struct play_count(()); ///Marker type for the `mbid` field pub struct mbid(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -833,9 +833,9 @@ where impl<'a, S> ReleaseViewBuilder<'a, S> where S: release_view_state::State, + S::Name: release_view_state::IsSet, S::PlayCount: release_view_state::IsSet, S::Mbid: release_view_state::IsSet, - S::Name: release_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ReleaseView<'a> { diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs b/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs index d93f2191..24d328dc 100644 --- a/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs +++ b/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs @@ -40,51 +40,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Blocks; type CreatedAt; type Post; - type Blocks; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Blocks = Unset; type CreatedAt = Unset; type Post = Unset; - type Blocks = Unset; + } + ///State transition - sets the `blocks` field to Set + pub struct SetBlocks(PhantomData S>); + impl sealed::Sealed for SetBlocks {} + impl State for SetBlocks { + type Blocks = Set; + type CreatedAt = S::CreatedAt; + type Post = S::Post; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Blocks = S::Blocks; type CreatedAt = Set; type Post = S::Post; - type Blocks = S::Blocks; } ///State transition - sets the `post` field to Set pub struct SetPost(PhantomData S>); impl sealed::Sealed for SetPost {} impl State for SetPost { - type CreatedAt = S::CreatedAt; - type Post = Set; type Blocks = S::Blocks; - } - ///State transition - sets the `blocks` field to Set - pub struct SetBlocks(PhantomData S>); - impl sealed::Sealed for SetBlocks {} - impl State for SetBlocks { type CreatedAt = S::CreatedAt; - type Post = S::Post; - type Blocks = Set; + type Post = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `blocks` field + pub struct blocks(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `post` field pub struct post(()); - ///Marker type for the `blocks` field - pub struct blocks(()); } } @@ -197,9 +197,9 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, + S::Blocks: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, S::Post: comment_state::IsSet, - S::Blocks: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/post.rs b/crates/jacquard-api/src/fyi_frontpage/feed/post.rs index 423479f1..e81c7080 100644 --- a/crates/jacquard-api/src/fyi_frontpage/feed/post.rs +++ b/crates/jacquard-api/src/fyi_frontpage/feed/post.rs @@ -38,51 +38,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Title; type Subject; + type Title; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Title = Unset; type Subject = Unset; + type Title = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Subject = Set; type Title = S::Title; - type Subject = S::Subject; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; - type Title = Set; type Subject = S::Subject; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { + type Title = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; type Title = S::Title; - type Subject = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::CreatedAt: post_state::IsSet, - S::Title: post_state::IsSet, S::Subject: post_state::IsSet, + S::Title: post_state::IsSet, + S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/fyi_questionable/answer.rs b/crates/jacquard-api/src/fyi_questionable/answer.rs index 4983d150..47843344 100644 --- a/crates/jacquard-api/src/fyi_questionable/answer.rs +++ b/crates/jacquard-api/src/fyi_questionable/answer.rs @@ -39,49 +39,49 @@ pub mod answer_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Question; type Text; + type Question; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Question = Unset; type Text = Unset; + type Question = Unset; type CreatedAt = Unset; } - ///State transition - sets the `question` field to Set - pub struct SetQuestion(PhantomData S>); - impl sealed::Sealed for SetQuestion {} - impl State for SetQuestion { - type Question = Set; - type Text = S::Text; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Question = S::Question; type Text = Set; + type Question = S::Question; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `question` field to Set + pub struct SetQuestion(PhantomData S>); + impl sealed::Sealed for SetQuestion {} + impl State for SetQuestion { + type Text = S::Text; + type Question = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Question = S::Question; type Text = S::Text; + type Question = S::Question; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `question` field - pub struct question(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `question` field + pub struct question(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -196,8 +196,8 @@ where impl<'a, S> AnswerBuilder<'a, S> where S: answer_state::State, - S::Question: answer_state::IsSet, S::Text: answer_state::IsSet, + S::Question: answer_state::IsSet, S::CreatedAt: answer_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/fyi_questionable/question.rs b/crates/jacquard-api/src/fyi_questionable/question.rs index c4665f27..6f59ec73 100644 --- a/crates/jacquard-api/src/fyi_questionable/question.rs +++ b/crates/jacquard-api/src/fyi_questionable/question.rs @@ -51,51 +51,51 @@ pub mod question_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Summary; type Text; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Summary = Unset; type Text = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Summary = S::Summary; + type Text = S::Text; } ///State transition - sets the `summary` field to Set pub struct SetSummary(PhantomData S>); impl sealed::Sealed for SetSummary {} impl State for SetSummary { + type CreatedAt = S::CreatedAt; type Summary = Set; type Text = S::Text; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type Summary = S::Summary; - type Text = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Summary = S::Summary; - type Text = S::Text; - type CreatedAt = Set; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `summary` field pub struct summary(()); ///Marker type for the `text` field pub struct text(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -250,9 +250,9 @@ where impl<'a, S> QuestionBuilder<'a, S> where S: question_state::State, + S::CreatedAt: question_state::IsSet, S::Summary: question_state::IsSet, S::Text: question_state::IsSet, - S::CreatedAt: question_state::IsSet, { /// Build the final struct pub fn build(self) -> Question<'a> { diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs index a43204e8..9b52c13e 100644 --- a/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs +++ b/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs @@ -40,51 +40,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Content; type Post; + type Content; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Content = Unset; type Post = Unset; + type Content = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `post` field to Set + pub struct SetPost(PhantomData S>); + impl sealed::Sealed for SetPost {} + impl State for SetPost { + type Post = Set; type Content = S::Content; - type Post = S::Post; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type CreatedAt = S::CreatedAt; - type Content = Set; type Post = S::Post; - } - ///State transition - sets the `post` field to Set - pub struct SetPost(PhantomData S>); - impl sealed::Sealed for SetPost {} - impl State for SetPost { + type Content = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Post = S::Post; type Content = S::Content; - type Post = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `post` field pub struct post(()); + ///Marker type for the `content` field + pub struct content(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -197,9 +197,9 @@ where impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::CreatedAt: comment_state::IsSet, - S::Content: comment_state::IsSet, S::Post: comment_state::IsSet, + S::Content: comment_state::IsSet, + S::CreatedAt: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs index 7dbe2052..0917ceac 100644 --- a/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs +++ b/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs @@ -38,51 +38,51 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Title; type Url; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Title = Unset; type Url = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Title = S::Title; + type Url = S::Url; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { + type CreatedAt = S::CreatedAt; type Title = Set; type Url = S::Url; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Title = S::Title; - type Url = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Title = S::Title; - type Url = S::Url; - type CreatedAt = Set; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, + S::CreatedAt: post_state::IsSet, S::Title: post_state::IsSet, S::Url: post_state::IsSet, - S::CreatedAt: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs index e8a5449e..76fed3a8 100644 --- a/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs +++ b/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs @@ -34,37 +34,37 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, - S::Subject: vote_state::IsSet, S::CreatedAt: vote_state::IsSet, + S::Subject: vote_state::IsSet, { /// Build the final struct pub fn build(self) -> Vote<'a> { diff --git a/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs b/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs index 744401a7..cc722d88 100644 --- a/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs +++ b/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs @@ -35,51 +35,51 @@ pub mod reaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type GameId; type Emoji; type CreatedAt; - type GameId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type GameId = Unset; type Emoji = Unset; type CreatedAt = Unset; - type GameId = Unset; + } + ///State transition - sets the `game_id` field to Set + pub struct SetGameId(PhantomData S>); + impl sealed::Sealed for SetGameId {} + impl State for SetGameId { + type GameId = Set; + type Emoji = S::Emoji; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `emoji` field to Set pub struct SetEmoji(PhantomData S>); impl sealed::Sealed for SetEmoji {} impl State for SetEmoji { + type GameId = S::GameId; type Emoji = Set; type CreatedAt = S::CreatedAt; - type GameId = S::GameId; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Emoji = S::Emoji; - type CreatedAt = Set; type GameId = S::GameId; - } - ///State transition - sets the `game_id` field to Set - pub struct SetGameId(PhantomData S>); - impl sealed::Sealed for SetGameId {} - impl State for SetGameId { type Emoji = S::Emoji; - type CreatedAt = S::CreatedAt; - type GameId = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `game_id` field + pub struct game_id(()); ///Marker type for the `emoji` field pub struct emoji(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `game_id` field - pub struct game_id(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> ReactionBuilder<'a, S> where S: reaction_state::State, + S::GameId: reaction_state::IsSet, S::Emoji: reaction_state::IsSet, S::CreatedAt: reaction_state::IsSet, - S::GameId: reaction_state::IsSet, { /// Build the final struct pub fn build(self) -> Reaction<'a> { diff --git a/crates/jacquard-api/src/io_atcr/hold/captain.rs b/crates/jacquard-api/src/io_atcr/hold/captain.rs index 81a72459..e384c727 100644 --- a/crates/jacquard-api/src/io_atcr/hold/captain.rs +++ b/crates/jacquard-api/src/io_atcr/hold/captain.rs @@ -49,83 +49,83 @@ pub mod captain_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Owner; - type AllowAllCrew; - type DeployedAt; type Public; + type DeployedAt; + type AllowAllCrew; + type Owner; type EnableBlueskyPosts; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Owner = Unset; - type AllowAllCrew = Unset; - type DeployedAt = Unset; type Public = Unset; + type DeployedAt = Unset; + type AllowAllCrew = Unset; + type Owner = Unset; type EnableBlueskyPosts = Unset; } - ///State transition - sets the `owner` field to Set - pub struct SetOwner(PhantomData S>); - impl sealed::Sealed for SetOwner {} - impl State for SetOwner { - type Owner = Set; - type AllowAllCrew = S::AllowAllCrew; + ///State transition - sets the `public` field to Set + pub struct SetPublic(PhantomData S>); + impl sealed::Sealed for SetPublic {} + impl State for SetPublic { + type Public = Set; type DeployedAt = S::DeployedAt; - type Public = S::Public; - type EnableBlueskyPosts = S::EnableBlueskyPosts; - } - ///State transition - sets the `allow_all_crew` field to Set - pub struct SetAllowAllCrew(PhantomData S>); - impl sealed::Sealed for SetAllowAllCrew {} - impl State for SetAllowAllCrew { + type AllowAllCrew = S::AllowAllCrew; type Owner = S::Owner; - type AllowAllCrew = Set; - type DeployedAt = S::DeployedAt; - type Public = S::Public; type EnableBlueskyPosts = S::EnableBlueskyPosts; } ///State transition - sets the `deployed_at` field to Set pub struct SetDeployedAt(PhantomData S>); impl sealed::Sealed for SetDeployedAt {} impl State for SetDeployedAt { - type Owner = S::Owner; - type AllowAllCrew = S::AllowAllCrew; - type DeployedAt = Set; type Public = S::Public; + type DeployedAt = Set; + type AllowAllCrew = S::AllowAllCrew; + type Owner = S::Owner; type EnableBlueskyPosts = S::EnableBlueskyPosts; } - ///State transition - sets the `public` field to Set - pub struct SetPublic(PhantomData S>); - impl sealed::Sealed for SetPublic {} - impl State for SetPublic { + ///State transition - sets the `allow_all_crew` field to Set + pub struct SetAllowAllCrew(PhantomData S>); + impl sealed::Sealed for SetAllowAllCrew {} + impl State for SetAllowAllCrew { + type Public = S::Public; + type DeployedAt = S::DeployedAt; + type AllowAllCrew = Set; type Owner = S::Owner; - type AllowAllCrew = S::AllowAllCrew; + type EnableBlueskyPosts = S::EnableBlueskyPosts; + } + ///State transition - sets the `owner` field to Set + pub struct SetOwner(PhantomData S>); + impl sealed::Sealed for SetOwner {} + impl State for SetOwner { + type Public = S::Public; type DeployedAt = S::DeployedAt; - type Public = Set; + type AllowAllCrew = S::AllowAllCrew; + type Owner = Set; type EnableBlueskyPosts = S::EnableBlueskyPosts; } ///State transition - sets the `enable_bluesky_posts` field to Set pub struct SetEnableBlueskyPosts(PhantomData S>); impl sealed::Sealed for SetEnableBlueskyPosts {} impl State for SetEnableBlueskyPosts { - type Owner = S::Owner; - type AllowAllCrew = S::AllowAllCrew; - type DeployedAt = S::DeployedAt; type Public = S::Public; + type DeployedAt = S::DeployedAt; + type AllowAllCrew = S::AllowAllCrew; + type Owner = S::Owner; type EnableBlueskyPosts = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `owner` field - pub struct owner(()); - ///Marker type for the `allow_all_crew` field - pub struct allow_all_crew(()); - ///Marker type for the `deployed_at` field - pub struct deployed_at(()); ///Marker type for the `public` field pub struct public(()); + ///Marker type for the `deployed_at` field + pub struct deployed_at(()); + ///Marker type for the `allow_all_crew` field + pub struct allow_all_crew(()); + ///Marker type for the `owner` field + pub struct owner(()); ///Marker type for the `enable_bluesky_posts` field pub struct enable_bluesky_posts(()); } @@ -294,10 +294,10 @@ impl<'a, S: captain_state::State> CaptainBuilder<'a, S> { impl<'a, S> CaptainBuilder<'a, S> where S: captain_state::State, - S::Owner: captain_state::IsSet, - S::AllowAllCrew: captain_state::IsSet, - S::DeployedAt: captain_state::IsSet, S::Public: captain_state::IsSet, + S::DeployedAt: captain_state::IsSet, + S::AllowAllCrew: captain_state::IsSet, + S::Owner: captain_state::IsSet, S::EnableBlueskyPosts: captain_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/io_atcr/hold/crew.rs b/crates/jacquard-api/src/io_atcr/hold/crew.rs index 9627bc65..71546702 100644 --- a/crates/jacquard-api/src/io_atcr/hold/crew.rs +++ b/crates/jacquard-api/src/io_atcr/hold/crew.rs @@ -28,7 +28,7 @@ pub struct Crew<'a> { pub permissions: Vec>, /// Member's role in the hold #[serde(borrow)] - pub role: jacquard_common::CowStr<'a>, + pub role: CrewRole<'a>, } pub mod crew_state { @@ -41,67 +41,67 @@ pub mod crew_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Permissions; type Role; - type AddedAt; + type Permissions; type Member; + type AddedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Permissions = Unset; type Role = Unset; - type AddedAt = Unset; + type Permissions = Unset; type Member = Unset; - } - ///State transition - sets the `permissions` field to Set - pub struct SetPermissions(PhantomData S>); - impl sealed::Sealed for SetPermissions {} - impl State for SetPermissions { - type Permissions = Set; - type Role = S::Role; - type AddedAt = S::AddedAt; - type Member = S::Member; + type AddedAt = Unset; } ///State transition - sets the `role` field to Set pub struct SetRole(PhantomData S>); impl sealed::Sealed for SetRole {} impl State for SetRole { - type Permissions = S::Permissions; type Role = Set; - type AddedAt = S::AddedAt; + type Permissions = S::Permissions; type Member = S::Member; + type AddedAt = S::AddedAt; } - ///State transition - sets the `added_at` field to Set - pub struct SetAddedAt(PhantomData S>); - impl sealed::Sealed for SetAddedAt {} - impl State for SetAddedAt { - type Permissions = S::Permissions; + ///State transition - sets the `permissions` field to Set + pub struct SetPermissions(PhantomData S>); + impl sealed::Sealed for SetPermissions {} + impl State for SetPermissions { type Role = S::Role; - type AddedAt = Set; + type Permissions = Set; type Member = S::Member; + type AddedAt = S::AddedAt; } ///State transition - sets the `member` field to Set pub struct SetMember(PhantomData S>); impl sealed::Sealed for SetMember {} impl State for SetMember { - type Permissions = S::Permissions; type Role = S::Role; - type AddedAt = S::AddedAt; + type Permissions = S::Permissions; type Member = Set; + type AddedAt = S::AddedAt; + } + ///State transition - sets the `added_at` field to Set + pub struct SetAddedAt(PhantomData S>); + impl sealed::Sealed for SetAddedAt {} + impl State for SetAddedAt { + type Role = S::Role; + type Permissions = S::Permissions; + type Member = S::Member; + type AddedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `permissions` field - pub struct permissions(()); ///Marker type for the `role` field pub struct role(()); - ///Marker type for the `added_at` field - pub struct added_at(()); + ///Marker type for the `permissions` field + pub struct permissions(()); ///Marker type for the `member` field pub struct member(()); + ///Marker type for the `added_at` field + pub struct added_at(()); } } @@ -112,7 +112,7 @@ pub struct CrewBuilder<'a, S: crew_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -200,7 +200,7 @@ where /// Set the `role` field (required) pub fn role( mut self, - value: impl Into>, + value: impl Into>, ) -> CrewBuilder<'a, crew_state::SetRole> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); CrewBuilder { @@ -214,10 +214,10 @@ where impl<'a, S> CrewBuilder<'a, S> where S: crew_state::State, - S::Permissions: crew_state::IsSet, S::Role: crew_state::IsSet, - S::AddedAt: crew_state::IsSet, + S::Permissions: crew_state::IsSet, S::Member: crew_state::IsSet, + S::AddedAt: crew_state::IsSet, { /// Build the final struct pub fn build(self) -> Crew<'a> { @@ -260,6 +260,105 @@ impl<'a> Crew<'a> { } } +/// Member's role in the hold +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum CrewRole<'a> { + Owner, + Admin, + Write, + Read, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> CrewRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Owner => "owner", + Self::Admin => "admin", + Self::Write => "write", + Self::Read => "read", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for CrewRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "owner" => Self::Owner, + "admin" => Self::Admin, + "write" => Self::Write, + "read" => Self::Read, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for CrewRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "owner" => Self::Owner, + "admin" => Self::Admin, + "write" => Self::Write, + "read" => Self::Read, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for CrewRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for CrewRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for CrewRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for CrewRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for CrewRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for CrewRole<'_> { + type Output = CrewRole<'static>; + fn into_static(self) -> Self::Output { + match self { + CrewRole::Owner => CrewRole::Owner, + CrewRole::Admin => CrewRole::Admin, + CrewRole::Write => CrewRole::Write, + CrewRole::Read => CrewRole::Read, + CrewRole::Other(v) => CrewRole::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/io_atcr/hold/layer.rs b/crates/jacquard-api/src/io_atcr/hold/layer.rs index 38f8692b..b8cb3fdf 100644 --- a/crates/jacquard-api/src/io_atcr/hold/layer.rs +++ b/crates/jacquard-api/src/io_atcr/hold/layer.rs @@ -49,127 +49,127 @@ pub mod layer_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repository; - type CreatedAt; - type Digest; type UserDid; + type Size; type UserHandle; + type Digest; type MediaType; - type Size; + type CreatedAt; + type Repository; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repository = Unset; - type CreatedAt = Unset; - type Digest = Unset; type UserDid = Unset; + type Size = Unset; type UserHandle = Unset; + type Digest = Unset; type MediaType = Unset; - type Size = Unset; + type CreatedAt = Unset; + type Repository = Unset; } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { - type Repository = Set; - type CreatedAt = S::CreatedAt; - type Digest = S::Digest; - type UserDid = S::UserDid; - type UserHandle = S::UserHandle; - type MediaType = S::MediaType; + ///State transition - sets the `user_did` field to Set + pub struct SetUserDid(PhantomData S>); + impl sealed::Sealed for SetUserDid {} + impl State for SetUserDid { + type UserDid = Set; type Size = S::Size; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Repository = S::Repository; - type CreatedAt = Set; - type Digest = S::Digest; - type UserDid = S::UserDid; type UserHandle = S::UserHandle; + type Digest = S::Digest; type MediaType = S::MediaType; - type Size = S::Size; - } - ///State transition - sets the `digest` field to Set - pub struct SetDigest(PhantomData S>); - impl sealed::Sealed for SetDigest {} - impl State for SetDigest { - type Repository = S::Repository; type CreatedAt = S::CreatedAt; - type Digest = Set; + type Repository = S::Repository; + } + ///State transition - sets the `size` field to Set + pub struct SetSize(PhantomData S>); + impl sealed::Sealed for SetSize {} + impl State for SetSize { type UserDid = S::UserDid; + type Size = Set; type UserHandle = S::UserHandle; - type MediaType = S::MediaType; - type Size = S::Size; - } - ///State transition - sets the `user_did` field to Set - pub struct SetUserDid(PhantomData S>); - impl sealed::Sealed for SetUserDid {} - impl State for SetUserDid { - type Repository = S::Repository; - type CreatedAt = S::CreatedAt; type Digest = S::Digest; - type UserDid = Set; - type UserHandle = S::UserHandle; type MediaType = S::MediaType; - type Size = S::Size; + type CreatedAt = S::CreatedAt; + type Repository = S::Repository; } ///State transition - sets the `user_handle` field to Set pub struct SetUserHandle(PhantomData S>); impl sealed::Sealed for SetUserHandle {} impl State for SetUserHandle { - type Repository = S::Repository; - type CreatedAt = S::CreatedAt; - type Digest = S::Digest; type UserDid = S::UserDid; + type Size = S::Size; type UserHandle = Set; + type Digest = S::Digest; type MediaType = S::MediaType; + type CreatedAt = S::CreatedAt; + type Repository = S::Repository; + } + ///State transition - sets the `digest` field to Set + pub struct SetDigest(PhantomData S>); + impl sealed::Sealed for SetDigest {} + impl State for SetDigest { + type UserDid = S::UserDid; type Size = S::Size; + type UserHandle = S::UserHandle; + type Digest = Set; + type MediaType = S::MediaType; + type CreatedAt = S::CreatedAt; + type Repository = S::Repository; } ///State transition - sets the `media_type` field to Set pub struct SetMediaType(PhantomData S>); impl sealed::Sealed for SetMediaType {} impl State for SetMediaType { - type Repository = S::Repository; - type CreatedAt = S::CreatedAt; - type Digest = S::Digest; type UserDid = S::UserDid; + type Size = S::Size; type UserHandle = S::UserHandle; + type Digest = S::Digest; type MediaType = Set; - type Size = S::Size; - } - ///State transition - sets the `size` field to Set - pub struct SetSize(PhantomData S>); - impl sealed::Sealed for SetSize {} - impl State for SetSize { - type Repository = S::Repository; type CreatedAt = S::CreatedAt; + type Repository = S::Repository; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type UserDid = S::UserDid; + type Size = S::Size; + type UserHandle = S::UserHandle; type Digest = S::Digest; + type MediaType = S::MediaType; + type CreatedAt = Set; + type Repository = S::Repository; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { type UserDid = S::UserDid; + type Size = S::Size; type UserHandle = S::UserHandle; + type Digest = S::Digest; type MediaType = S::MediaType; - type Size = Set; + type CreatedAt = S::CreatedAt; + type Repository = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repository` field - pub struct repository(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `digest` field - pub struct digest(()); ///Marker type for the `user_did` field pub struct user_did(()); + ///Marker type for the `size` field + pub struct size(()); ///Marker type for the `user_handle` field pub struct user_handle(()); + ///Marker type for the `digest` field + pub struct digest(()); ///Marker type for the `media_type` field pub struct media_type(()); - ///Marker type for the `size` field - pub struct size(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `repository` field + pub struct repository(()); } } @@ -342,13 +342,13 @@ where impl<'a, S> LayerBuilder<'a, S> where S: layer_state::State, - S::Repository: layer_state::IsSet, - S::CreatedAt: layer_state::IsSet, - S::Digest: layer_state::IsSet, S::UserDid: layer_state::IsSet, + S::Size: layer_state::IsSet, S::UserHandle: layer_state::IsSet, + S::Digest: layer_state::IsSet, S::MediaType: layer_state::IsSet, - S::Size: layer_state::IsSet, + S::CreatedAt: layer_state::IsSet, + S::Repository: layer_state::IsSet, { /// Build the final struct pub fn build(self) -> Layer<'a> { diff --git a/crates/jacquard-api/src/io_atcr/manifest.rs b/crates/jacquard-api/src/io_atcr/manifest.rs index 7e4b6618..308e88e2 100644 --- a/crates/jacquard-api/src/io_atcr/manifest.rs +++ b/crates/jacquard-api/src/io_atcr/manifest.rs @@ -928,7 +928,7 @@ pub struct Manifest<'a> { >, /// OCI media type #[serde(borrow)] - pub media_type: jacquard_common::CowStr<'a>, + pub media_type: ManifestMediaType<'a>, /// Repository name (e.g., 'myapp'). Scoped to user's DID. #[serde(borrow)] pub repository: jacquard_common::CowStr<'a>, @@ -951,84 +951,84 @@ pub mod manifest_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type MediaType; - type Repository; - type CreatedAt; type SchemaVersion; + type CreatedAt; type Digest; + type Repository; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type MediaType = Unset; - type Repository = Unset; - type CreatedAt = Unset; type SchemaVersion = Unset; + type CreatedAt = Unset; type Digest = Unset; + type Repository = Unset; } ///State transition - sets the `media_type` field to Set pub struct SetMediaType(PhantomData S>); impl sealed::Sealed for SetMediaType {} impl State for SetMediaType { type MediaType = Set; - type Repository = S::Repository; - type CreatedAt = S::CreatedAt; type SchemaVersion = S::SchemaVersion; + type CreatedAt = S::CreatedAt; type Digest = S::Digest; + type Repository = S::Repository; } - ///State transition - sets the `repository` field to Set - pub struct SetRepository(PhantomData S>); - impl sealed::Sealed for SetRepository {} - impl State for SetRepository { + ///State transition - sets the `schema_version` field to Set + pub struct SetSchemaVersion(PhantomData S>); + impl sealed::Sealed for SetSchemaVersion {} + impl State for SetSchemaVersion { type MediaType = S::MediaType; - type Repository = Set; + type SchemaVersion = Set; type CreatedAt = S::CreatedAt; - type SchemaVersion = S::SchemaVersion; type Digest = S::Digest; + type Repository = S::Repository; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type MediaType = S::MediaType; - type Repository = S::Repository; - type CreatedAt = Set; type SchemaVersion = S::SchemaVersion; + type CreatedAt = Set; type Digest = S::Digest; - } - ///State transition - sets the `schema_version` field to Set - pub struct SetSchemaVersion(PhantomData S>); - impl sealed::Sealed for SetSchemaVersion {} - impl State for SetSchemaVersion { - type MediaType = S::MediaType; type Repository = S::Repository; - type CreatedAt = S::CreatedAt; - type SchemaVersion = Set; - type Digest = S::Digest; } ///State transition - sets the `digest` field to Set pub struct SetDigest(PhantomData S>); impl sealed::Sealed for SetDigest {} impl State for SetDigest { type MediaType = S::MediaType; - type Repository = S::Repository; - type CreatedAt = S::CreatedAt; type SchemaVersion = S::SchemaVersion; + type CreatedAt = S::CreatedAt; type Digest = Set; + type Repository = S::Repository; + } + ///State transition - sets the `repository` field to Set + pub struct SetRepository(PhantomData S>); + impl sealed::Sealed for SetRepository {} + impl State for SetRepository { + type MediaType = S::MediaType; + type SchemaVersion = S::SchemaVersion; + type CreatedAt = S::CreatedAt; + type Digest = S::Digest; + type Repository = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `media_type` field pub struct media_type(()); - ///Marker type for the `repository` field - pub struct repository(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `schema_version` field pub struct schema_version(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `digest` field pub struct digest(()); + ///Marker type for the `repository` field + pub struct repository(()); } } @@ -1045,7 +1045,7 @@ pub struct ManifestBuilder<'a, S: manifest_state::State> { ::core::option::Option>>, ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option, ::core::option::Option>, @@ -1264,7 +1264,7 @@ where /// Set the `mediaType` field (required) pub fn media_type( mut self, - value: impl Into>, + value: impl Into>, ) -> ManifestBuilder<'a, manifest_state::SetMediaType> { self.__unsafe_private_named.9 = ::core::option::Option::Some(value.into()); ManifestBuilder { @@ -1336,10 +1336,10 @@ impl<'a, S> ManifestBuilder<'a, S> where S: manifest_state::State, S::MediaType: manifest_state::IsSet, - S::Repository: manifest_state::IsSet, - S::CreatedAt: manifest_state::IsSet, S::SchemaVersion: manifest_state::IsSet, + S::CreatedAt: manifest_state::IsSet, S::Digest: manifest_state::IsSet, + S::Repository: manifest_state::IsSet, { /// Build the final struct pub fn build(self) -> Manifest<'a> { @@ -1400,6 +1400,137 @@ impl<'a> Manifest<'a> { } } +/// OCI media type +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ManifestMediaType<'a> { + ApplicationVndOciImageManifestV1Json, + ApplicationVndDockerDistributionManifestV2Json, + ApplicationVndOciImageIndexV1Json, + ApplicationVndDockerDistributionManifestListV2Json, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ManifestMediaType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ApplicationVndOciImageManifestV1Json => { + "application/vnd.oci.image.manifest.v1+json" + } + Self::ApplicationVndDockerDistributionManifestV2Json => { + "application/vnd.docker.distribution.manifest.v2+json" + } + Self::ApplicationVndOciImageIndexV1Json => { + "application/vnd.oci.image.index.v1+json" + } + Self::ApplicationVndDockerDistributionManifestListV2Json => { + "application/vnd.docker.distribution.manifest.list.v2+json" + } + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ManifestMediaType<'a> { + fn from(s: &'a str) -> Self { + match s { + "application/vnd.oci.image.manifest.v1+json" => { + Self::ApplicationVndOciImageManifestV1Json + } + "application/vnd.docker.distribution.manifest.v2+json" => { + Self::ApplicationVndDockerDistributionManifestV2Json + } + "application/vnd.oci.image.index.v1+json" => { + Self::ApplicationVndOciImageIndexV1Json + } + "application/vnd.docker.distribution.manifest.list.v2+json" => { + Self::ApplicationVndDockerDistributionManifestListV2Json + } + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ManifestMediaType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "application/vnd.oci.image.manifest.v1+json" => { + Self::ApplicationVndOciImageManifestV1Json + } + "application/vnd.docker.distribution.manifest.v2+json" => { + Self::ApplicationVndDockerDistributionManifestV2Json + } + "application/vnd.oci.image.index.v1+json" => { + Self::ApplicationVndOciImageIndexV1Json + } + "application/vnd.docker.distribution.manifest.list.v2+json" => { + Self::ApplicationVndDockerDistributionManifestListV2Json + } + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ManifestMediaType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ManifestMediaType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ManifestMediaType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ManifestMediaType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ManifestMediaType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ManifestMediaType<'_> { + type Output = ManifestMediaType<'static>; + fn into_static(self) -> Self::Output { + match self { + ManifestMediaType::ApplicationVndOciImageManifestV1Json => { + ManifestMediaType::ApplicationVndOciImageManifestV1Json + } + ManifestMediaType::ApplicationVndDockerDistributionManifestV2Json => { + ManifestMediaType::ApplicationVndDockerDistributionManifestV2Json + } + ManifestMediaType::ApplicationVndOciImageIndexV1Json => { + ManifestMediaType::ApplicationVndOciImageIndexV1Json + } + ManifestMediaType::ApplicationVndDockerDistributionManifestListV2Json => { + ManifestMediaType::ApplicationVndDockerDistributionManifestListV2Json + } + ManifestMediaType::Other(v) => ManifestMediaType::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, @@ -1545,51 +1676,51 @@ pub mod manifest_reference_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type MediaType; type Size; type Digest; + type MediaType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type MediaType = Unset; type Size = Unset; type Digest = Unset; - } - ///State transition - sets the `media_type` field to Set - pub struct SetMediaType(PhantomData S>); - impl sealed::Sealed for SetMediaType {} - impl State for SetMediaType { - type MediaType = Set; - type Size = S::Size; - type Digest = S::Digest; + type MediaType = Unset; } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { - type MediaType = S::MediaType; type Size = Set; type Digest = S::Digest; + type MediaType = S::MediaType; } ///State transition - sets the `digest` field to Set pub struct SetDigest(PhantomData S>); impl sealed::Sealed for SetDigest {} impl State for SetDigest { - type MediaType = S::MediaType; type Size = S::Size; type Digest = Set; + type MediaType = S::MediaType; + } + ///State transition - sets the `media_type` field to Set + pub struct SetMediaType(PhantomData S>); + impl sealed::Sealed for SetMediaType {} + impl State for SetMediaType { + type Size = S::Size; + type Digest = S::Digest; + type MediaType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `media_type` field - pub struct media_type(()); ///Marker type for the `size` field pub struct size(()); ///Marker type for the `digest` field pub struct digest(()); + ///Marker type for the `media_type` field + pub struct media_type(()); } } @@ -1722,9 +1853,9 @@ where impl<'a, S> ManifestReferenceBuilder<'a, S> where S: manifest_reference_state::State, - S::MediaType: manifest_reference_state::IsSet, S::Size: manifest_reference_state::IsSet, S::Digest: manifest_reference_state::IsSet, + S::MediaType: manifest_reference_state::IsSet, { /// Build the final struct pub fn build(self) -> ManifestReference<'a> { diff --git a/crates/jacquard-api/src/io_atcr/sailor/star.rs b/crates/jacquard-api/src/io_atcr/sailor/star.rs index 920f3b7e..911038c8 100644 --- a/crates/jacquard-api/src/io_atcr/sailor/star.rs +++ b/crates/jacquard-api/src/io_atcr/sailor/star.rs @@ -35,37 +35,37 @@ pub mod star_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> StarBuilder<'a, S> where S: star_state::State, - S::Subject: star_state::IsSet, S::CreatedAt: star_state::IsSet, + S::Subject: star_state::IsSet, { /// Build the final struct pub fn build(self) -> Star<'a> { diff --git a/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs b/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs index 33883a95..4fa1c7e6 100644 --- a/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs +++ b/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs @@ -42,85 +42,85 @@ pub mod pin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type PlacedAt; type Longitude; + type Description; type Latitude; type Did; - type Description; - type PlacedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type PlacedAt = Unset; type Longitude = Unset; + type Description = Unset; type Latitude = Unset; type Did = Unset; - type Description = Unset; - type PlacedAt = Unset; + } + ///State transition - sets the `placed_at` field to Set + pub struct SetPlacedAt(PhantomData S>); + impl sealed::Sealed for SetPlacedAt {} + impl State for SetPlacedAt { + type PlacedAt = Set; + type Longitude = S::Longitude; + type Description = S::Description; + type Latitude = S::Latitude; + type Did = S::Did; } ///State transition - sets the `longitude` field to Set pub struct SetLongitude(PhantomData S>); impl sealed::Sealed for SetLongitude {} impl State for SetLongitude { + type PlacedAt = S::PlacedAt; type Longitude = Set; + type Description = S::Description; type Latitude = S::Latitude; type Did = S::Did; - type Description = S::Description; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { type PlacedAt = S::PlacedAt; + type Longitude = S::Longitude; + type Description = Set; + type Latitude = S::Latitude; + type Did = S::Did; } ///State transition - sets the `latitude` field to Set pub struct SetLatitude(PhantomData S>); impl sealed::Sealed for SetLatitude {} impl State for SetLatitude { + type PlacedAt = S::PlacedAt; type Longitude = S::Longitude; + type Description = S::Description; type Latitude = Set; type Did = S::Did; - type Description = S::Description; - type PlacedAt = S::PlacedAt; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Longitude = S::Longitude; - type Latitude = S::Latitude; - type Did = Set; - type Description = S::Description; - type PlacedAt = S::PlacedAt; - } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Longitude = S::Longitude; - type Latitude = S::Latitude; - type Did = S::Did; - type Description = Set; type PlacedAt = S::PlacedAt; - } - ///State transition - sets the `placed_at` field to Set - pub struct SetPlacedAt(PhantomData S>); - impl sealed::Sealed for SetPlacedAt {} - impl State for SetPlacedAt { type Longitude = S::Longitude; - type Latitude = S::Latitude; - type Did = S::Did; type Description = S::Description; - type PlacedAt = Set; + type Latitude = S::Latitude; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `placed_at` field + pub struct placed_at(()); ///Marker type for the `longitude` field pub struct longitude(()); + ///Marker type for the `description` field + pub struct description(()); ///Marker type for the `latitude` field pub struct latitude(()); ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `description` field - pub struct description(()); - ///Marker type for the `placed_at` field - pub struct placed_at(()); } } @@ -270,11 +270,11 @@ impl<'a, S: pin_state::State> PinBuilder<'a, S> { impl<'a, S> PinBuilder<'a, S> where S: pin_state::State, + S::PlacedAt: pin_state::IsSet, S::Longitude: pin_state::IsSet, + S::Description: pin_state::IsSet, S::Latitude: pin_state::IsSet, S::Did: pin_state::IsSet, - S::Description: pin_state::IsSet, - S::PlacedAt: pin_state::IsSet, { /// Build the final struct pub fn build(self) -> Pin<'a> { diff --git a/crates/jacquard-api/src/io_whiteside/linked_account.rs b/crates/jacquard-api/src/io_whiteside/linked_account.rs index 018f4072..7a0da018 100644 --- a/crates/jacquard-api/src/io_whiteside/linked_account.rs +++ b/crates/jacquard-api/src/io_whiteside/linked_account.rs @@ -42,49 +42,49 @@ pub mod linked_account_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Icon; + type Name; type Link; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Icon = Unset; + type Name = Unset; type Link = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Icon = S::Icon; - type Link = S::Link; - } ///State transition - sets the `icon` field to Set pub struct SetIcon(PhantomData S>); impl sealed::Sealed for SetIcon {} impl State for SetIcon { - type Name = S::Name; type Icon = Set; + type Name = S::Name; + type Link = S::Link; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Icon = S::Icon; + type Name = Set; type Link = S::Link; } ///State transition - sets the `link` field to Set pub struct SetLink(PhantomData S>); impl sealed::Sealed for SetLink {} impl State for SetLink { - type Name = S::Name; type Icon = S::Icon; + type Name = S::Name; type Link = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `icon` field pub struct icon(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `link` field pub struct link(()); } @@ -193,8 +193,8 @@ impl<'a, S: linked_account_state::State> LinkedAccountBuilder<'a, S> { impl<'a, S> LinkedAccountBuilder<'a, S> where S: linked_account_state::State, - S::Name: linked_account_state::IsSet, S::Icon: linked_account_state::IsSet, + S::Name: linked_account_state::IsSet, S::Link: linked_account_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/lib.rs b/crates/jacquard-api/src/lib.rs index b63a10ed..9839dfd3 100644 --- a/crates/jacquard-api/src/lib.rs +++ b/crates/jacquard-api/src/lib.rs @@ -206,6 +206,9 @@ pub mod site_standard; #[cfg(feature = "social_clippr")] pub mod social_clippr; +#[cfg(feature = "social_flockfeeds")] +pub mod social_flockfeeds; + #[cfg(feature = "social_grain")] pub mod social_grain; @@ -243,4 +246,4 @@ pub mod us_polhem; pub mod win_tomo_x; #[cfg(feature = "xyz_atpoke")] -pub mod xyz_atpoke; +pub mod xyz_atpoke; \ No newline at end of file diff --git a/crates/jacquard-api/src/link_bridgebeats/lookup.rs b/crates/jacquard-api/src/link_bridgebeats/lookup.rs index 4e620c02..7bbad3ea 100644 --- a/crates/jacquard-api/src/link_bridgebeats/lookup.rs +++ b/crates/jacquard-api/src/link_bridgebeats/lookup.rs @@ -35,37 +35,37 @@ pub mod lookup_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Results; type LookedUpAt; + type Results; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Results = Unset; type LookedUpAt = Unset; - } - ///State transition - sets the `results` field to Set - pub struct SetResults(PhantomData S>); - impl sealed::Sealed for SetResults {} - impl State for SetResults { - type Results = Set; - type LookedUpAt = S::LookedUpAt; + type Results = Unset; } ///State transition - sets the `looked_up_at` field to Set pub struct SetLookedUpAt(PhantomData S>); impl sealed::Sealed for SetLookedUpAt {} impl State for SetLookedUpAt { - type Results = S::Results; type LookedUpAt = Set; + type Results = S::Results; + } + ///State transition - sets the `results` field to Set + pub struct SetResults(PhantomData S>); + impl sealed::Sealed for SetResults {} + impl State for SetResults { + type LookedUpAt = S::LookedUpAt; + type Results = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `results` field - pub struct results(()); ///Marker type for the `looked_up_at` field pub struct looked_up_at(()); + ///Marker type for the `results` field + pub struct results(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> LookupBuilder<'a, S> where S: lookup_state::State, - S::Results: lookup_state::IsSet, S::LookedUpAt: lookup_state::IsSet, + S::Results: lookup_state::IsSet, { /// Build the final struct pub fn build(self) -> Lookup<'a> { @@ -576,85 +576,85 @@ pub mod provider_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; + type Artist; type Provider; - type MarketRegion; type Title; - type Artist; + type MarketRegion; + type Url; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; + type Artist = Unset; type Provider = Unset; - type MarketRegion = Unset; type Title = Unset; - type Artist = Unset; + type MarketRegion = Unset; + type Url = Unset; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; + ///State transition - sets the `artist` field to Set + pub struct SetArtist(PhantomData S>); + impl sealed::Sealed for SetArtist {} + impl State for SetArtist { + type Artist = Set; type Provider = S::Provider; - type MarketRegion = S::MarketRegion; type Title = S::Title; - type Artist = S::Artist; + type MarketRegion = S::MarketRegion; + type Url = S::Url; } ///State transition - sets the `provider` field to Set pub struct SetProvider(PhantomData S>); impl sealed::Sealed for SetProvider {} impl State for SetProvider { - type Url = S::Url; + type Artist = S::Artist; type Provider = Set; - type MarketRegion = S::MarketRegion; type Title = S::Title; - type Artist = S::Artist; - } - ///State transition - sets the `market_region` field to Set - pub struct SetMarketRegion(PhantomData S>); - impl sealed::Sealed for SetMarketRegion {} - impl State for SetMarketRegion { + type MarketRegion = S::MarketRegion; type Url = S::Url; - type Provider = S::Provider; - type MarketRegion = Set; - type Title = S::Title; - type Artist = S::Artist; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Url = S::Url; + type Artist = S::Artist; type Provider = S::Provider; - type MarketRegion = S::MarketRegion; type Title = Set; - type Artist = S::Artist; + type MarketRegion = S::MarketRegion; + type Url = S::Url; } - ///State transition - sets the `artist` field to Set - pub struct SetArtist(PhantomData S>); - impl sealed::Sealed for SetArtist {} - impl State for SetArtist { + ///State transition - sets the `market_region` field to Set + pub struct SetMarketRegion(PhantomData S>); + impl sealed::Sealed for SetMarketRegion {} + impl State for SetMarketRegion { + type Artist = S::Artist; + type Provider = S::Provider; + type Title = S::Title; + type MarketRegion = Set; type Url = S::Url; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Artist = S::Artist; type Provider = S::Provider; - type MarketRegion = S::MarketRegion; type Title = S::Title; - type Artist = Set; + type MarketRegion = S::MarketRegion; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); + ///Marker type for the `artist` field + pub struct artist(()); ///Marker type for the `provider` field pub struct provider(()); - ///Marker type for the `market_region` field - pub struct market_region(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `artist` field - pub struct artist(()); + ///Marker type for the `market_region` field + pub struct market_region(()); + ///Marker type for the `url` field + pub struct url(()); } } @@ -841,11 +841,11 @@ where impl<'a, S> ProviderResultBuilder<'a, S> where S: provider_result_state::State, - S::Url: provider_result_state::IsSet, + S::Artist: provider_result_state::IsSet, S::Provider: provider_result_state::IsSet, - S::MarketRegion: provider_result_state::IsSet, S::Title: provider_result_state::IsSet, - S::Artist: provider_result_state::IsSet, + S::MarketRegion: provider_result_state::IsSet, + S::Url: provider_result_state::IsSet, { /// Build the final struct pub fn build(self) -> ProviderResult<'a> { diff --git a/crates/jacquard-api/src/my_skylights.rs b/crates/jacquard-api/src/my_skylights.rs index ae6c3333..bf8d85fd 100644 --- a/crates/jacquard-api/src/my_skylights.rs +++ b/crates/jacquard-api/src/my_skylights.rs @@ -23,11 +23,104 @@ pub mod rel; #[serde(rename_all = "camelCase")] pub struct Item<'a> { #[serde(borrow)] - pub r#ref: jacquard_common::CowStr<'a>, + pub r#ref: ItemRef<'a>, #[serde(borrow)] pub value: jacquard_common::CowStr<'a>, } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ItemRef<'a> { + OpenLibrary, + TmdbM, + TmdbS, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ItemRef<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::OpenLibrary => "open-library", + Self::TmdbM => "tmdb:m", + Self::TmdbS => "tmdb:s", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ItemRef<'a> { + fn from(s: &'a str) -> Self { + match s { + "open-library" => Self::OpenLibrary, + "tmdb:m" => Self::TmdbM, + "tmdb:s" => Self::TmdbS, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ItemRef<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "open-library" => Self::OpenLibrary, + "tmdb:m" => Self::TmdbM, + "tmdb:s" => Self::TmdbS, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ItemRef<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ItemRef<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ItemRef<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ItemRef<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ItemRef<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ItemRef<'_> { + type Output = ItemRef<'static>; + fn into_static(self) -> Self::Output { + match self { + ItemRef::OpenLibrary => ItemRef::OpenLibrary, + ItemRef::TmdbM => ItemRef::TmdbM, + ItemRef::TmdbS => ItemRef::TmdbS, + ItemRef::Other(v) => ItemRef::Other(v.into_static()), + } + } +} + fn lexicon_doc_my_skylights_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, diff --git a/crates/jacquard-api/src/my_skylights/list.rs b/crates/jacquard-api/src/my_skylights/list.rs index d43b2acf..e96c5739 100644 --- a/crates/jacquard-api/src/my_skylights/list.rs +++ b/crates/jacquard-api/src/my_skylights/list.rs @@ -25,11 +25,99 @@ pub struct List<'a> { pub description: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub sort_by: std::option::Option>, + pub sort_by: std::option::Option>, #[serde(borrow)] pub title: jacquard_common::CowStr<'a>, } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ListSortBy<'a> { + Position, + Date, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ListSortBy<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Position => "position", + Self::Date => "date", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ListSortBy<'a> { + fn from(s: &'a str) -> Self { + match s { + "position" => Self::Position, + "date" => Self::Date, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ListSortBy<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "position" => Self::Position, + "date" => Self::Date, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ListSortBy<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ListSortBy<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ListSortBy<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ListSortBy<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ListSortBy<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ListSortBy<'_> { + type Output = ListSortBy<'static>; + fn into_static(self) -> Self::Output { + match self { + ListSortBy::Position => ListSortBy::Position, + ListSortBy::Date => ListSortBy::Date, + ListSortBy::Other(v) => ListSortBy::Other(v.into_static()), + } + } +} + fn lexicon_doc_my_skylights_list() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, diff --git a/crates/jacquard-api/src/my_skylights/list_item.rs b/crates/jacquard-api/src/my_skylights/list_item.rs index 9ad618e7..5c24662f 100644 --- a/crates/jacquard-api/src/my_skylights/list_item.rs +++ b/crates/jacquard-api/src/my_skylights/list_item.rs @@ -294,51 +294,51 @@ pub mod list_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Position; type List; type AddedAt; + type Position; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Position = Unset; type List = Unset; type AddedAt = Unset; - } - ///State transition - sets the `position` field to Set - pub struct SetPosition(PhantomData S>); - impl sealed::Sealed for SetPosition {} - impl State for SetPosition { - type Position = Set; - type List = S::List; - type AddedAt = S::AddedAt; + type Position = Unset; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { - type Position = S::Position; type List = Set; type AddedAt = S::AddedAt; + type Position = S::Position; } ///State transition - sets the `added_at` field to Set pub struct SetAddedAt(PhantomData S>); impl sealed::Sealed for SetAddedAt {} impl State for SetAddedAt { - type Position = S::Position; type List = S::List; type AddedAt = Set; + type Position = S::Position; + } + ///State transition - sets the `position` field to Set + pub struct SetPosition(PhantomData S>); + impl sealed::Sealed for SetPosition {} + impl State for SetPosition { + type List = S::List; + type AddedAt = S::AddedAt; + type Position = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `position` field - pub struct position(()); ///Marker type for the `list` field pub struct list(()); ///Marker type for the `added_at` field pub struct added_at(()); + ///Marker type for the `position` field + pub struct position(()); } } @@ -465,9 +465,9 @@ where impl<'a, S> ListItemBuilder<'a, S> where S: list_item_state::State, - S::Position: list_item_state::IsSet, S::List: list_item_state::IsSet, S::AddedAt: list_item_state::IsSet, + S::Position: list_item_state::IsSet, { /// Build the final struct pub fn build(self) -> ListItem<'a> { diff --git a/crates/jacquard-api/src/my_skylights/rel.rs b/crates/jacquard-api/src/my_skylights/rel.rs index 2d09ff3f..d664b65a 100644 --- a/crates/jacquard-api/src/my_skylights/rel.rs +++ b/crates/jacquard-api/src/my_skylights/rel.rs @@ -717,37 +717,37 @@ pub mod rating_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Value; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Value = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Value = S::Value; + type CreatedAt = Unset; } ///State transition - sets the `value` field to Set pub struct SetValue(PhantomData S>); impl sealed::Sealed for SetValue {} impl State for SetValue { - type CreatedAt = S::CreatedAt; type Value = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Value = S::Value; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `value` field pub struct value(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -820,8 +820,8 @@ where impl<'a, S> RatingBuilder<'a, S> where S: rating_state::State, - S::CreatedAt: rating_state::IsSet, S::Value: rating_state::IsSet, + S::CreatedAt: rating_state::IsSet, { /// Build the final struct pub fn build(self) -> Rating<'a> { diff --git a/crates/jacquard-api/src/net_altq/aqfile.rs b/crates/jacquard-api/src/net_altq/aqfile.rs index 2e645b53..386d38c1 100644 --- a/crates/jacquard-api/src/net_altq/aqfile.rs +++ b/crates/jacquard-api/src/net_altq/aqfile.rs @@ -21,12 +21,106 @@ pub struct Checksum<'a> { /// Hash algorithm name. #[serde(borrow)] - pub algo: jacquard_common::CowStr<'a>, + pub algo: ChecksumAlgo<'a>, /// Hex or base64 encoded digest produced by the algorithm. #[serde(borrow)] pub hash: jacquard_common::CowStr<'a>, } +/// Hash algorithm name. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ChecksumAlgo<'a> { + Sha256, + Sha512, + Blake3, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ChecksumAlgo<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Sha256 => "sha256", + Self::Sha512 => "sha512", + Self::Blake3 => "blake3", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ChecksumAlgo<'a> { + fn from(s: &'a str) -> Self { + match s { + "sha256" => Self::Sha256, + "sha512" => Self::Sha512, + "blake3" => Self::Blake3, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ChecksumAlgo<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "sha256" => Self::Sha256, + "sha512" => Self::Sha512, + "blake3" => Self::Blake3, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ChecksumAlgo<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ChecksumAlgo<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ChecksumAlgo<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ChecksumAlgo<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ChecksumAlgo<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ChecksumAlgo<'_> { + type Output = ChecksumAlgo<'static>; + fn into_static(self) -> Self::Output { + match self { + ChecksumAlgo::Sha256 => ChecksumAlgo::Sha256, + ChecksumAlgo::Sha512 => ChecksumAlgo::Sha512, + ChecksumAlgo::Blake3 => ChecksumAlgo::Blake3, + ChecksumAlgo::Other(v) => ChecksumAlgo::Other(v.into_static()), + } + } +} + fn lexicon_doc_net_altq_aqfile() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, @@ -654,51 +748,51 @@ pub mod aqfile_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blob; type File; type CreatedAt; + type Blob; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blob = Unset; type File = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `blob` field to Set - pub struct SetBlob(PhantomData S>); - impl sealed::Sealed for SetBlob {} - impl State for SetBlob { - type Blob = Set; - type File = S::File; - type CreatedAt = S::CreatedAt; + type Blob = Unset; } ///State transition - sets the `file` field to Set pub struct SetFile(PhantomData S>); impl sealed::Sealed for SetFile {} impl State for SetFile { - type Blob = S::Blob; type File = Set; type CreatedAt = S::CreatedAt; + type Blob = S::Blob; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Blob = S::Blob; type File = S::File; type CreatedAt = Set; + type Blob = S::Blob; + } + ///State transition - sets the `blob` field to Set + pub struct SetBlob(PhantomData S>); + impl sealed::Sealed for SetBlob {} + impl State for SetBlob { + type File = S::File; + type CreatedAt = S::CreatedAt; + type Blob = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blob` field - pub struct blob(()); ///Marker type for the `file` field pub struct file(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `blob` field + pub struct blob(()); } } @@ -831,9 +925,9 @@ where impl<'a, S> AqfileBuilder<'a, S> where S: aqfile_state::State, - S::Blob: aqfile_state::IsSet, S::File: aqfile_state::IsSet, S::CreatedAt: aqfile_state::IsSet, + S::Blob: aqfile_state::IsSet, { /// Build the final struct pub fn build(self) -> Aqfile<'a> { diff --git a/crates/jacquard-api/src/net_anisota/beta/game/collection.rs b/crates/jacquard-api/src/net_anisota/beta/game/collection.rs index 48d87a21..e007ce31 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/collection.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/collection.rs @@ -91,8 +91,8 @@ pub mod collection_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SpecimenId; type AcquiredAt; + type SpecimenId; type CreatedAt; type Quantity; } @@ -100,26 +100,26 @@ pub mod collection_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SpecimenId = Unset; type AcquiredAt = Unset; + type SpecimenId = Unset; type CreatedAt = Unset; type Quantity = Unset; } - ///State transition - sets the `specimen_id` field to Set - pub struct SetSpecimenId(PhantomData S>); - impl sealed::Sealed for SetSpecimenId {} - impl State for SetSpecimenId { - type SpecimenId = Set; - type AcquiredAt = S::AcquiredAt; - type CreatedAt = S::CreatedAt; - type Quantity = S::Quantity; - } ///State transition - sets the `acquired_at` field to Set pub struct SetAcquiredAt(PhantomData S>); impl sealed::Sealed for SetAcquiredAt {} impl State for SetAcquiredAt { - type SpecimenId = S::SpecimenId; type AcquiredAt = Set; + type SpecimenId = S::SpecimenId; + type CreatedAt = S::CreatedAt; + type Quantity = S::Quantity; + } + ///State transition - sets the `specimen_id` field to Set + pub struct SetSpecimenId(PhantomData S>); + impl sealed::Sealed for SetSpecimenId {} + impl State for SetSpecimenId { + type AcquiredAt = S::AcquiredAt; + type SpecimenId = Set; type CreatedAt = S::CreatedAt; type Quantity = S::Quantity; } @@ -127,8 +127,8 @@ pub mod collection_state { pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type SpecimenId = S::SpecimenId; type AcquiredAt = S::AcquiredAt; + type SpecimenId = S::SpecimenId; type CreatedAt = Set; type Quantity = S::Quantity; } @@ -136,18 +136,18 @@ pub mod collection_state { pub struct SetQuantity(PhantomData S>); impl sealed::Sealed for SetQuantity {} impl State for SetQuantity { - type SpecimenId = S::SpecimenId; type AcquiredAt = S::AcquiredAt; + type SpecimenId = S::SpecimenId; type CreatedAt = S::CreatedAt; type Quantity = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `specimen_id` field - pub struct specimen_id(()); ///Marker type for the `acquired_at` field pub struct acquired_at(()); + ///Marker type for the `specimen_id` field + pub struct specimen_id(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `quantity` field @@ -532,8 +532,8 @@ impl<'a, S: collection_state::State> CollectionBuilder<'a, S> { impl<'a, S> CollectionBuilder<'a, S> where S: collection_state::State, - S::SpecimenId: collection_state::IsSet, S::AcquiredAt: collection_state::IsSet, + S::SpecimenId: collection_state::IsSet, S::CreatedAt: collection_state::IsSet, S::Quantity: collection_state::IsSet, { diff --git a/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs b/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs index 9bcd6fc5..b97ca4e8 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs @@ -80,67 +80,67 @@ pub mod inventory_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ItemId; - type Quantity; - type CreatedAt; type AcquiredAt; + type CreatedAt; + type Quantity; + type ItemId; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ItemId = Unset; - type Quantity = Unset; - type CreatedAt = Unset; type AcquiredAt = Unset; + type CreatedAt = Unset; + type Quantity = Unset; + type ItemId = Unset; } - ///State transition - sets the `item_id` field to Set - pub struct SetItemId(PhantomData S>); - impl sealed::Sealed for SetItemId {} - impl State for SetItemId { - type ItemId = Set; - type Quantity = S::Quantity; + ///State transition - sets the `acquired_at` field to Set + pub struct SetAcquiredAt(PhantomData S>); + impl sealed::Sealed for SetAcquiredAt {} + impl State for SetAcquiredAt { + type AcquiredAt = Set; type CreatedAt = S::CreatedAt; - type AcquiredAt = S::AcquiredAt; - } - ///State transition - sets the `quantity` field to Set - pub struct SetQuantity(PhantomData S>); - impl sealed::Sealed for SetQuantity {} - impl State for SetQuantity { + type Quantity = S::Quantity; type ItemId = S::ItemId; - type Quantity = Set; - type CreatedAt = S::CreatedAt; - type AcquiredAt = S::AcquiredAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ItemId = S::ItemId; - type Quantity = S::Quantity; - type CreatedAt = Set; type AcquiredAt = S::AcquiredAt; + type CreatedAt = Set; + type Quantity = S::Quantity; + type ItemId = S::ItemId; } - ///State transition - sets the `acquired_at` field to Set - pub struct SetAcquiredAt(PhantomData S>); - impl sealed::Sealed for SetAcquiredAt {} - impl State for SetAcquiredAt { + ///State transition - sets the `quantity` field to Set + pub struct SetQuantity(PhantomData S>); + impl sealed::Sealed for SetQuantity {} + impl State for SetQuantity { + type AcquiredAt = S::AcquiredAt; + type CreatedAt = S::CreatedAt; + type Quantity = Set; type ItemId = S::ItemId; - type Quantity = S::Quantity; + } + ///State transition - sets the `item_id` field to Set + pub struct SetItemId(PhantomData S>); + impl sealed::Sealed for SetItemId {} + impl State for SetItemId { + type AcquiredAt = S::AcquiredAt; type CreatedAt = S::CreatedAt; - type AcquiredAt = Set; + type Quantity = S::Quantity; + type ItemId = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `item_id` field - pub struct item_id(()); - ///Marker type for the `quantity` field - pub struct quantity(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `acquired_at` field pub struct acquired_at(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `quantity` field + pub struct quantity(()); + ///Marker type for the `item_id` field + pub struct item_id(()); } } @@ -469,10 +469,10 @@ impl<'a, S: inventory_state::State> InventoryBuilder<'a, S> { impl<'a, S> InventoryBuilder<'a, S> where S: inventory_state::State, - S::ItemId: inventory_state::IsSet, - S::Quantity: inventory_state::IsSet, - S::CreatedAt: inventory_state::IsSet, S::AcquiredAt: inventory_state::IsSet, + S::CreatedAt: inventory_state::IsSet, + S::Quantity: inventory_state::IsSet, + S::ItemId: inventory_state::IsSet, { /// Build the final struct pub fn build(self) -> Inventory<'a> { diff --git a/crates/jacquard-api/src/net_anisota/beta/game/pack.rs b/crates/jacquard-api/src/net_anisota/beta/game/pack.rs index 8149e8d5..466cf69f 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/pack.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/pack.rs @@ -50,67 +50,67 @@ pub mod pack_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type TotalOpens; - type LastOpenTime; type Streak; + type CreatedAt; + type LastOpenTime; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type TotalOpens = Unset; - type LastOpenTime = Unset; type Streak = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type TotalOpens = S::TotalOpens; - type LastOpenTime = S::LastOpenTime; - type Streak = S::Streak; + type CreatedAt = Unset; + type LastOpenTime = Unset; } ///State transition - sets the `total_opens` field to Set pub struct SetTotalOpens(PhantomData S>); impl sealed::Sealed for SetTotalOpens {} impl State for SetTotalOpens { - type CreatedAt = S::CreatedAt; type TotalOpens = Set; - type LastOpenTime = S::LastOpenTime; type Streak = S::Streak; - } - ///State transition - sets the `last_open_time` field to Set - pub struct SetLastOpenTime(PhantomData S>); - impl sealed::Sealed for SetLastOpenTime {} - impl State for SetLastOpenTime { type CreatedAt = S::CreatedAt; - type TotalOpens = S::TotalOpens; - type LastOpenTime = Set; - type Streak = S::Streak; + type LastOpenTime = S::LastOpenTime; } ///State transition - sets the `streak` field to Set pub struct SetStreak(PhantomData S>); impl sealed::Sealed for SetStreak {} impl State for SetStreak { + type TotalOpens = S::TotalOpens; + type Streak = Set; type CreatedAt = S::CreatedAt; + type LastOpenTime = S::LastOpenTime; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type TotalOpens = S::TotalOpens; + type Streak = S::Streak; + type CreatedAt = Set; type LastOpenTime = S::LastOpenTime; - type Streak = Set; + } + ///State transition - sets the `last_open_time` field to Set + pub struct SetLastOpenTime(PhantomData S>); + impl sealed::Sealed for SetLastOpenTime {} + impl State for SetLastOpenTime { + type TotalOpens = S::TotalOpens; + type Streak = S::Streak; + type CreatedAt = S::CreatedAt; + type LastOpenTime = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `total_opens` field pub struct total_opens(()); - ///Marker type for the `last_open_time` field - pub struct last_open_time(()); ///Marker type for the `streak` field pub struct streak(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `last_open_time` field + pub struct last_open_time(()); } } @@ -281,10 +281,10 @@ where impl<'a, S> PackBuilder<'a, S> where S: pack_state::State, - S::CreatedAt: pack_state::IsSet, S::TotalOpens: pack_state::IsSet, - S::LastOpenTime: pack_state::IsSet, S::Streak: pack_state::IsSet, + S::CreatedAt: pack_state::IsSet, + S::LastOpenTime: pack_state::IsSet, { /// Build the final struct pub fn build(self) -> Pack<'a> { diff --git a/crates/jacquard-api/src/net_anisota/beta/game/progress.rs b/crates/jacquard-api/src/net_anisota/beta/game/progress.rs index 51fad6ba..3f8d684f 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/progress.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/progress.rs @@ -79,85 +79,85 @@ pub mod progress_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type XpToNextLevel; type Level; - type CreatedAt; type TotalXp; type ProgressPercentage; + type XpToNextLevel; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type XpToNextLevel = Unset; type Level = Unset; - type CreatedAt = Unset; type TotalXp = Unset; type ProgressPercentage = Unset; - } - ///State transition - sets the `xp_to_next_level` field to Set - pub struct SetXpToNextLevel(PhantomData S>); - impl sealed::Sealed for SetXpToNextLevel {} - impl State for SetXpToNextLevel { - type XpToNextLevel = Set; - type Level = S::Level; - type CreatedAt = S::CreatedAt; - type TotalXp = S::TotalXp; - type ProgressPercentage = S::ProgressPercentage; + type XpToNextLevel = Unset; + type CreatedAt = Unset; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type XpToNextLevel = S::XpToNextLevel; type Level = Set; - type CreatedAt = S::CreatedAt; type TotalXp = S::TotalXp; type ProgressPercentage = S::ProgressPercentage; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type XpToNextLevel = S::XpToNextLevel; - type Level = S::Level; - type CreatedAt = Set; - type TotalXp = S::TotalXp; - type ProgressPercentage = S::ProgressPercentage; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `total_xp` field to Set pub struct SetTotalXp(PhantomData S>); impl sealed::Sealed for SetTotalXp {} impl State for SetTotalXp { - type XpToNextLevel = S::XpToNextLevel; type Level = S::Level; - type CreatedAt = S::CreatedAt; type TotalXp = Set; type ProgressPercentage = S::ProgressPercentage; + type XpToNextLevel = S::XpToNextLevel; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `progress_percentage` field to Set pub struct SetProgressPercentage(PhantomData S>); impl sealed::Sealed for SetProgressPercentage {} impl State for SetProgressPercentage { + type Level = S::Level; + type TotalXp = S::TotalXp; + type ProgressPercentage = Set; type XpToNextLevel = S::XpToNextLevel; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `xp_to_next_level` field to Set + pub struct SetXpToNextLevel(PhantomData S>); + impl sealed::Sealed for SetXpToNextLevel {} + impl State for SetXpToNextLevel { type Level = S::Level; + type TotalXp = S::TotalXp; + type ProgressPercentage = S::ProgressPercentage; + type XpToNextLevel = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Level = S::Level; type TotalXp = S::TotalXp; - type ProgressPercentage = Set; + type ProgressPercentage = S::ProgressPercentage; + type XpToNextLevel = S::XpToNextLevel; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `xp_to_next_level` field - pub struct xp_to_next_level(()); ///Marker type for the `level` field pub struct level(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `total_xp` field pub struct total_xp(()); ///Marker type for the `progress_percentage` field pub struct progress_percentage(()); + ///Marker type for the `xp_to_next_level` field + pub struct xp_to_next_level(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -491,11 +491,11 @@ where impl<'a, S> ProgressBuilder<'a, S> where S: progress_state::State, - S::XpToNextLevel: progress_state::IsSet, S::Level: progress_state::IsSet, - S::CreatedAt: progress_state::IsSet, S::TotalXp: progress_state::IsSet, S::ProgressPercentage: progress_state::IsSet, + S::XpToNextLevel: progress_state::IsSet, + S::CreatedAt: progress_state::IsSet, { /// Build the final struct pub fn build(self) -> Progress<'a> { diff --git a/crates/jacquard-api/src/net_anisota/beta/game/session.rs b/crates/jacquard-api/src/net_anisota/beta/game/session.rs index 58ae4c61..9bb3fd08 100644 --- a/crates/jacquard-api/src/net_anisota/beta/game/session.rs +++ b/crates/jacquard-api/src/net_anisota/beta/game/session.rs @@ -1080,67 +1080,67 @@ pub mod session_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type ClientVersion; type Platform; type StartedAt; type Status; - type ClientVersion; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type ClientVersion = Unset; type Platform = Unset; type StartedAt = Unset; type Status = Unset; - type ClientVersion = Unset; + } + ///State transition - sets the `client_version` field to Set + pub struct SetClientVersion(PhantomData S>); + impl sealed::Sealed for SetClientVersion {} + impl State for SetClientVersion { + type ClientVersion = Set; + type Platform = S::Platform; + type StartedAt = S::StartedAt; + type Status = S::Status; } ///State transition - sets the `platform` field to Set pub struct SetPlatform(PhantomData S>); impl sealed::Sealed for SetPlatform {} impl State for SetPlatform { + type ClientVersion = S::ClientVersion; type Platform = Set; type StartedAt = S::StartedAt; type Status = S::Status; - type ClientVersion = S::ClientVersion; } ///State transition - sets the `started_at` field to Set pub struct SetStartedAt(PhantomData S>); impl sealed::Sealed for SetStartedAt {} impl State for SetStartedAt { + type ClientVersion = S::ClientVersion; type Platform = S::Platform; type StartedAt = Set; type Status = S::Status; - type ClientVersion = S::ClientVersion; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type Platform = S::Platform; - type StartedAt = S::StartedAt; - type Status = Set; type ClientVersion = S::ClientVersion; - } - ///State transition - sets the `client_version` field to Set - pub struct SetClientVersion(PhantomData S>); - impl sealed::Sealed for SetClientVersion {} - impl State for SetClientVersion { type Platform = S::Platform; type StartedAt = S::StartedAt; - type Status = S::Status; - type ClientVersion = Set; + type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `client_version` field + pub struct client_version(()); ///Marker type for the `platform` field pub struct platform(()); ///Marker type for the `started_at` field pub struct started_at(()); ///Marker type for the `status` field pub struct status(()); - ///Marker type for the `client_version` field - pub struct client_version(()); } } @@ -1533,10 +1533,10 @@ impl<'a, S: session_state::State> SessionBuilder<'a, S> { impl<'a, S> SessionBuilder<'a, S> where S: session_state::State, + S::ClientVersion: session_state::IsSet, S::Platform: session_state::IsSet, S::StartedAt: session_state::IsSet, S::Status: session_state::IsSet, - S::ClientVersion: session_state::IsSet, { /// Build the final struct pub fn build(self) -> Session<'a> { diff --git a/crates/jacquard-api/src/net_anisota/feed/list.rs b/crates/jacquard-api/src/net_anisota/feed/list.rs index 04140f2a..1872b6e6 100644 --- a/crates/jacquard-api/src/net_anisota/feed/list.rs +++ b/crates/jacquard-api/src/net_anisota/feed/list.rs @@ -47,37 +47,37 @@ pub mod list_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -210,8 +210,8 @@ impl<'a, S: list_state::State> ListBuilder<'a, S> { impl<'a, S> ListBuilder<'a, S> where S: list_state::State, - S::Name: list_state::IsSet, S::CreatedAt: list_state::IsSet, + S::Name: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { diff --git a/crates/jacquard-api/src/net_anisota/graph/list_mute.rs b/crates/jacquard-api/src/net_anisota/graph/list_mute.rs index 7dcde0a8..bca10163 100644 --- a/crates/jacquard-api/src/net_anisota/graph/list_mute.rs +++ b/crates/jacquard-api/src/net_anisota/graph/list_mute.rs @@ -314,37 +314,37 @@ pub mod list_mute_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -494,8 +494,8 @@ impl<'a, S: list_mute_state::State> ListMuteBuilder<'a, S> { impl<'a, S> ListMuteBuilder<'a, S> where S: list_mute_state::State, - S::CreatedAt: list_mute_state::IsSet, S::Subject: list_mute_state::IsSet, + S::CreatedAt: list_mute_state::IsSet, { /// Build the final struct pub fn build(self) -> ListMute<'a> { diff --git a/crates/jacquard-api/src/net_anisota/graph/mute.rs b/crates/jacquard-api/src/net_anisota/graph/mute.rs index 35ac00ad..3d3d4e91 100644 --- a/crates/jacquard-api/src/net_anisota/graph/mute.rs +++ b/crates/jacquard-api/src/net_anisota/graph/mute.rs @@ -314,37 +314,37 @@ pub mod mute_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -494,8 +494,8 @@ impl<'a, S: mute_state::State> MuteBuilder<'a, S> { impl<'a, S> MuteBuilder<'a, S> where S: mute_state::State, - S::CreatedAt: mute_state::IsSet, S::Subject: mute_state::IsSet, + S::CreatedAt: mute_state::IsSet, { /// Build the final struct pub fn build(self) -> Mute<'a> { diff --git a/crates/jacquard-api/src/net_anisota/harvest/minigame.rs b/crates/jacquard-api/src/net_anisota/harvest/minigame.rs index e27af52c..10ec9d44 100644 --- a/crates/jacquard-api/src/net_anisota/harvest/minigame.rs +++ b/crates/jacquard-api/src/net_anisota/harvest/minigame.rs @@ -80,83 +80,83 @@ pub mod minigame_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type RoundDuration; type PlayedAt; - type GameContext; + type RoundDuration; type FinalScore; + type GameContext; type ShapesCollected; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type RoundDuration = Unset; type PlayedAt = Unset; - type GameContext = Unset; + type RoundDuration = Unset; type FinalScore = Unset; + type GameContext = Unset; type ShapesCollected = Unset; } - ///State transition - sets the `round_duration` field to Set - pub struct SetRoundDuration(PhantomData S>); - impl sealed::Sealed for SetRoundDuration {} - impl State for SetRoundDuration { - type RoundDuration = Set; - type PlayedAt = S::PlayedAt; - type GameContext = S::GameContext; - type FinalScore = S::FinalScore; - type ShapesCollected = S::ShapesCollected; - } ///State transition - sets the `played_at` field to Set pub struct SetPlayedAt(PhantomData S>); impl sealed::Sealed for SetPlayedAt {} impl State for SetPlayedAt { - type RoundDuration = S::RoundDuration; type PlayedAt = Set; - type GameContext = S::GameContext; + type RoundDuration = S::RoundDuration; type FinalScore = S::FinalScore; + type GameContext = S::GameContext; type ShapesCollected = S::ShapesCollected; } - ///State transition - sets the `game_context` field to Set - pub struct SetGameContext(PhantomData S>); - impl sealed::Sealed for SetGameContext {} - impl State for SetGameContext { - type RoundDuration = S::RoundDuration; + ///State transition - sets the `round_duration` field to Set + pub struct SetRoundDuration(PhantomData S>); + impl sealed::Sealed for SetRoundDuration {} + impl State for SetRoundDuration { type PlayedAt = S::PlayedAt; - type GameContext = Set; + type RoundDuration = Set; type FinalScore = S::FinalScore; + type GameContext = S::GameContext; type ShapesCollected = S::ShapesCollected; } ///State transition - sets the `final_score` field to Set pub struct SetFinalScore(PhantomData S>); impl sealed::Sealed for SetFinalScore {} impl State for SetFinalScore { - type RoundDuration = S::RoundDuration; type PlayedAt = S::PlayedAt; - type GameContext = S::GameContext; + type RoundDuration = S::RoundDuration; type FinalScore = Set; + type GameContext = S::GameContext; + type ShapesCollected = S::ShapesCollected; + } + ///State transition - sets the `game_context` field to Set + pub struct SetGameContext(PhantomData S>); + impl sealed::Sealed for SetGameContext {} + impl State for SetGameContext { + type PlayedAt = S::PlayedAt; + type RoundDuration = S::RoundDuration; + type FinalScore = S::FinalScore; + type GameContext = Set; type ShapesCollected = S::ShapesCollected; } ///State transition - sets the `shapes_collected` field to Set pub struct SetShapesCollected(PhantomData S>); impl sealed::Sealed for SetShapesCollected {} impl State for SetShapesCollected { - type RoundDuration = S::RoundDuration; type PlayedAt = S::PlayedAt; - type GameContext = S::GameContext; + type RoundDuration = S::RoundDuration; type FinalScore = S::FinalScore; + type GameContext = S::GameContext; type ShapesCollected = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `round_duration` field - pub struct round_duration(()); ///Marker type for the `played_at` field pub struct played_at(()); - ///Marker type for the `game_context` field - pub struct game_context(()); + ///Marker type for the `round_duration` field + pub struct round_duration(()); ///Marker type for the `final_score` field pub struct final_score(()); + ///Marker type for the `game_context` field + pub struct game_context(()); ///Marker type for the `shapes_collected` field pub struct shapes_collected(()); } @@ -499,10 +499,10 @@ impl<'a, S: minigame_state::State> MinigameBuilder<'a, S> { impl<'a, S> MinigameBuilder<'a, S> where S: minigame_state::State, - S::RoundDuration: minigame_state::IsSet, S::PlayedAt: minigame_state::IsSet, - S::GameContext: minigame_state::IsSet, + S::RoundDuration: minigame_state::IsSet, S::FinalScore: minigame_state::IsSet, + S::GameContext: minigame_state::IsSet, S::ShapesCollected: minigame_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/net_anisota/settings.rs b/crates/jacquard-api/src/net_anisota/settings.rs index c69e774c..1e67ffd8 100644 --- a/crates/jacquard-api/src/net_anisota/settings.rs +++ b/crates/jacquard-api/src/net_anisota/settings.rs @@ -4166,51 +4166,51 @@ pub mod settings_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Version; type UpdatedAt; + type Version; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Version = Unset; type UpdatedAt = Unset; + type Version = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type UpdatedAt = Set; type Version = S::Version; - type UpdatedAt = S::UpdatedAt; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `version` field to Set pub struct SetVersion(PhantomData S>); impl sealed::Sealed for SetVersion {} impl State for SetVersion { - type CreatedAt = S::CreatedAt; - type Version = Set; type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { + type Version = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type UpdatedAt = S::UpdatedAt; type Version = S::Version; - type UpdatedAt = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `version` field - pub struct version(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `version` field + pub struct version(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -4400,9 +4400,9 @@ where impl<'a, S> SettingsBuilder<'a, S> where S: settings_state::State, - S::CreatedAt: settings_state::IsSet, - S::Version: settings_state::IsSet, S::UpdatedAt: settings_state::IsSet, + S::Version: settings_state::IsSet, + S::CreatedAt: settings_state::IsSet, { /// Build the final struct pub fn build(self) -> Settings<'a> { diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs index b1237354..92ec62ab 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs @@ -35,51 +35,51 @@ pub mod banner_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Banner; - type Ring; type CreatedAt; + type Ring; + type Banner; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Banner = Unset; - type Ring = Unset; type CreatedAt = Unset; + type Ring = Unset; + type Banner = Unset; } - ///State transition - sets the `banner` field to Set - pub struct SetBanner(PhantomData S>); - impl sealed::Sealed for SetBanner {} - impl State for SetBanner { - type Banner = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Ring = S::Ring; - type CreatedAt = S::CreatedAt; + type Banner = S::Banner; } ///State transition - sets the `ring` field to Set pub struct SetRing(PhantomData S>); impl sealed::Sealed for SetRing {} impl State for SetRing { - type Banner = S::Banner; - type Ring = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Ring = Set; type Banner = S::Banner; + } + ///State transition - sets the `banner` field to Set + pub struct SetBanner(PhantomData S>); + impl sealed::Sealed for SetBanner {} + impl State for SetBanner { + type CreatedAt = S::CreatedAt; type Ring = S::Ring; - type CreatedAt = Set; + type Banner = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `banner` field - pub struct banner(()); - ///Marker type for the `ring` field - pub struct ring(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `ring` field + pub struct ring(()); + ///Marker type for the `banner` field + pub struct banner(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> BannerBuilder<'a, S> where S: banner_state::State, - S::Banner: banner_state::IsSet, - S::Ring: banner_state::IsSet, S::CreatedAt: banner_state::IsSet, + S::Ring: banner_state::IsSet, + S::Banner: banner_state::IsSet, { /// Build the final struct pub fn build(self) -> Banner<'a> { diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs index 9516a4e6..6e5e6a27 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs @@ -40,51 +40,51 @@ pub mod block_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Subject; type CreatedAt; type Ring; - type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Subject = Unset; type CreatedAt = Unset; type Ring = Unset; - type Subject = Unset; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Subject = Set; + type CreatedAt = S::CreatedAt; + type Ring = S::Ring; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Subject = S::Subject; type CreatedAt = Set; type Ring = S::Ring; - type Subject = S::Subject; } ///State transition - sets the `ring` field to Set pub struct SetRing(PhantomData S>); impl sealed::Sealed for SetRing {} impl State for SetRing { - type CreatedAt = S::CreatedAt; - type Ring = Set; type Subject = S::Subject; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { type CreatedAt = S::CreatedAt; - type Ring = S::Ring; - type Subject = Set; + type Ring = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `ring` field pub struct ring(()); - ///Marker type for the `subject` field - pub struct subject(()); } } @@ -194,9 +194,9 @@ where impl<'a, S> BlockBuilder<'a, S> where S: block_state::State, + S::Subject: block_state::IsSet, S::CreatedAt: block_state::IsSet, S::Ring: block_state::IsSet, - S::Subject: block_state::IsSet, { /// Build the final struct pub fn build(self) -> Block<'a> { diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs index 3c8494ac..314f1423 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs @@ -47,67 +47,67 @@ pub mod member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type Title; type Url; type Ring; + type CreatedAt; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type Title = Unset; type Url = Unset; type Ring = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Title = S::Title; - type Url = S::Url; - type Ring = S::Ring; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type CreatedAt = S::CreatedAt; - type Title = Set; - type Url = S::Url; - type Ring = S::Ring; + type CreatedAt = Unset; + type Title = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type CreatedAt = S::CreatedAt; - type Title = S::Title; type Url = Set; type Ring = S::Ring; + type CreatedAt = S::CreatedAt; + type Title = S::Title; } ///State transition - sets the `ring` field to Set pub struct SetRing(PhantomData S>); impl sealed::Sealed for SetRing {} impl State for SetRing { + type Url = S::Url; + type Ring = Set; type CreatedAt = S::CreatedAt; type Title = S::Title; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Url = S::Url; - type Ring = Set; + type Ring = S::Ring; + type CreatedAt = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Url = S::Url; + type Ring = S::Ring; + type CreatedAt = S::CreatedAt; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `url` field pub struct url(()); ///Marker type for the `ring` field pub struct ring(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -257,10 +257,10 @@ where impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, - S::CreatedAt: member_state::IsSet, - S::Title: member_state::IsSet, S::Url: member_state::IsSet, S::Ring: member_state::IsSet, + S::CreatedAt: member_state::IsSet, + S::Title: member_state::IsSet, { /// Build the final struct pub fn build(self) -> Member<'a> { diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs index 45251438..ca3cec01 100644 --- a/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs +++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs @@ -21,7 +21,7 @@ pub struct Ring<'a> { /// How new members are accepted #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub acceptance_policy: std::option::Option>, + pub acceptance_policy: std::option::Option>, pub created_at: jacquard_common::types::string::Datetime, /// Description of the circle #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -29,7 +29,7 @@ pub struct Ring<'a> { pub description: std::option::Option>, /// Recruitment status #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: RingStatus<'a>, /// Name of the circle #[serde(borrow)] pub title: jacquard_common::CowStr<'a>, @@ -45,51 +45,51 @@ pub mod ring_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Status; type Title; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Status = Unset; type Title = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Status = S::Status; - type Title = S::Title; + type CreatedAt = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type CreatedAt = S::CreatedAt; type Status = Set; type Title = S::Title; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; type Status = S::Status; type Title = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Status = S::Status; + type Title = S::Title; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -97,10 +97,10 @@ pub mod ring_state { pub struct RingBuilder<'a, S: ring_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -128,7 +128,7 @@ impl<'a, S: ring_state::State> RingBuilder<'a, S> { /// Set the `acceptancePolicy` field (optional) pub fn acceptance_policy( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.0 = value.into(); self @@ -136,7 +136,7 @@ impl<'a, S: ring_state::State> RingBuilder<'a, S> { /// Set the `acceptancePolicy` field to an Option value (optional) pub fn maybe_acceptance_policy( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.0 = value; self @@ -189,7 +189,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> RingBuilder<'a, ring_state::SetStatus> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); RingBuilder { @@ -222,9 +222,9 @@ where impl<'a, S> RingBuilder<'a, S> where S: ring_state::State, - S::CreatedAt: ring_state::IsSet, S::Status: ring_state::IsSet, S::Title: ring_state::IsSet, + S::CreatedAt: ring_state::IsSet, { /// Build the final struct pub fn build(self) -> Ring<'a> { @@ -269,6 +269,186 @@ impl<'a> Ring<'a> { } } +/// How new members are accepted +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RingAcceptancePolicy<'a> { + Automatic, + Manual, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RingAcceptancePolicy<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Automatic => "automatic", + Self::Manual => "manual", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RingAcceptancePolicy<'a> { + fn from(s: &'a str) -> Self { + match s { + "automatic" => Self::Automatic, + "manual" => Self::Manual, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RingAcceptancePolicy<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "automatic" => Self::Automatic, + "manual" => Self::Manual, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RingAcceptancePolicy<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RingAcceptancePolicy<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RingAcceptancePolicy<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RingAcceptancePolicy<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RingAcceptancePolicy<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RingAcceptancePolicy<'_> { + type Output = RingAcceptancePolicy<'static>; + fn into_static(self) -> Self::Output { + match self { + RingAcceptancePolicy::Automatic => RingAcceptancePolicy::Automatic, + RingAcceptancePolicy::Manual => RingAcceptancePolicy::Manual, + RingAcceptancePolicy::Other(v) => { + RingAcceptancePolicy::Other(v.into_static()) + } + } + } +} + +/// Recruitment status +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RingStatus<'a> { + Open, + Closed, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RingStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Open => "open", + Self::Closed => "closed", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RingStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "open" => Self::Open, + "closed" => Self::Closed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RingStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "open" => Self::Open, + "closed" => Self::Closed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RingStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RingStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RingStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RingStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RingStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RingStatus<'_> { + type Output = RingStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + RingStatus::Open => RingStatus::Open, + RingStatus::Closed => RingStatus::Closed, + RingStatus::Other(v) => RingStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/net_mmatt/vitals/car.rs b/crates/jacquard-api/src/net_mmatt/vitals/car.rs index f18277ef..624d1b73 100644 --- a/crates/jacquard-api/src/net_mmatt/vitals/car.rs +++ b/crates/jacquard-api/src/net_mmatt/vitals/car.rs @@ -52,85 +52,85 @@ pub mod car_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CarTraveledDistance; - type CarFuelRange; type AmountRemaining; + type CarTraveledDistance; type CreatedAt; type CarPercentFuelRemaining; + type CarFuelRange; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CarTraveledDistance = Unset; - type CarFuelRange = Unset; type AmountRemaining = Unset; + type CarTraveledDistance = Unset; type CreatedAt = Unset; type CarPercentFuelRemaining = Unset; - } - ///State transition - sets the `car_traveled_distance` field to Set - pub struct SetCarTraveledDistance(PhantomData S>); - impl sealed::Sealed for SetCarTraveledDistance {} - impl State for SetCarTraveledDistance { - type CarTraveledDistance = Set; - type CarFuelRange = S::CarFuelRange; - type AmountRemaining = S::AmountRemaining; - type CreatedAt = S::CreatedAt; - type CarPercentFuelRemaining = S::CarPercentFuelRemaining; - } - ///State transition - sets the `car_fuel_range` field to Set - pub struct SetCarFuelRange(PhantomData S>); - impl sealed::Sealed for SetCarFuelRange {} - impl State for SetCarFuelRange { - type CarTraveledDistance = S::CarTraveledDistance; - type CarFuelRange = Set; - type AmountRemaining = S::AmountRemaining; - type CreatedAt = S::CreatedAt; - type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = Unset; } ///State transition - sets the `amount_remaining` field to Set pub struct SetAmountRemaining(PhantomData S>); impl sealed::Sealed for SetAmountRemaining {} impl State for SetAmountRemaining { + type AmountRemaining = Set; type CarTraveledDistance = S::CarTraveledDistance; + type CreatedAt = S::CreatedAt; + type CarPercentFuelRemaining = S::CarPercentFuelRemaining; type CarFuelRange = S::CarFuelRange; - type AmountRemaining = Set; + } + ///State transition - sets the `car_traveled_distance` field to Set + pub struct SetCarTraveledDistance(PhantomData S>); + impl sealed::Sealed for SetCarTraveledDistance {} + impl State for SetCarTraveledDistance { + type AmountRemaining = S::AmountRemaining; + type CarTraveledDistance = Set; type CreatedAt = S::CreatedAt; type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = S::CarFuelRange; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type CarTraveledDistance = S::CarTraveledDistance; - type CarFuelRange = S::CarFuelRange; type AmountRemaining = S::AmountRemaining; + type CarTraveledDistance = S::CarTraveledDistance; type CreatedAt = Set; type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = S::CarFuelRange; } ///State transition - sets the `car_percent_fuel_remaining` field to Set pub struct SetCarPercentFuelRemaining(PhantomData S>); impl sealed::Sealed for SetCarPercentFuelRemaining {} impl State for SetCarPercentFuelRemaining { + type AmountRemaining = S::AmountRemaining; type CarTraveledDistance = S::CarTraveledDistance; + type CreatedAt = S::CreatedAt; + type CarPercentFuelRemaining = Set; type CarFuelRange = S::CarFuelRange; + } + ///State transition - sets the `car_fuel_range` field to Set + pub struct SetCarFuelRange(PhantomData S>); + impl sealed::Sealed for SetCarFuelRange {} + impl State for SetCarFuelRange { type AmountRemaining = S::AmountRemaining; + type CarTraveledDistance = S::CarTraveledDistance; type CreatedAt = S::CreatedAt; - type CarPercentFuelRemaining = Set; + type CarPercentFuelRemaining = S::CarPercentFuelRemaining; + type CarFuelRange = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `car_traveled_distance` field - pub struct car_traveled_distance(()); - ///Marker type for the `car_fuel_range` field - pub struct car_fuel_range(()); ///Marker type for the `amount_remaining` field pub struct amount_remaining(()); + ///Marker type for the `car_traveled_distance` field + pub struct car_traveled_distance(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `car_percent_fuel_remaining` field pub struct car_percent_fuel_remaining(()); + ///Marker type for the `car_fuel_range` field + pub struct car_fuel_range(()); } } @@ -314,11 +314,11 @@ where impl<'a, S> CarBuilder<'a, S> where S: car_state::State, - S::CarTraveledDistance: car_state::IsSet, - S::CarFuelRange: car_state::IsSet, S::AmountRemaining: car_state::IsSet, + S::CarTraveledDistance: car_state::IsSet, S::CreatedAt: car_state::IsSet, S::CarPercentFuelRemaining: car_state::IsSet, + S::CarFuelRange: car_state::IsSet, { /// Build the final struct pub fn build(self) -> Car<'a> { diff --git a/crates/jacquard-api/src/network_slices/lexicon.rs b/crates/jacquard-api/src/network_slices/lexicon.rs index 0b09ba61..5f75b07c 100644 --- a/crates/jacquard-api/src/network_slices/lexicon.rs +++ b/crates/jacquard-api/src/network_slices/lexicon.rs @@ -50,67 +50,67 @@ pub mod lexicon_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Definitions; - type Slice; type Nsid; type CreatedAt; + type Definitions; + type Slice; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Definitions = Unset; - type Slice = Unset; type Nsid = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `definitions` field to Set - pub struct SetDefinitions(PhantomData S>); - impl sealed::Sealed for SetDefinitions {} - impl State for SetDefinitions { - type Definitions = Set; - type Slice = S::Slice; - type Nsid = S::Nsid; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `slice` field to Set - pub struct SetSlice(PhantomData S>); - impl sealed::Sealed for SetSlice {} - impl State for SetSlice { - type Definitions = S::Definitions; - type Slice = Set; - type Nsid = S::Nsid; - type CreatedAt = S::CreatedAt; + type Definitions = Unset; + type Slice = Unset; } ///State transition - sets the `nsid` field to Set pub struct SetNsid(PhantomData S>); impl sealed::Sealed for SetNsid {} impl State for SetNsid { - type Definitions = S::Definitions; - type Slice = S::Slice; type Nsid = Set; type CreatedAt = S::CreatedAt; + type Definitions = S::Definitions; + type Slice = S::Slice; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Nsid = S::Nsid; + type CreatedAt = Set; type Definitions = S::Definitions; type Slice = S::Slice; + } + ///State transition - sets the `definitions` field to Set + pub struct SetDefinitions(PhantomData S>); + impl sealed::Sealed for SetDefinitions {} + impl State for SetDefinitions { type Nsid = S::Nsid; - type CreatedAt = Set; + type CreatedAt = S::CreatedAt; + type Definitions = Set; + type Slice = S::Slice; + } + ///State transition - sets the `slice` field to Set + pub struct SetSlice(PhantomData S>); + impl sealed::Sealed for SetSlice {} + impl State for SetSlice { + type Nsid = S::Nsid; + type CreatedAt = S::CreatedAt; + type Definitions = S::Definitions; + type Slice = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `definitions` field - pub struct definitions(()); - ///Marker type for the `slice` field - pub struct slice(()); ///Marker type for the `nsid` field pub struct nsid(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `definitions` field + pub struct definitions(()); + ///Marker type for the `slice` field + pub struct slice(()); } } @@ -277,10 +277,10 @@ impl<'a, S: lexicon_state::State> LexiconBuilder<'a, S> { impl<'a, S> LexiconBuilder<'a, S> where S: lexicon_state::State, - S::Definitions: lexicon_state::IsSet, - S::Slice: lexicon_state::IsSet, S::Nsid: lexicon_state::IsSet, S::CreatedAt: lexicon_state::IsSet, + S::Definitions: lexicon_state::IsSet, + S::Slice: lexicon_state::IsSet, { /// Build the final struct pub fn build(self) -> Lexicon<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice.rs b/crates/jacquard-api/src/network_slices/slice.rs index 9344677c..ace03afc 100644 --- a/crates/jacquard-api/src/network_slices/slice.rs +++ b/crates/jacquard-api/src/network_slices/slice.rs @@ -54,51 +54,51 @@ pub mod slice_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Domain; type Name; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Domain = Unset; type Name = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Domain = S::Domain; + type Name = S::Name; } ///State transition - sets the `domain` field to Set pub struct SetDomain(PhantomData S>); impl sealed::Sealed for SetDomain {} impl State for SetDomain { + type CreatedAt = S::CreatedAt; type Domain = Set; type Name = S::Name; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Domain = S::Domain; - type Name = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Domain = S::Domain; - type Name = S::Name; - type CreatedAt = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `domain` field pub struct domain(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -191,9 +191,9 @@ where impl<'a, S> SliceBuilder<'a, S> where S: slice_state::State, + S::CreatedAt: slice_state::IsSet, S::Domain: slice_state::IsSet, S::Name: slice_state::IsSet, - S::CreatedAt: slice_state::IsSet, { /// Build the final struct pub fn build(self) -> Slice<'a> { @@ -481,103 +481,103 @@ pub mod slice_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Cid; type Creator; - type Domain; type CreatedAt; type Uri; - type Cid; + type Domain; type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Cid = Unset; type Creator = Unset; - type Domain = Unset; type CreatedAt = Unset; type Uri = Unset; - type Cid = Unset; + type Domain = Unset; type Name = Unset; } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; + type Creator = S::Creator; + type CreatedAt = S::CreatedAt; + type Uri = S::Uri; + type Domain = S::Domain; + type Name = S::Name; + } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { - type Creator = Set; - type Domain = S::Domain; - type CreatedAt = S::CreatedAt; - type Uri = S::Uri; type Cid = S::Cid; - type Name = S::Name; - } - ///State transition - sets the `domain` field to Set - pub struct SetDomain(PhantomData S>); - impl sealed::Sealed for SetDomain {} - impl State for SetDomain { - type Creator = S::Creator; - type Domain = Set; + type Creator = Set; type CreatedAt = S::CreatedAt; type Uri = S::Uri; - type Cid = S::Cid; + type Domain = S::Domain; type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Cid = S::Cid; type Creator = S::Creator; - type Domain = S::Domain; type CreatedAt = Set; type Uri = S::Uri; - type Cid = S::Cid; + type Domain = S::Domain; type Name = S::Name; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Cid = S::Cid; type Creator = S::Creator; - type Domain = S::Domain; type CreatedAt = S::CreatedAt; type Uri = Set; - type Cid = S::Cid; + type Domain = S::Domain; type Name = S::Name; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + ///State transition - sets the `domain` field to Set + pub struct SetDomain(PhantomData S>); + impl sealed::Sealed for SetDomain {} + impl State for SetDomain { + type Cid = S::Cid; type Creator = S::Creator; - type Domain = S::Domain; type CreatedAt = S::CreatedAt; type Uri = S::Uri; - type Cid = Set; + type Domain = Set; type Name = S::Name; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type Cid = S::Cid; type Creator = S::Creator; - type Domain = S::Domain; type CreatedAt = S::CreatedAt; type Uri = S::Uri; - type Cid = S::Cid; + type Domain = S::Domain; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `creator` field pub struct creator(()); - ///Marker type for the `domain` field - pub struct domain(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `domain` field + pub struct domain(()); ///Marker type for the `name` field pub struct name(()); } @@ -835,11 +835,11 @@ impl<'a, S: slice_view_state::State> SliceViewBuilder<'a, S> { impl<'a, S> SliceViewBuilder<'a, S> where S: slice_view_state::State, + S::Cid: slice_view_state::IsSet, S::Creator: slice_view_state::IsSet, - S::Domain: slice_view_state::IsSet, S::CreatedAt: slice_view_state::IsSet, S::Uri: slice_view_state::IsSet, - S::Cid: slice_view_state::IsSet, + S::Domain: slice_view_state::IsSet, S::Name: slice_view_state::IsSet, { /// Build the final struct @@ -1199,37 +1199,37 @@ pub mod sparkline_point_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Timestamp; type Count; + type Timestamp; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Timestamp = Unset; type Count = Unset; - } - ///State transition - sets the `timestamp` field to Set - pub struct SetTimestamp(PhantomData S>); - impl sealed::Sealed for SetTimestamp {} - impl State for SetTimestamp { - type Timestamp = Set; - type Count = S::Count; + type Timestamp = Unset; } ///State transition - sets the `count` field to Set pub struct SetCount(PhantomData S>); impl sealed::Sealed for SetCount {} impl State for SetCount { - type Timestamp = S::Timestamp; type Count = Set; + type Timestamp = S::Timestamp; + } + ///State transition - sets the `timestamp` field to Set + pub struct SetTimestamp(PhantomData S>); + impl sealed::Sealed for SetTimestamp {} + impl State for SetTimestamp { + type Count = S::Count; + type Timestamp = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `timestamp` field - pub struct timestamp(()); ///Marker type for the `count` field pub struct count(()); + ///Marker type for the `timestamp` field + pub struct timestamp(()); } } @@ -1302,8 +1302,8 @@ where impl<'a, S> SparklinePointBuilder<'a, S> where S: sparkline_point_state::State, - S::Timestamp: sparkline_point_state::IsSet, S::Count: sparkline_point_state::IsSet, + S::Timestamp: sparkline_point_state::IsSet, { /// Build the final struct pub fn build(self) -> SparklinePoint<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs b/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs index ffaf613f..d3e2867a 100644 --- a/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs +++ b/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs @@ -66,51 +66,51 @@ pub mod create_o_auth_client_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type RedirectUris; - type ClientName; type SliceUri; + type ClientName; + type RedirectUris; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type RedirectUris = Unset; - type ClientName = Unset; type SliceUri = Unset; + type ClientName = Unset; + type RedirectUris = Unset; } - ///State transition - sets the `redirect_uris` field to Set - pub struct SetRedirectUris(PhantomData S>); - impl sealed::Sealed for SetRedirectUris {} - impl State for SetRedirectUris { - type RedirectUris = Set; + ///State transition - sets the `slice_uri` field to Set + pub struct SetSliceUri(PhantomData S>); + impl sealed::Sealed for SetSliceUri {} + impl State for SetSliceUri { + type SliceUri = Set; type ClientName = S::ClientName; - type SliceUri = S::SliceUri; + type RedirectUris = S::RedirectUris; } ///State transition - sets the `client_name` field to Set pub struct SetClientName(PhantomData S>); impl sealed::Sealed for SetClientName {} impl State for SetClientName { - type RedirectUris = S::RedirectUris; - type ClientName = Set; type SliceUri = S::SliceUri; - } - ///State transition - sets the `slice_uri` field to Set - pub struct SetSliceUri(PhantomData S>); - impl sealed::Sealed for SetSliceUri {} - impl State for SetSliceUri { + type ClientName = Set; type RedirectUris = S::RedirectUris; + } + ///State transition - sets the `redirect_uris` field to Set + pub struct SetRedirectUris(PhantomData S>); + impl sealed::Sealed for SetRedirectUris {} + impl State for SetRedirectUris { + type SliceUri = S::SliceUri; type ClientName = S::ClientName; - type SliceUri = Set; + type RedirectUris = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `redirect_uris` field - pub struct redirect_uris(()); - ///Marker type for the `client_name` field - pub struct client_name(()); ///Marker type for the `slice_uri` field pub struct slice_uri(()); + ///Marker type for the `client_name` field + pub struct client_name(()); + ///Marker type for the `redirect_uris` field + pub struct redirect_uris(()); } } @@ -351,9 +351,9 @@ impl<'a, S: create_o_auth_client_state::State> CreateOAuthClientBuilder<'a, S> { impl<'a, S> CreateOAuthClientBuilder<'a, S> where S: create_o_auth_client_state::State, - S::RedirectUris: create_o_auth_client_state::IsSet, - S::ClientName: create_o_auth_client_state::IsSet, S::SliceUri: create_o_auth_client_state::IsSet, + S::ClientName: create_o_auth_client_state::IsSet, + S::RedirectUris: create_o_auth_client_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateOAuthClient<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/get_actors.rs b/crates/jacquard-api/src/network_slices/slice/get_actors.rs index df23dda1..7beca0e4 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_actors.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_actors.rs @@ -41,51 +41,51 @@ pub mod actor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type SliceUri; type Did; type IndexedAt; + type SliceUri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type SliceUri = Unset; type Did = Unset; type IndexedAt = Unset; - } - ///State transition - sets the `slice_uri` field to Set - pub struct SetSliceUri(PhantomData S>); - impl sealed::Sealed for SetSliceUri {} - impl State for SetSliceUri { - type SliceUri = Set; - type Did = S::Did; - type IndexedAt = S::IndexedAt; + type SliceUri = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type SliceUri = S::SliceUri; type Did = Set; type IndexedAt = S::IndexedAt; + type SliceUri = S::SliceUri; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type SliceUri = S::SliceUri; type Did = S::Did; type IndexedAt = Set; + type SliceUri = S::SliceUri; + } + ///State transition - sets the `slice_uri` field to Set + pub struct SetSliceUri(PhantomData S>); + impl sealed::Sealed for SetSliceUri {} + impl State for SetSliceUri { + type Did = S::Did; + type IndexedAt = S::IndexedAt; + type SliceUri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `slice_uri` field - pub struct slice_uri(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `slice_uri` field + pub struct slice_uri(()); } } @@ -198,9 +198,9 @@ where impl<'a, S> ActorBuilder<'a, S> where S: actor_state::State, - S::SliceUri: actor_state::IsSet, S::Did: actor_state::IsSet, S::IndexedAt: actor_state::IsSet, + S::SliceUri: actor_state::IsSet, { /// Build the final struct pub fn build(self) -> Actor<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs b/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs index 20157ae8..88676553 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs @@ -58,85 +58,85 @@ pub mod log_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; type LogType; - type Message; type CreatedAt; type Level; + type Id; + type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; type LogType = Unset; - type Message = Unset; type CreatedAt = Unset; type Level = Unset; - } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; - type LogType = S::LogType; - type Message = S::Message; - type CreatedAt = S::CreatedAt; - type Level = S::Level; + type Id = Unset; + type Message = Unset; } ///State transition - sets the `log_type` field to Set pub struct SetLogType(PhantomData S>); impl sealed::Sealed for SetLogType {} impl State for SetLogType { - type Id = S::Id; type LogType = Set; - type Message = S::Message; type CreatedAt = S::CreatedAt; type Level = S::Level; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { type Id = S::Id; - type LogType = S::LogType; - type Message = Set; - type CreatedAt = S::CreatedAt; - type Level = S::Level; + type Message = S::Message; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Id = S::Id; type LogType = S::LogType; - type Message = S::Message; type CreatedAt = Set; type Level = S::Level; + type Id = S::Id; + type Message = S::Message; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { + type LogType = S::LogType; + type CreatedAt = S::CreatedAt; + type Level = Set; type Id = S::Id; + type Message = S::Message; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { type LogType = S::LogType; + type CreatedAt = S::CreatedAt; + type Level = S::Level; + type Id = Set; type Message = S::Message; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type LogType = S::LogType; type CreatedAt = S::CreatedAt; - type Level = Set; + type Level = S::Level; + type Id = S::Id; + type Message = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `log_type` field pub struct log_type(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `message` field + pub struct message(()); } } @@ -356,11 +356,11 @@ impl<'a, S: log_entry_state::State> LogEntryBuilder<'a, S> { impl<'a, S> LogEntryBuilder<'a, S> where S: log_entry_state::State, - S::Id: log_entry_state::IsSet, S::LogType: log_entry_state::IsSet, - S::Message: log_entry_state::IsSet, S::CreatedAt: log_entry_state::IsSet, S::Level: log_entry_state::IsSet, + S::Id: log_entry_state::IsSet, + S::Message: log_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> LogEntry<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/get_job_status.rs b/crates/jacquard-api/src/network_slices/slice/get_job_status.rs index 647cd657..87614111 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_job_status.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_job_status.rs @@ -55,65 +55,65 @@ pub mod job_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type JobId; type Status; - type CreatedAt; type RetryCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type JobId = Unset; type Status = Unset; - type CreatedAt = Unset; type RetryCount = Unset; } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type JobId = S::JobId; + type Status = S::Status; + type RetryCount = S::RetryCount; + } ///State transition - sets the `job_id` field to Set pub struct SetJobId(PhantomData S>); impl sealed::Sealed for SetJobId {} impl State for SetJobId { + type CreatedAt = S::CreatedAt; type JobId = Set; type Status = S::Status; - type CreatedAt = S::CreatedAt; type RetryCount = S::RetryCount; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type JobId = S::JobId; - type Status = Set; type CreatedAt = S::CreatedAt; - type RetryCount = S::RetryCount; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type JobId = S::JobId; - type Status = S::Status; - type CreatedAt = Set; + type Status = Set; type RetryCount = S::RetryCount; } ///State transition - sets the `retry_count` field to Set pub struct SetRetryCount(PhantomData S>); impl sealed::Sealed for SetRetryCount {} impl State for SetRetryCount { + type CreatedAt = S::CreatedAt; type JobId = S::JobId; type Status = S::Status; - type CreatedAt = S::CreatedAt; type RetryCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `job_id` field pub struct job_id(()); ///Marker type for the `status` field pub struct status(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `retry_count` field pub struct retry_count(()); } @@ -309,9 +309,9 @@ where impl<'a, S> JobStatusBuilder<'a, S> where S: job_status_state::State, + S::CreatedAt: job_status_state::IsSet, S::JobId: job_status_state::IsSet, S::Status: job_status_state::IsSet, - S::CreatedAt: job_status_state::IsSet, S::RetryCount: job_status_state::IsSet, { /// Build the final struct @@ -875,83 +875,83 @@ pub mod sync_job_result_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TotalRecords; type ReposProcessed; - type Message; type CollectionsSynced; + type TotalRecords; + type Message; type Success; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TotalRecords = Unset; type ReposProcessed = Unset; - type Message = Unset; type CollectionsSynced = Unset; + type TotalRecords = Unset; + type Message = Unset; type Success = Unset; } - ///State transition - sets the `total_records` field to Set - pub struct SetTotalRecords(PhantomData S>); - impl sealed::Sealed for SetTotalRecords {} - impl State for SetTotalRecords { - type TotalRecords = Set; - type ReposProcessed = S::ReposProcessed; - type Message = S::Message; - type CollectionsSynced = S::CollectionsSynced; - type Success = S::Success; - } ///State transition - sets the `repos_processed` field to Set pub struct SetReposProcessed(PhantomData S>); impl sealed::Sealed for SetReposProcessed {} impl State for SetReposProcessed { - type TotalRecords = S::TotalRecords; type ReposProcessed = Set; - type Message = S::Message; type CollectionsSynced = S::CollectionsSynced; - type Success = S::Success; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { type TotalRecords = S::TotalRecords; - type ReposProcessed = S::ReposProcessed; - type Message = Set; - type CollectionsSynced = S::CollectionsSynced; + type Message = S::Message; type Success = S::Success; } ///State transition - sets the `collections_synced` field to Set pub struct SetCollectionsSynced(PhantomData S>); impl sealed::Sealed for SetCollectionsSynced {} impl State for SetCollectionsSynced { + type ReposProcessed = S::ReposProcessed; + type CollectionsSynced = Set; type TotalRecords = S::TotalRecords; + type Message = S::Message; + type Success = S::Success; + } + ///State transition - sets the `total_records` field to Set + pub struct SetTotalRecords(PhantomData S>); + impl sealed::Sealed for SetTotalRecords {} + impl State for SetTotalRecords { type ReposProcessed = S::ReposProcessed; + type CollectionsSynced = S::CollectionsSynced; + type TotalRecords = Set; type Message = S::Message; - type CollectionsSynced = Set; + type Success = S::Success; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type ReposProcessed = S::ReposProcessed; + type CollectionsSynced = S::CollectionsSynced; + type TotalRecords = S::TotalRecords; + type Message = Set; type Success = S::Success; } ///State transition - sets the `success` field to Set pub struct SetSuccess(PhantomData S>); impl sealed::Sealed for SetSuccess {} impl State for SetSuccess { - type TotalRecords = S::TotalRecords; type ReposProcessed = S::ReposProcessed; - type Message = S::Message; type CollectionsSynced = S::CollectionsSynced; + type TotalRecords = S::TotalRecords; + type Message = S::Message; type Success = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `total_records` field - pub struct total_records(()); ///Marker type for the `repos_processed` field pub struct repos_processed(()); - ///Marker type for the `message` field - pub struct message(()); ///Marker type for the `collections_synced` field pub struct collections_synced(()); + ///Marker type for the `total_records` field + pub struct total_records(()); + ///Marker type for the `message` field + pub struct message(()); ///Marker type for the `success` field pub struct success(()); } @@ -1086,10 +1086,10 @@ where impl<'a, S> SyncJobResultBuilder<'a, S> where S: sync_job_result_state::State, - S::TotalRecords: sync_job_result_state::IsSet, S::ReposProcessed: sync_job_result_state::IsSet, - S::Message: sync_job_result_state::IsSet, S::CollectionsSynced: sync_job_result_state::IsSet, + S::TotalRecords: sync_job_result_state::IsSet, + S::Message: sync_job_result_state::IsSet, S::Success: sync_job_result_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs b/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs index 329c3b26..54e7aee1 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs @@ -221,11 +221,11 @@ pub mod oauth_client_details_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type GrantTypes; + type ClientName; + type RedirectUris; type CreatedByDid; + type GrantTypes; type ClientId; - type RedirectUris; - type ClientName; type CreatedAt; type ResponseTypes; } @@ -233,23 +233,35 @@ pub mod oauth_client_details_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type GrantTypes = Unset; + type ClientName = Unset; + type RedirectUris = Unset; type CreatedByDid = Unset; + type GrantTypes = Unset; type ClientId = Unset; - type RedirectUris = Unset; - type ClientName = Unset; type CreatedAt = Unset; type ResponseTypes = Unset; } - ///State transition - sets the `grant_types` field to Set - pub struct SetGrantTypes(PhantomData S>); - impl sealed::Sealed for SetGrantTypes {} - impl State for SetGrantTypes { - type GrantTypes = Set; + ///State transition - sets the `client_name` field to Set + pub struct SetClientName(PhantomData S>); + impl sealed::Sealed for SetClientName {} + impl State for SetClientName { + type ClientName = Set; + type RedirectUris = S::RedirectUris; type CreatedByDid = S::CreatedByDid; + type GrantTypes = S::GrantTypes; type ClientId = S::ClientId; - type RedirectUris = S::RedirectUris; + type CreatedAt = S::CreatedAt; + type ResponseTypes = S::ResponseTypes; + } + ///State transition - sets the `redirect_uris` field to Set + pub struct SetRedirectUris(PhantomData S>); + impl sealed::Sealed for SetRedirectUris {} + impl State for SetRedirectUris { type ClientName = S::ClientName; + type RedirectUris = Set; + type CreatedByDid = S::CreatedByDid; + type GrantTypes = S::GrantTypes; + type ClientId = S::ClientId; type CreatedAt = S::CreatedAt; type ResponseTypes = S::ResponseTypes; } @@ -257,11 +269,23 @@ pub mod oauth_client_details_state { pub struct SetCreatedByDid(PhantomData S>); impl sealed::Sealed for SetCreatedByDid {} impl State for SetCreatedByDid { - type GrantTypes = S::GrantTypes; + type ClientName = S::ClientName; + type RedirectUris = S::RedirectUris; type CreatedByDid = Set; + type GrantTypes = S::GrantTypes; type ClientId = S::ClientId; - type RedirectUris = S::RedirectUris; + type CreatedAt = S::CreatedAt; + type ResponseTypes = S::ResponseTypes; + } + ///State transition - sets the `grant_types` field to Set + pub struct SetGrantTypes(PhantomData S>); + impl sealed::Sealed for SetGrantTypes {} + impl State for SetGrantTypes { type ClientName = S::ClientName; + type RedirectUris = S::RedirectUris; + type CreatedByDid = S::CreatedByDid; + type GrantTypes = Set; + type ClientId = S::ClientId; type CreatedAt = S::CreatedAt; type ResponseTypes = S::ResponseTypes; } @@ -269,35 +293,11 @@ pub mod oauth_client_details_state { pub struct SetClientId(PhantomData S>); impl sealed::Sealed for SetClientId {} impl State for SetClientId { - type GrantTypes = S::GrantTypes; - type CreatedByDid = S::CreatedByDid; - type ClientId = Set; - type RedirectUris = S::RedirectUris; type ClientName = S::ClientName; - type CreatedAt = S::CreatedAt; - type ResponseTypes = S::ResponseTypes; - } - ///State transition - sets the `redirect_uris` field to Set - pub struct SetRedirectUris(PhantomData S>); - impl sealed::Sealed for SetRedirectUris {} - impl State for SetRedirectUris { - type GrantTypes = S::GrantTypes; + type RedirectUris = S::RedirectUris; type CreatedByDid = S::CreatedByDid; - type ClientId = S::ClientId; - type RedirectUris = Set; - type ClientName = S::ClientName; - type CreatedAt = S::CreatedAt; - type ResponseTypes = S::ResponseTypes; - } - ///State transition - sets the `client_name` field to Set - pub struct SetClientName(PhantomData S>); - impl sealed::Sealed for SetClientName {} - impl State for SetClientName { type GrantTypes = S::GrantTypes; - type CreatedByDid = S::CreatedByDid; - type ClientId = S::ClientId; - type RedirectUris = S::RedirectUris; - type ClientName = Set; + type ClientId = Set; type CreatedAt = S::CreatedAt; type ResponseTypes = S::ResponseTypes; } @@ -305,11 +305,11 @@ pub mod oauth_client_details_state { pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type GrantTypes = S::GrantTypes; + type ClientName = S::ClientName; + type RedirectUris = S::RedirectUris; type CreatedByDid = S::CreatedByDid; + type GrantTypes = S::GrantTypes; type ClientId = S::ClientId; - type RedirectUris = S::RedirectUris; - type ClientName = S::ClientName; type CreatedAt = Set; type ResponseTypes = S::ResponseTypes; } @@ -317,27 +317,27 @@ pub mod oauth_client_details_state { pub struct SetResponseTypes(PhantomData S>); impl sealed::Sealed for SetResponseTypes {} impl State for SetResponseTypes { - type GrantTypes = S::GrantTypes; + type ClientName = S::ClientName; + type RedirectUris = S::RedirectUris; type CreatedByDid = S::CreatedByDid; + type GrantTypes = S::GrantTypes; type ClientId = S::ClientId; - type RedirectUris = S::RedirectUris; - type ClientName = S::ClientName; type CreatedAt = S::CreatedAt; type ResponseTypes = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `grant_types` field - pub struct grant_types(()); + ///Marker type for the `client_name` field + pub struct client_name(()); + ///Marker type for the `redirect_uris` field + pub struct redirect_uris(()); ///Marker type for the `created_by_did` field pub struct created_by_did(()); + ///Marker type for the `grant_types` field + pub struct grant_types(()); ///Marker type for the `client_id` field pub struct client_id(()); - ///Marker type for the `redirect_uris` field - pub struct redirect_uris(()); - ///Marker type for the `client_name` field - pub struct client_name(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `response_types` field @@ -645,11 +645,11 @@ impl<'a, S: oauth_client_details_state::State> OauthClientDetailsBuilder<'a, S> impl<'a, S> OauthClientDetailsBuilder<'a, S> where S: oauth_client_details_state::State, - S::GrantTypes: oauth_client_details_state::IsSet, + S::ClientName: oauth_client_details_state::IsSet, + S::RedirectUris: oauth_client_details_state::IsSet, S::CreatedByDid: oauth_client_details_state::IsSet, + S::GrantTypes: oauth_client_details_state::IsSet, S::ClientId: oauth_client_details_state::IsSet, - S::RedirectUris: oauth_client_details_state::IsSet, - S::ClientName: oauth_client_details_state::IsSet, S::CreatedAt: oauth_client_details_state::IsSet, S::ResponseTypes: oauth_client_details_state::IsSet, { diff --git a/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs b/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs index 4d0c7a31..274c1dae 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs @@ -47,104 +47,104 @@ pub mod indexed_record_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; + type IndexedAt; + type Value; type Uri; type Cid; type Collection; - type Value; - type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; + type IndexedAt = Unset; + type Value = Unset; type Uri = Unset; type Cid = Unset; type Collection = Unset; - type Value = Unset; - type IndexedAt = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; + type IndexedAt = S::IndexedAt; + type Value = S::Value; type Uri = S::Uri; type Cid = S::Cid; type Collection = S::Collection; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Did = S::Did; + type IndexedAt = Set; type Value = S::Value; + type Uri = S::Uri; + type Cid = S::Cid; + type Collection = S::Collection; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Did = S::Did; type IndexedAt = S::IndexedAt; + type Value = Set; + type Uri = S::Uri; + type Cid = S::Cid; + type Collection = S::Collection; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Did = S::Did; + type IndexedAt = S::IndexedAt; + type Value = S::Value; type Uri = Set; type Cid = S::Cid; type Collection = S::Collection; - type Value = S::Value; - type IndexedAt = S::IndexedAt; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { type Did = S::Did; + type IndexedAt = S::IndexedAt; + type Value = S::Value; type Uri = S::Uri; type Cid = Set; type Collection = S::Collection; - type Value = S::Value; - type IndexedAt = S::IndexedAt; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { type Did = S::Did; - type Uri = S::Uri; - type Cid = S::Cid; - type Collection = Set; - type Value = S::Value; type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Did = S::Did; - type Uri = S::Uri; - type Cid = S::Cid; - type Collection = S::Collection; - type Value = Set; - type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Did = S::Did; + type Value = S::Value; type Uri = S::Uri; type Cid = S::Cid; - type Collection = S::Collection; - type Value = S::Value; - type IndexedAt = Set; + type Collection = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `value` field + pub struct value(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `collection` field pub struct collection(()); - ///Marker type for the `value` field - pub struct value(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); } } @@ -298,11 +298,11 @@ impl<'a, S> IndexedRecordBuilder<'a, S> where S: indexed_record_state::State, S::Did: indexed_record_state::IsSet, + S::IndexedAt: indexed_record_state::IsSet, + S::Value: indexed_record_state::IsSet, S::Uri: indexed_record_state::IsSet, S::Cid: indexed_record_state::IsSet, S::Collection: indexed_record_state::IsSet, - S::Value: indexed_record_state::IsSet, - S::IndexedAt: indexed_record_state::IsSet, { /// Build the final struct pub fn build(self) -> IndexedRecord<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs b/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs index 7a6d0ddc..a0663223 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs @@ -252,37 +252,37 @@ pub mod sparkline_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Points; type SliceUri; + type Points; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Points = Unset; type SliceUri = Unset; - } - ///State transition - sets the `points` field to Set - pub struct SetPoints(PhantomData S>); - impl sealed::Sealed for SetPoints {} - impl State for SetPoints { - type Points = Set; - type SliceUri = S::SliceUri; + type Points = Unset; } ///State transition - sets the `slice_uri` field to Set pub struct SetSliceUri(PhantomData S>); impl sealed::Sealed for SetSliceUri {} impl State for SetSliceUri { - type Points = S::Points; type SliceUri = Set; + type Points = S::Points; + } + ///State transition - sets the `points` field to Set + pub struct SetPoints(PhantomData S>); + impl sealed::Sealed for SetPoints {} + impl State for SetPoints { + type SliceUri = S::SliceUri; + type Points = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `points` field - pub struct points(()); ///Marker type for the `slice_uri` field pub struct slice_uri(()); + ///Marker type for the `points` field + pub struct points(()); } } @@ -355,8 +355,8 @@ where impl<'a, S> SparklineEntryBuilder<'a, S> where S: sparkline_entry_state::State, - S::Points: sparkline_entry_state::IsSet, S::SliceUri: sparkline_entry_state::IsSet, + S::Points: sparkline_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> SparklineEntry<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs b/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs index 56437ac8..72f40090 100644 --- a/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs +++ b/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs @@ -33,51 +33,51 @@ pub mod collection_summary_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IsExternal; type EstimatedRepos; type Collection; + type IsExternal; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IsExternal = Unset; type EstimatedRepos = Unset; type Collection = Unset; - } - ///State transition - sets the `is_external` field to Set - pub struct SetIsExternal(PhantomData S>); - impl sealed::Sealed for SetIsExternal {} - impl State for SetIsExternal { - type IsExternal = Set; - type EstimatedRepos = S::EstimatedRepos; - type Collection = S::Collection; + type IsExternal = Unset; } ///State transition - sets the `estimated_repos` field to Set pub struct SetEstimatedRepos(PhantomData S>); impl sealed::Sealed for SetEstimatedRepos {} impl State for SetEstimatedRepos { - type IsExternal = S::IsExternal; type EstimatedRepos = Set; type Collection = S::Collection; + type IsExternal = S::IsExternal; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { - type IsExternal = S::IsExternal; type EstimatedRepos = S::EstimatedRepos; type Collection = Set; + type IsExternal = S::IsExternal; + } + ///State transition - sets the `is_external` field to Set + pub struct SetIsExternal(PhantomData S>); + impl sealed::Sealed for SetIsExternal {} + impl State for SetIsExternal { + type EstimatedRepos = S::EstimatedRepos; + type Collection = S::Collection; + type IsExternal = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `is_external` field - pub struct is_external(()); ///Marker type for the `estimated_repos` field pub struct estimated_repos(()); ///Marker type for the `collection` field pub struct collection(()); + ///Marker type for the `is_external` field + pub struct is_external(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> CollectionSummaryBuilder<'a, S> where S: collection_summary_state::State, - S::IsExternal: collection_summary_state::IsSet, S::EstimatedRepos: collection_summary_state::IsSet, S::Collection: collection_summary_state::IsSet, + S::IsExternal: collection_summary_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionSummary<'a> { diff --git a/crates/jacquard-api/src/network_slices/slice/stats.rs b/crates/jacquard-api/src/network_slices/slice/stats.rs index 87cedae7..6252eec8 100644 --- a/crates/jacquard-api/src/network_slices/slice/stats.rs +++ b/crates/jacquard-api/src/network_slices/slice/stats.rs @@ -37,50 +37,50 @@ pub mod collection_stats_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Collection; - type RecordCount; type UniqueActors; + type RecordCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Collection = Unset; - type RecordCount = Unset; type UniqueActors = Unset; + type RecordCount = Unset; } ///State transition - sets the `collection` field to Set pub struct SetCollection(PhantomData S>); impl sealed::Sealed for SetCollection {} impl State for SetCollection { type Collection = Set; - type RecordCount = S::RecordCount; - type UniqueActors = S::UniqueActors; - } - ///State transition - sets the `record_count` field to Set - pub struct SetRecordCount(PhantomData S>); - impl sealed::Sealed for SetRecordCount {} - impl State for SetRecordCount { - type Collection = S::Collection; - type RecordCount = Set; type UniqueActors = S::UniqueActors; + type RecordCount = S::RecordCount; } ///State transition - sets the `unique_actors` field to Set pub struct SetUniqueActors(PhantomData S>); impl sealed::Sealed for SetUniqueActors {} impl State for SetUniqueActors { type Collection = S::Collection; - type RecordCount = S::RecordCount; type UniqueActors = Set; + type RecordCount = S::RecordCount; + } + ///State transition - sets the `record_count` field to Set + pub struct SetRecordCount(PhantomData S>); + impl sealed::Sealed for SetRecordCount {} + impl State for SetRecordCount { + type Collection = S::Collection; + type UniqueActors = S::UniqueActors; + type RecordCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `collection` field pub struct collection(()); - ///Marker type for the `record_count` field - pub struct record_count(()); ///Marker type for the `unique_actors` field pub struct unique_actors(()); + ///Marker type for the `record_count` field + pub struct record_count(()); } } @@ -174,8 +174,8 @@ impl<'a, S> CollectionStatsBuilder<'a, S> where S: collection_stats_state::State, S::Collection: collection_stats_state::IsSet, - S::RecordCount: collection_stats_state::IsSet, S::UniqueActors: collection_stats_state::IsSet, + S::RecordCount: collection_stats_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionStats<'a> { diff --git a/crates/jacquard-api/src/network_slices/tools.rs b/crates/jacquard-api/src/network_slices/tools.rs index 6ad6ffdc..a598d19f 100644 --- a/crates/jacquard-api/src/network_slices/tools.rs +++ b/crates/jacquard-api/src/network_slices/tools.rs @@ -38,37 +38,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type Alt; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type Alt = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type Alt = S::Alt; + type Image = Unset; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Image = S::Image; type Alt = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type Alt = S::Alt; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `alt` field pub struct alt(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -141,8 +141,8 @@ where impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Image: image_state::IsSet, S::Alt: image_state::IsSet, + S::Image: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { diff --git a/crates/jacquard-api/src/network_slices/tools/bug.rs b/crates/jacquard-api/src/network_slices/tools/bug.rs index d1ef2fb2..ce22a554 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug.rs @@ -40,7 +40,7 @@ pub struct Bug<'a> { #[serde(borrow)] pub namespace: jacquard_common::CowStr<'a>, #[serde(borrow)] - pub severity: jacquard_common::CowStr<'a>, + pub severity: BugSeverity<'a>, #[serde(borrow)] pub steps_to_reproduce: jacquard_common::CowStr<'a>, /// Annotations of steps to reproduce (mentions and links) @@ -63,103 +63,103 @@ pub mod bug_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Description; + type Severity; type Title; - type CreatedAt; type StepsToReproduce; - type Severity; + type CreatedAt; + type Description; type Namespace; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Description = Unset; + type Severity = Unset; type Title = Unset; - type CreatedAt = Unset; type StepsToReproduce = Unset; - type Severity = Unset; + type CreatedAt = Unset; + type Description = Unset; type Namespace = Unset; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { - type Description = Set; + ///State transition - sets the `severity` field to Set + pub struct SetSeverity(PhantomData S>); + impl sealed::Sealed for SetSeverity {} + impl State for SetSeverity { + type Severity = Set; type Title = S::Title; - type CreatedAt = S::CreatedAt; type StepsToReproduce = S::StepsToReproduce; - type Severity = S::Severity; + type CreatedAt = S::CreatedAt; + type Description = S::Description; type Namespace = S::Namespace; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Description = S::Description; + type Severity = S::Severity; type Title = Set; - type CreatedAt = S::CreatedAt; type StepsToReproduce = S::StepsToReproduce; - type Severity = S::Severity; - type Namespace = S::Namespace; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type CreatedAt = S::CreatedAt; type Description = S::Description; - type Title = S::Title; - type CreatedAt = Set; - type StepsToReproduce = S::StepsToReproduce; - type Severity = S::Severity; type Namespace = S::Namespace; } ///State transition - sets the `steps_to_reproduce` field to Set pub struct SetStepsToReproduce(PhantomData S>); impl sealed::Sealed for SetStepsToReproduce {} impl State for SetStepsToReproduce { - type Description = S::Description; + type Severity = S::Severity; type Title = S::Title; - type CreatedAt = S::CreatedAt; type StepsToReproduce = Set; - type Severity = S::Severity; + type CreatedAt = S::CreatedAt; + type Description = S::Description; type Namespace = S::Namespace; } - ///State transition - sets the `severity` field to Set - pub struct SetSeverity(PhantomData S>); - impl sealed::Sealed for SetSeverity {} - impl State for SetSeverity { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Severity = S::Severity; + type Title = S::Title; + type StepsToReproduce = S::StepsToReproduce; + type CreatedAt = Set; type Description = S::Description; + type Namespace = S::Namespace; + } + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { + type Severity = S::Severity; type Title = S::Title; - type CreatedAt = S::CreatedAt; type StepsToReproduce = S::StepsToReproduce; - type Severity = Set; + type CreatedAt = S::CreatedAt; + type Description = Set; type Namespace = S::Namespace; } ///State transition - sets the `namespace` field to Set pub struct SetNamespace(PhantomData S>); impl sealed::Sealed for SetNamespace {} impl State for SetNamespace { - type Description = S::Description; + type Severity = S::Severity; type Title = S::Title; - type CreatedAt = S::CreatedAt; type StepsToReproduce = S::StepsToReproduce; - type Severity = S::Severity; + type CreatedAt = S::CreatedAt; + type Description = S::Description; type Namespace = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `description` field - pub struct description(()); + ///Marker type for the `severity` field + pub struct severity(()); ///Marker type for the `title` field pub struct title(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `steps_to_reproduce` field pub struct steps_to_reproduce(()); - ///Marker type for the `severity` field - pub struct severity(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `description` field + pub struct description(()); ///Marker type for the `namespace` field pub struct namespace(()); } @@ -177,7 +177,7 @@ pub struct BugBuilder<'a, S: bug_state::State> { Vec>, >, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option< Vec>, @@ -337,7 +337,7 @@ where /// Set the `severity` field (required) pub fn severity( mut self, - value: impl Into>, + value: impl Into>, ) -> BugBuilder<'a, bug_state::SetSeverity> { self.__unsafe_private_named.6 = ::core::option::Option::Some(value.into()); BugBuilder { @@ -410,11 +410,11 @@ where impl<'a, S> BugBuilder<'a, S> where S: bug_state::State, - S::Description: bug_state::IsSet, + S::Severity: bug_state::IsSet, S::Title: bug_state::IsSet, - S::CreatedAt: bug_state::IsSet, S::StepsToReproduce: bug_state::IsSet, - S::Severity: bug_state::IsSet, + S::CreatedAt: bug_state::IsSet, + S::Description: bug_state::IsSet, S::Namespace: bug_state::IsSet, { /// Build the final struct @@ -470,6 +470,104 @@ impl<'a> Bug<'a> { } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum BugSeverity<'a> { + Cosmetic, + Annoying, + Broken, + Unusable, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> BugSeverity<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Cosmetic => "cosmetic", + Self::Annoying => "annoying", + Self::Broken => "broken", + Self::Unusable => "unusable", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for BugSeverity<'a> { + fn from(s: &'a str) -> Self { + match s { + "cosmetic" => Self::Cosmetic, + "annoying" => Self::Annoying, + "broken" => Self::Broken, + "unusable" => Self::Unusable, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for BugSeverity<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "cosmetic" => Self::Cosmetic, + "annoying" => Self::Annoying, + "broken" => Self::Broken, + "unusable" => Self::Unusable, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for BugSeverity<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for BugSeverity<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for BugSeverity<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for BugSeverity<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for BugSeverity<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for BugSeverity<'_> { + type Output = BugSeverity<'static>; + fn into_static(self) -> Self::Output { + match self { + BugSeverity::Cosmetic => BugSeverity::Cosmetic, + BugSeverity::Annoying => BugSeverity::Annoying, + BugSeverity::Broken => BugSeverity::Broken, + BugSeverity::Unusable => BugSeverity::Unusable, + BugSeverity::Other(v) => BugSeverity::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/network_slices/tools/bug/comment.rs b/crates/jacquard-api/src/network_slices/tools/bug/comment.rs index 39065d79..b8ea1e0d 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug/comment.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug/comment.rs @@ -48,51 +48,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Bug; type Body; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Bug = Unset; type Body = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Bug = S::Bug; + type Body = S::Body; } ///State transition - sets the `bug` field to Set pub struct SetBug(PhantomData S>); impl sealed::Sealed for SetBug {} impl State for SetBug { + type CreatedAt = S::CreatedAt; type Bug = Set; type Body = S::Body; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { - type Bug = S::Bug; - type Body = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Bug = S::Bug; - type Body = S::Body; - type CreatedAt = Set; + type Body = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `bug` field pub struct bug(()); ///Marker type for the `body` field pub struct body(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -245,9 +245,9 @@ impl<'a, S: comment_state::State> CommentBuilder<'a, S> { impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, + S::CreatedAt: comment_state::IsSet, S::Bug: comment_state::IsSet, S::Body: comment_state::IsSet, - S::CreatedAt: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/network_slices/tools/bug/issue.rs b/crates/jacquard-api/src/network_slices/tools/bug/issue.rs index 9bfabc99..753099f8 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug/issue.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug/issue.rs @@ -37,50 +37,50 @@ pub mod issue_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Bug; - type Issue; type CreatedAt; + type Issue; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Bug = Unset; - type Issue = Unset; type CreatedAt = Unset; + type Issue = Unset; } ///State transition - sets the `bug` field to Set pub struct SetBug(PhantomData S>); impl sealed::Sealed for SetBug {} impl State for SetBug { type Bug = Set; - type Issue = S::Issue; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `issue` field to Set - pub struct SetIssue(PhantomData S>); - impl sealed::Sealed for SetIssue {} - impl State for SetIssue { - type Bug = S::Bug; - type Issue = Set; type CreatedAt = S::CreatedAt; + type Issue = S::Issue; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Bug = S::Bug; - type Issue = S::Issue; type CreatedAt = Set; + type Issue = S::Issue; + } + ///State transition - sets the `issue` field to Set + pub struct SetIssue(PhantomData S>); + impl sealed::Sealed for SetIssue {} + impl State for SetIssue { + type Bug = S::Bug; + type CreatedAt = S::CreatedAt; + type Issue = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `bug` field pub struct bug(()); - ///Marker type for the `issue` field - pub struct issue(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `issue` field + pub struct issue(()); } } @@ -174,8 +174,8 @@ impl<'a, S> IssueBuilder<'a, S> where S: issue_state::State, S::Bug: issue_state::IsSet, - S::Issue: issue_state::IsSet, S::CreatedAt: issue_state::IsSet, + S::Issue: issue_state::IsSet, { /// Build the final struct pub fn build(self) -> Issue<'a> { diff --git a/crates/jacquard-api/src/network_slices/tools/bug/response.rs b/crates/jacquard-api/src/network_slices/tools/bug/response.rs index c05ae956..559d734a 100644 --- a/crates/jacquard-api/src/network_slices/tools/bug/response.rs +++ b/crates/jacquard-api/src/network_slices/tools/bug/response.rs @@ -32,7 +32,7 @@ pub struct Response<'a> { Vec>, >, #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: ResponseStatus<'a>, } pub mod response_state { @@ -45,49 +45,49 @@ pub mod response_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Bug; + type CreatedAt; type Status; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Bug = Unset; + type CreatedAt = Unset; type Status = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Bug = S::Bug; - type Status = S::Status; - } ///State transition - sets the `bug` field to Set pub struct SetBug(PhantomData S>); impl sealed::Sealed for SetBug {} impl State for SetBug { - type CreatedAt = S::CreatedAt; type Bug = Set; + type CreatedAt = S::CreatedAt; + type Status = S::Status; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Bug = S::Bug; + type CreatedAt = Set; type Status = S::Status; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type CreatedAt = S::CreatedAt; type Bug = S::Bug; + type CreatedAt = S::CreatedAt; type Status = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `bug` field pub struct bug(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); } @@ -101,7 +101,7 @@ pub struct ResponseBuilder<'a, S: response_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -205,7 +205,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> ResponseBuilder<'a, response_state::SetStatus> { self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); ResponseBuilder { @@ -219,8 +219,8 @@ where impl<'a, S> ResponseBuilder<'a, S> where S: response_state::State, - S::CreatedAt: response_state::IsSet, S::Bug: response_state::IsSet, + S::CreatedAt: response_state::IsSet, S::Status: response_state::IsSet, { /// Build the final struct @@ -266,6 +266,109 @@ impl<'a> Response<'a> { } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ResponseStatus<'a> { + Acknowledged, + Fixed, + Wontfix, + Duplicate, + Invalid, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ResponseStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Acknowledged => "acknowledged", + Self::Fixed => "fixed", + Self::Wontfix => "wontfix", + Self::Duplicate => "duplicate", + Self::Invalid => "invalid", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ResponseStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "acknowledged" => Self::Acknowledged, + "fixed" => Self::Fixed, + "wontfix" => Self::Wontfix, + "duplicate" => Self::Duplicate, + "invalid" => Self::Invalid, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ResponseStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "acknowledged" => Self::Acknowledged, + "fixed" => Self::Fixed, + "wontfix" => Self::Wontfix, + "duplicate" => Self::Duplicate, + "invalid" => Self::Invalid, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ResponseStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ResponseStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ResponseStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ResponseStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ResponseStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ResponseStatus<'_> { + type Output = ResponseStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + ResponseStatus::Acknowledged => ResponseStatus::Acknowledged, + ResponseStatus::Fixed => ResponseStatus::Fixed, + ResponseStatus::Wontfix => ResponseStatus::Wontfix, + ResponseStatus::Duplicate => ResponseStatus::Duplicate, + ResponseStatus::Invalid => ResponseStatus::Invalid, + ResponseStatus::Other(v) => ResponseStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/network_slices/tools/document.rs b/crates/jacquard-api/src/network_slices/tools/document.rs index def96374..d67e6149 100644 --- a/crates/jacquard-api/src/network_slices/tools/document.rs +++ b/crates/jacquard-api/src/network_slices/tools/document.rs @@ -547,37 +547,37 @@ pub mod heading_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; type Level; + type Text; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; type Level = Unset; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; - type Level = S::Level; + type Text = Unset; } ///State transition - sets the `level` field to Set pub struct SetLevel(PhantomData S>); impl sealed::Sealed for SetLevel {} impl State for SetLevel { - type Text = S::Text; type Level = Set; + type Text = S::Text; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { + type Level = S::Level; + type Text = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `level` field pub struct level(()); + ///Marker type for the `text` field + pub struct text(()); } } @@ -674,8 +674,8 @@ where impl<'a, S> HeadingBuilder<'a, S> where S: heading_state::State, - S::Text: heading_state::IsSet, S::Level: heading_state::IsSet, + S::Text: heading_state::IsSet, { /// Build the final struct pub fn build(self) -> Heading<'a> { @@ -965,66 +965,66 @@ pub mod document_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Slug; + type Title; type CreatedAt; type Blocks; - type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Slug = Unset; + type Title = Unset; type CreatedAt = Unset; type Blocks = Unset; - type Title = Unset; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { type Slug = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Blocks = S::Blocks; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Slug = S::Slug; + type Title = Set; type CreatedAt = S::CreatedAt; type Blocks = S::Blocks; - type Title = S::Title; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Slug = S::Slug; + type Title = S::Title; type CreatedAt = Set; type Blocks = S::Blocks; - type Title = S::Title; } ///State transition - sets the `blocks` field to Set pub struct SetBlocks(PhantomData S>); impl sealed::Sealed for SetBlocks {} impl State for SetBlocks { type Slug = S::Slug; - type CreatedAt = S::CreatedAt; - type Blocks = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Slug = S::Slug; type CreatedAt = S::CreatedAt; - type Blocks = S::Blocks; - type Title = Set; + type Blocks = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `slug` field pub struct slug(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `blocks` field pub struct blocks(()); - ///Marker type for the `title` field - pub struct title(()); } } @@ -1158,9 +1158,9 @@ impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, S::Slug: document_state::IsSet, + S::Title: document_state::IsSet, S::CreatedAt: document_state::IsSet, S::Blocks: document_state::IsSet, - S::Title: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { diff --git a/crates/jacquard-api/src/network_slices/waitlist.rs b/crates/jacquard-api/src/network_slices/waitlist.rs index 2b74d6c3..87bc0286 100644 --- a/crates/jacquard-api/src/network_slices/waitlist.rs +++ b/crates/jacquard-api/src/network_slices/waitlist.rs @@ -52,51 +52,51 @@ pub mod invite_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Did; type Slice; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Did = Unset; type Slice = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Did = S::Did; + type Slice = S::Slice; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { + type CreatedAt = S::CreatedAt; type Did = Set; type Slice = S::Slice; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `slice` field to Set pub struct SetSlice(PhantomData S>); impl sealed::Sealed for SetSlice {} impl State for SetSlice { - type Did = S::Did; - type Slice = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Did = S::Did; - type Slice = S::Slice; - type CreatedAt = Set; + type Slice = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); ///Marker type for the `slice` field pub struct slice(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -249,9 +249,9 @@ impl<'a, S: invite_view_state::State> InviteViewBuilder<'a, S> { impl<'a, S> InviteViewBuilder<'a, S> where S: invite_view_state::State, + S::CreatedAt: invite_view_state::IsSet, S::Did: invite_view_state::IsSet, S::Slice: invite_view_state::IsSet, - S::CreatedAt: invite_view_state::IsSet, { /// Build the final struct pub fn build(self) -> InviteView<'a> { diff --git a/crates/jacquard-api/src/network_slices/waitlist/request.rs b/crates/jacquard-api/src/network_slices/waitlist/request.rs index ec711e2f..ea36d473 100644 --- a/crates/jacquard-api/src/network_slices/waitlist/request.rs +++ b/crates/jacquard-api/src/network_slices/waitlist/request.rs @@ -35,37 +35,37 @@ pub mod request_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Slice; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Slice = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Slice = S::Slice; + type CreatedAt = Unset; } ///State transition - sets the `slice` field to Set pub struct SetSlice(PhantomData S>); impl sealed::Sealed for SetSlice {} impl State for SetSlice { - type CreatedAt = S::CreatedAt; type Slice = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Slice = S::Slice; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `slice` field pub struct slice(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> RequestBuilder<'a, S> where S: request_state::State, - S::CreatedAt: request_state::IsSet, S::Slice: request_state::IsSet, + S::CreatedAt: request_state::IsSet, { /// Build the final struct pub fn build(self) -> Request<'a> { diff --git a/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs b/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs index 57ae946a..58aa8955 100644 --- a/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs +++ b/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs @@ -49,51 +49,51 @@ pub mod collection_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Collection; type CreatedAt; type Subjects; - type Collection; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Collection = Unset; type CreatedAt = Unset; type Subjects = Unset; - type Collection = Unset; + } + ///State transition - sets the `collection` field to Set + pub struct SetCollection(PhantomData S>); + impl sealed::Sealed for SetCollection {} + impl State for SetCollection { + type Collection = Set; + type CreatedAt = S::CreatedAt; + type Subjects = S::Subjects; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Collection = S::Collection; type CreatedAt = Set; type Subjects = S::Subjects; - type Collection = S::Collection; } ///State transition - sets the `subjects` field to Set pub struct SetSubjects(PhantomData S>); impl sealed::Sealed for SetSubjects {} impl State for SetSubjects { - type CreatedAt = S::CreatedAt; - type Subjects = Set; type Collection = S::Collection; - } - ///State transition - sets the `collection` field to Set - pub struct SetCollection(PhantomData S>); - impl sealed::Sealed for SetCollection {} - impl State for SetCollection { type CreatedAt = S::CreatedAt; - type Subjects = S::Subjects; - type Collection = Set; + type Subjects = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `collection` field + pub struct collection(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `subjects` field pub struct subjects(()); - ///Marker type for the `collection` field - pub struct collection(()); } } @@ -246,9 +246,9 @@ impl<'a, S: collection_item_state::State> CollectionItemBuilder<'a, S> { impl<'a, S> CollectionItemBuilder<'a, S> where S: collection_item_state::State, + S::Collection: collection_item_state::IsSet, S::CreatedAt: collection_item_state::IsSet, S::Subjects: collection_item_state::IsSet, - S::Collection: collection_item_state::IsSet, { /// Build the final struct pub fn build(self) -> CollectionItem<'a> { diff --git a/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs b/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs index 93e3e78b..3690e132 100644 --- a/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs +++ b/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs @@ -47,7 +47,7 @@ pub struct Entry<'a> { /// Indicates the intended audience of the entry. A `public` entry (default) is fully public. An `unlisted` entry should not be listed in public profile feeds. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub visibility: std::option::Option>, + pub visibility: std::option::Option>, } pub mod entry_state { @@ -93,7 +93,7 @@ pub struct EntryBuilder<'a, S: entry_state::State> { ::core::option::Option>>, ::core::option::Option>>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -242,18 +242,12 @@ impl<'a, S: entry_state::State> EntryBuilder<'a, S> { impl<'a, S: entry_state::State> EntryBuilder<'a, S> { /// Set the `visibility` field (optional) - pub fn visibility( - mut self, - value: impl Into>>, - ) -> Self { + pub fn visibility(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.7 = value.into(); self } /// Set the `visibility` field to an Option value (optional) - pub fn maybe_visibility( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_visibility(mut self, value: Option>) -> Self { self.__unsafe_private_named.7 = value; self } @@ -313,6 +307,95 @@ impl<'a> Entry<'a> { } } +/// Indicates the intended audience of the entry. A `public` entry (default) is fully public. An `unlisted` entry should not be listed in public profile feeds. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum EntryVisibility<'a> { + Public, + Unlisted, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> EntryVisibility<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Public => "public", + Self::Unlisted => "unlisted", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for EntryVisibility<'a> { + fn from(s: &'a str) -> Self { + match s { + "public" => Self::Public, + "unlisted" => Self::Unlisted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for EntryVisibility<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "public" => Self::Public, + "unlisted" => Self::Unlisted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for EntryVisibility<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for EntryVisibility<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for EntryVisibility<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for EntryVisibility<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for EntryVisibility<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for EntryVisibility<'_> { + type Output = EntryVisibility<'static>; + fn into_static(self) -> Self::Output { + match self { + EntryVisibility::Public => EntryVisibility::Public, + EntryVisibility::Unlisted => EntryVisibility::Unlisted, + EntryVisibility::Other(v) => EntryVisibility::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/place_atwork/endorsement.rs b/crates/jacquard-api/src/place_atwork/endorsement.rs index d18f0dc3..c7d255ea 100644 --- a/crates/jacquard-api/src/place_atwork/endorsement.rs +++ b/crates/jacquard-api/src/place_atwork/endorsement.rs @@ -47,67 +47,67 @@ pub mod endorsement_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; type Giver; - type Receiver; type CreatedAt; + type Text; + type Receiver; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; type Giver = Unset; - type Receiver = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; - type Giver = S::Giver; - type Receiver = S::Receiver; - type CreatedAt = S::CreatedAt; + type Text = Unset; + type Receiver = Unset; } ///State transition - sets the `giver` field to Set pub struct SetGiver(PhantomData S>); impl sealed::Sealed for SetGiver {} impl State for SetGiver { - type Text = S::Text; type Giver = Set; - type Receiver = S::Receiver; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `receiver` field to Set - pub struct SetReceiver(PhantomData S>); - impl sealed::Sealed for SetReceiver {} - impl State for SetReceiver { type Text = S::Text; - type Giver = S::Giver; - type Receiver = Set; - type CreatedAt = S::CreatedAt; + type Receiver = S::Receiver; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Giver = S::Giver; + type CreatedAt = Set; type Text = S::Text; + type Receiver = S::Receiver; + } + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { type Giver = S::Giver; + type CreatedAt = S::CreatedAt; + type Text = Set; type Receiver = S::Receiver; - type CreatedAt = Set; + } + ///State transition - sets the `receiver` field to Set + pub struct SetReceiver(PhantomData S>); + impl sealed::Sealed for SetReceiver {} + impl State for SetReceiver { + type Giver = S::Giver; + type CreatedAt = S::CreatedAt; + type Text = S::Text; + type Receiver = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `giver` field pub struct giver(()); - ///Marker type for the `receiver` field - pub struct receiver(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `text` field + pub struct text(()); + ///Marker type for the `receiver` field + pub struct receiver(()); } } @@ -242,10 +242,10 @@ where impl<'a, S> EndorsementBuilder<'a, S> where S: endorsement_state::State, - S::Text: endorsement_state::IsSet, S::Giver: endorsement_state::IsSet, - S::Receiver: endorsement_state::IsSet, S::CreatedAt: endorsement_state::IsSet, + S::Text: endorsement_state::IsSet, + S::Receiver: endorsement_state::IsSet, { /// Build the final struct pub fn build(self) -> Endorsement<'a> { diff --git a/crates/jacquard-api/src/place_atwork/get_listing.rs b/crates/jacquard-api/src/place_atwork/get_listing.rs index 6b94248c..33c4c2f0 100644 --- a/crates/jacquard-api/src/place_atwork/get_listing.rs +++ b/crates/jacquard-api/src/place_atwork/get_listing.rs @@ -197,8 +197,8 @@ pub enum GetListingError<'a> { ListingFetchFailed(std::option::Option>), } -impl std::fmt::Display for GetListingError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetListingError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ListingNotFound(msg) => { write!(f, "ListingNotFound")?; diff --git a/crates/jacquard-api/src/place_atwork/get_listings.rs b/crates/jacquard-api/src/place_atwork/get_listings.rs index d39b3d69..c8778e2d 100644 --- a/crates/jacquard-api/src/place_atwork/get_listings.rs +++ b/crates/jacquard-api/src/place_atwork/get_listings.rs @@ -40,37 +40,37 @@ pub mod listing_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -163,8 +163,8 @@ impl<'a, S: listing_record_state::State> ListingRecordBuilder<'a, S> { impl<'a, S> ListingRecordBuilder<'a, S> where S: listing_record_state::State, - S::Cid: listing_record_state::IsSet, S::Uri: listing_record_state::IsSet, + S::Cid: listing_record_state::IsSet, { /// Build the final struct pub fn build(self) -> ListingRecord<'a> { diff --git a/crates/jacquard-api/src/place_atwork/listing.rs b/crates/jacquard-api/src/place_atwork/listing.rs index 3e47bf63..fe27894a 100644 --- a/crates/jacquard-api/src/place_atwork/listing.rs +++ b/crates/jacquard-api/src/place_atwork/listing.rs @@ -58,67 +58,67 @@ pub mod listing_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type NotBefore; + type Title; type Description; type NotAfter; - type Title; + type NotBefore; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type NotBefore = Unset; + type Title = Unset; type Description = Unset; type NotAfter = Unset; - type Title = Unset; + type NotBefore = Unset; } - ///State transition - sets the `not_before` field to Set - pub struct SetNotBefore(PhantomData S>); - impl sealed::Sealed for SetNotBefore {} - impl State for SetNotBefore { - type NotBefore = Set; + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; type Description = S::Description; type NotAfter = S::NotAfter; - type Title = S::Title; + type NotBefore = S::NotBefore; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type NotBefore = S::NotBefore; + type Title = S::Title; type Description = Set; type NotAfter = S::NotAfter; - type Title = S::Title; + type NotBefore = S::NotBefore; } ///State transition - sets the `not_after` field to Set pub struct SetNotAfter(PhantomData S>); impl sealed::Sealed for SetNotAfter {} impl State for SetNotAfter { - type NotBefore = S::NotBefore; + type Title = S::Title; type Description = S::Description; type NotAfter = Set; - type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { type NotBefore = S::NotBefore; + } + ///State transition - sets the `not_before` field to Set + pub struct SetNotBefore(PhantomData S>); + impl sealed::Sealed for SetNotBefore {} + impl State for SetNotBefore { + type Title = S::Title; type Description = S::Description; type NotAfter = S::NotAfter; - type Title = Set; + type NotBefore = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `not_before` field - pub struct not_before(()); + ///Marker type for the `title` field + pub struct title(()); ///Marker type for the `description` field pub struct description(()); ///Marker type for the `not_after` field pub struct not_after(()); - ///Marker type for the `title` field - pub struct title(()); + ///Marker type for the `not_before` field + pub struct not_before(()); } } @@ -315,10 +315,10 @@ where impl<'a, S> ListingBuilder<'a, S> where S: listing_state::State, - S::NotBefore: listing_state::IsSet, + S::Title: listing_state::IsSet, S::Description: listing_state::IsSet, S::NotAfter: listing_state::IsSet, - S::Title: listing_state::IsSet, + S::NotBefore: listing_state::IsSet, { /// Build the final struct pub fn build(self) -> Listing<'a> { diff --git a/crates/jacquard-api/src/place_atwork/profile.rs b/crates/jacquard-api/src/place_atwork/profile.rs index b276b38a..a1011caf 100644 --- a/crates/jacquard-api/src/place_atwork/profile.rs +++ b/crates/jacquard-api/src/place_atwork/profile.rs @@ -77,7 +77,7 @@ pub struct Profile<'a> { /// The service used for profile links #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub profile_host: std::option::Option>, + pub profile_host: std::option::Option>, /// The identity's resume. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -85,7 +85,7 @@ pub struct Profile<'a> { /// The current status of the identity. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, } pub mod profile_state { @@ -116,9 +116,9 @@ pub struct ProfileBuilder<'a, S: profile_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -240,16 +240,13 @@ impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { /// Set the `profile_host` field (optional) pub fn profile_host( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.5 = value.into(); self } /// Set the `profile_host` field to an Option value (optional) - pub fn maybe_profile_host( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_profile_host(mut self, value: Option>) -> Self { self.__unsafe_private_named.5 = value; self } @@ -276,15 +273,12 @@ impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.7 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.7 = value; self } @@ -343,6 +337,186 @@ impl<'a> Profile<'a> { } } +/// The service used for profile links +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ProfileProfileHost<'a> { + BskyApp, + BlackskyCommunity, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ProfileProfileHost<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::BskyApp => "bsky.app", + Self::BlackskyCommunity => "blacksky.community", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ProfileProfileHost<'a> { + fn from(s: &'a str) -> Self { + match s { + "bsky.app" => Self::BskyApp, + "blacksky.community" => Self::BlackskyCommunity, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ProfileProfileHost<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "bsky.app" => Self::BskyApp, + "blacksky.community" => Self::BlackskyCommunity, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ProfileProfileHost<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ProfileProfileHost<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ProfileProfileHost<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ProfileProfileHost<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ProfileProfileHost<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ProfileProfileHost<'_> { + type Output = ProfileProfileHost<'static>; + fn into_static(self) -> Self::Output { + match self { + ProfileProfileHost::BskyApp => ProfileProfileHost::BskyApp, + ProfileProfileHost::BlackskyCommunity => { + ProfileProfileHost::BlackskyCommunity + } + ProfileProfileHost::Other(v) => ProfileProfileHost::Other(v.into_static()), + } + } +} + +/// The current status of the identity. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ProfileStatus<'a> { + Hiring, + Forhire, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ProfileStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Hiring => "place.atwork.profile#hiring", + Self::Forhire => "place.atwork.profile#forhire", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ProfileStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "place.atwork.profile#hiring" => Self::Hiring, + "place.atwork.profile#forhire" => Self::Forhire, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ProfileStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "place.atwork.profile#hiring" => Self::Hiring, + "place.atwork.profile#forhire" => Self::Forhire, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ProfileStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ProfileStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ProfileStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ProfileStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ProfileStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ProfileStatus<'_> { + type Output = ProfileStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + ProfileStatus::Hiring => ProfileStatus::Hiring, + ProfileStatus::Forhire => ProfileStatus::Forhire, + ProfileStatus::Other(v) => ProfileStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/place_atwork/search_listings.rs b/crates/jacquard-api/src/place_atwork/search_listings.rs index 4c672705..54a1f714 100644 --- a/crates/jacquard-api/src/place_atwork/search_listings.rs +++ b/crates/jacquard-api/src/place_atwork/search_listings.rs @@ -479,8 +479,8 @@ pub enum SearchListingsError<'a> { SearchFailed(std::option::Option>), } -impl std::fmt::Display for SearchListingsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for SearchListingsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::SearchFailed(msg) => { write!(f, "SearchFailed")?; diff --git a/crates/jacquard-api/src/place_stream.rs b/crates/jacquard-api/src/place_stream.rs index ced50fac..33560c8b 100644 --- a/crates/jacquard-api/src/place_stream.rs +++ b/crates/jacquard-api/src/place_stream.rs @@ -49,85 +49,85 @@ pub mod block_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; - type Uri; type IndexedAt; - type Blocker; type Cid; + type Uri; + type Blocker; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; - type Uri = Unset; type IndexedAt = Unset; - type Blocker = Unset; type Cid = Unset; + type Uri = Unset; + type Blocker = Unset; + type Record = Unset; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type IndexedAt = Set; + type Cid = S::Cid; type Uri = S::Uri; + type Blocker = S::Blocker; + type Record = S::Record; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type IndexedAt = S::IndexedAt; + type Cid = Set; + type Uri = S::Uri; type Blocker = S::Blocker; - type Cid = S::Cid; + type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Record = S::Record; - type Uri = Set; type IndexedAt = S::IndexedAt; - type Blocker = S::Blocker; type Cid = S::Cid; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Record = S::Record; - type Uri = S::Uri; - type IndexedAt = Set; + type Uri = Set; type Blocker = S::Blocker; - type Cid = S::Cid; + type Record = S::Record; } ///State transition - sets the `blocker` field to Set pub struct SetBlocker(PhantomData S>); impl sealed::Sealed for SetBlocker {} impl State for SetBlocker { - type Record = S::Record; - type Uri = S::Uri; type IndexedAt = S::IndexedAt; - type Blocker = Set; type Cid = S::Cid; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Record = S::Record; type Uri = S::Uri; + type Blocker = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { type IndexedAt = S::IndexedAt; + type Cid = S::Cid; + type Uri = S::Uri; type Blocker = S::Blocker; - type Cid = Set; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `blocker` field - pub struct blocker(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `blocker` field + pub struct blocker(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -260,11 +260,11 @@ where impl<'a, S> BlockViewBuilder<'a, S> where S: block_view_state::State, - S::Record: block_view_state::IsSet, - S::Uri: block_view_state::IsSet, S::IndexedAt: block_view_state::IsSet, - S::Blocker: block_view_state::IsSet, S::Cid: block_view_state::IsSet, + S::Uri: block_view_state::IsSet, + S::Blocker: block_view_state::IsSet, + S::Record: block_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BlockView<'a> { diff --git a/crates/jacquard-api/src/place_stream/broadcast.rs b/crates/jacquard-api/src/place_stream/broadcast.rs index 58fc59c6..9e38191c 100644 --- a/crates/jacquard-api/src/place_stream/broadcast.rs +++ b/crates/jacquard-api/src/place_stream/broadcast.rs @@ -41,67 +41,67 @@ pub mod broadcast_origin_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; type Uri; - type Record; + type Cid; type Author; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; type Uri = Unset; - type Record = Unset; + type Cid = Unset; type Author = Unset; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; - type Record = S::Record; - type Author = S::Author; + type Record = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; type Uri = Set; - type Record = S::Record; + type Cid = S::Cid; type Author = S::Author; + type Record = S::Record; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Cid = S::Cid; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; - type Record = Set; + type Cid = Set; type Author = S::Author; + type Record = S::Record; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Cid = S::Cid; type Uri = S::Uri; - type Record = S::Record; + type Cid = S::Cid; type Author = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Uri = S::Uri; + type Cid = S::Cid; + type Author = S::Author; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `record` field - pub struct record(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -214,10 +214,10 @@ where impl<'a, S> BroadcastOriginViewBuilder<'a, S> where S: broadcast_origin_view_state::State, - S::Cid: broadcast_origin_view_state::IsSet, S::Uri: broadcast_origin_view_state::IsSet, - S::Record: broadcast_origin_view_state::IsSet, + S::Cid: broadcast_origin_view_state::IsSet, S::Author: broadcast_origin_view_state::IsSet, + S::Record: broadcast_origin_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BroadcastOriginView<'a> { diff --git a/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs b/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs index 849bfcb5..7d80053b 100644 --- a/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs +++ b/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs @@ -52,8 +52,8 @@ pub struct GetBroadcasterOutput<'a> { #[serde(tag = "error", content = "message")] #[serde(bound(deserialize = "'de: 'a"))] pub enum GetBroadcasterError<'a> {} -impl std::fmt::Display for GetBroadcasterError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetBroadcasterError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), } diff --git a/crates/jacquard-api/src/place_stream/broadcast/origin.rs b/crates/jacquard-api/src/place_stream/broadcast/origin.rs index d1c33007..928cc873 100644 --- a/crates/jacquard-api/src/place_stream/broadcast/origin.rs +++ b/crates/jacquard-api/src/place_stream/broadcast/origin.rs @@ -50,51 +50,51 @@ pub mod origin_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type UpdatedAt; type Streamer; type Server; - type UpdatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type UpdatedAt = Unset; type Streamer = Unset; type Server = Unset; - type UpdatedAt = Unset; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type UpdatedAt = Set; + type Streamer = S::Streamer; + type Server = S::Server; } ///State transition - sets the `streamer` field to Set pub struct SetStreamer(PhantomData S>); impl sealed::Sealed for SetStreamer {} impl State for SetStreamer { + type UpdatedAt = S::UpdatedAt; type Streamer = Set; type Server = S::Server; - type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `server` field to Set pub struct SetServer(PhantomData S>); impl sealed::Sealed for SetServer {} impl State for SetServer { - type Streamer = S::Streamer; - type Server = Set; type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { type Streamer = S::Streamer; - type Server = S::Server; - type UpdatedAt = Set; + type Server = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `updated_at` field + pub struct updated_at(()); ///Marker type for the `streamer` field pub struct streamer(()); ///Marker type for the `server` field pub struct server(()); - ///Marker type for the `updated_at` field - pub struct updated_at(()); } } @@ -247,9 +247,9 @@ impl<'a, S: origin_state::State> OriginBuilder<'a, S> { impl<'a, S> OriginBuilder<'a, S> where S: origin_state::State, + S::UpdatedAt: origin_state::IsSet, S::Streamer: origin_state::IsSet, S::Server: origin_state::IsSet, - S::UpdatedAt: origin_state::IsSet, { /// Build the final struct pub fn build(self) -> Origin<'a> { diff --git a/crates/jacquard-api/src/place_stream/chat.rs b/crates/jacquard-api/src/place_stream/chat.rs index f55e4c60..2fb1d069 100644 --- a/crates/jacquard-api/src/place_stream/chat.rs +++ b/crates/jacquard-api/src/place_stream/chat.rs @@ -53,85 +53,85 @@ pub mod message_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; - type Cid; type Author; - type Uri; + type IndexedAt; type Record; + type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; - type Cid = Unset; type Author = Unset; - type Uri = Unset; + type IndexedAt = Unset; type Record = Unset; + type Uri = Unset; + type Cid = Unset; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Author = Set; + type IndexedAt = S::IndexedAt; + type Record = S::Record; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type IndexedAt = Set; - type Cid = S::Cid; type Author = S::Author; - type Uri = S::Uri; + type IndexedAt = Set; type Record = S::Record; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type IndexedAt = S::IndexedAt; - type Cid = Set; - type Author = S::Author; type Uri = S::Uri; - type Record = S::Record; + type Cid = S::Cid; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Author = S::Author; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Author = Set; + type Record = Set; type Uri = S::Uri; - type Record = S::Record; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; type Author = S::Author; - type Uri = Set; - type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { type IndexedAt = S::IndexedAt; + type Record = S::Record; + type Uri = Set; type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Author = S::Author; + type IndexedAt = S::IndexedAt; + type Record = S::Record; type Uri = S::Uri; - type Record = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `author` field pub struct author(()); - ///Marker type for the `uri` field - pub struct uri(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -312,11 +312,11 @@ where impl<'a, S> MessageViewBuilder<'a, S> where S: message_view_state::State, - S::IndexedAt: message_view_state::IsSet, - S::Cid: message_view_state::IsSet, S::Author: message_view_state::IsSet, - S::Uri: message_view_state::IsSet, + S::IndexedAt: message_view_state::IsSet, S::Record: message_view_state::IsSet, + S::Uri: message_view_state::IsSet, + S::Cid: message_view_state::IsSet, { /// Build the final struct pub fn build(self) -> MessageView<'a> { diff --git a/crates/jacquard-api/src/place_stream/chat/message.rs b/crates/jacquard-api/src/place_stream/chat/message.rs index 78cac0f6..f9db244c 100644 --- a/crates/jacquard-api/src/place_stream/chat/message.rs +++ b/crates/jacquard-api/src/place_stream/chat/message.rs @@ -47,51 +47,51 @@ pub mod message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Streamer; type Text; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Streamer = Unset; type Text = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Streamer = S::Streamer; - type Text = S::Text; + type CreatedAt = Unset; } ///State transition - sets the `streamer` field to Set pub struct SetStreamer(PhantomData S>); impl sealed::Sealed for SetStreamer {} impl State for SetStreamer { - type CreatedAt = S::CreatedAt; type Streamer = Set; type Text = S::Text; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `text` field to Set pub struct SetText(PhantomData S>); impl sealed::Sealed for SetText {} impl State for SetText { - type CreatedAt = S::CreatedAt; type Streamer = S::Streamer; type Text = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Streamer = S::Streamer; + type Text = S::Text; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `streamer` field pub struct streamer(()); ///Marker type for the `text` field pub struct text(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -224,9 +224,9 @@ where impl<'a, S> MessageBuilder<'a, S> where S: message_state::State, - S::CreatedAt: message_state::IsSet, S::Streamer: message_state::IsSet, S::Text: message_state::IsSet, + S::CreatedAt: message_state::IsSet, { /// Build the final struct pub fn build(self) -> Message<'a> { @@ -564,37 +564,37 @@ pub mod reply_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Parent; type Root; + type Parent; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Parent = Unset; type Root = Unset; - } - ///State transition - sets the `parent` field to Set - pub struct SetParent(PhantomData S>); - impl sealed::Sealed for SetParent {} - impl State for SetParent { - type Parent = Set; - type Root = S::Root; + type Parent = Unset; } ///State transition - sets the `root` field to Set pub struct SetRoot(PhantomData S>); impl sealed::Sealed for SetRoot {} impl State for SetRoot { - type Parent = S::Parent; type Root = Set; + type Parent = S::Parent; + } + ///State transition - sets the `parent` field to Set + pub struct SetParent(PhantomData S>); + impl sealed::Sealed for SetParent {} + impl State for SetParent { + type Root = S::Root; + type Parent = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `parent` field - pub struct parent(()); ///Marker type for the `root` field pub struct root(()); + ///Marker type for the `parent` field + pub struct parent(()); } } @@ -667,8 +667,8 @@ where impl<'a, S> ReplyRefBuilder<'a, S> where S: reply_ref_state::State, - S::Parent: reply_ref_state::IsSet, S::Root: reply_ref_state::IsSet, + S::Parent: reply_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ReplyRef<'a> { diff --git a/crates/jacquard-api/src/place_stream/chat/profile.rs b/crates/jacquard-api/src/place_stream/chat/profile.rs index bd98f395..7e56ba45 100644 --- a/crates/jacquard-api/src/place_stream/chat/profile.rs +++ b/crates/jacquard-api/src/place_stream/chat/profile.rs @@ -33,51 +33,51 @@ pub mod color_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Green; type Red; type Blue; + type Green; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Green = Unset; type Red = Unset; type Blue = Unset; - } - ///State transition - sets the `green` field to Set - pub struct SetGreen(PhantomData S>); - impl sealed::Sealed for SetGreen {} - impl State for SetGreen { - type Green = Set; - type Red = S::Red; - type Blue = S::Blue; + type Green = Unset; } ///State transition - sets the `red` field to Set pub struct SetRed(PhantomData S>); impl sealed::Sealed for SetRed {} impl State for SetRed { - type Green = S::Green; type Red = Set; type Blue = S::Blue; + type Green = S::Green; } ///State transition - sets the `blue` field to Set pub struct SetBlue(PhantomData S>); impl sealed::Sealed for SetBlue {} impl State for SetBlue { - type Green = S::Green; type Red = S::Red; type Blue = Set; + type Green = S::Green; + } + ///State transition - sets the `green` field to Set + pub struct SetGreen(PhantomData S>); + impl sealed::Sealed for SetGreen {} + impl State for SetGreen { + type Red = S::Red; + type Blue = S::Blue; + type Green = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `green` field - pub struct green(()); ///Marker type for the `red` field pub struct red(()); ///Marker type for the `blue` field pub struct blue(()); + ///Marker type for the `green` field + pub struct green(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> ColorBuilder<'a, S> where S: color_state::State, - S::Green: color_state::IsSet, S::Red: color_state::IsSet, S::Blue: color_state::IsSet, + S::Green: color_state::IsSet, { /// Build the final struct pub fn build(self) -> Color<'a> { diff --git a/crates/jacquard-api/src/place_stream/graph/get_following_user.rs b/crates/jacquard-api/src/place_stream/graph/get_following_user.rs index 058333cf..2cedc1ec 100644 --- a/crates/jacquard-api/src/place_stream/graph/get_following_user.rs +++ b/crates/jacquard-api/src/place_stream/graph/get_following_user.rs @@ -32,37 +32,37 @@ pub mod get_following_user_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UserDid; type SubjectDid; + type UserDid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UserDid = Unset; type SubjectDid = Unset; - } - ///State transition - sets the `user_did` field to Set - pub struct SetUserDid(PhantomData S>); - impl sealed::Sealed for SetUserDid {} - impl State for SetUserDid { - type UserDid = Set; - type SubjectDid = S::SubjectDid; + type UserDid = Unset; } ///State transition - sets the `subject_did` field to Set pub struct SetSubjectDid(PhantomData S>); impl sealed::Sealed for SetSubjectDid {} impl State for SetSubjectDid { - type UserDid = S::UserDid; type SubjectDid = Set; + type UserDid = S::UserDid; + } + ///State transition - sets the `user_did` field to Set + pub struct SetUserDid(PhantomData S>); + impl sealed::Sealed for SetUserDid {} + impl State for SetUserDid { + type SubjectDid = S::SubjectDid; + type UserDid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `user_did` field - pub struct user_did(()); ///Marker type for the `subject_did` field pub struct subject_did(()); + ///Marker type for the `user_did` field + pub struct user_did(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetFollowingUserBuilder<'a, S> where S: get_following_user_state::State, - S::UserDid: get_following_user_state::IsSet, S::SubjectDid: get_following_user_state::IsSet, + S::UserDid: get_following_user_state::IsSet, { /// Build the final struct pub fn build(self) -> GetFollowingUser<'a> { diff --git a/crates/jacquard-api/src/place_stream/live/get_profile_card.rs b/crates/jacquard-api/src/place_stream/live/get_profile_card.rs index 77e5d99c..7cc5c76d 100644 --- a/crates/jacquard-api/src/place_stream/live/get_profile_card.rs +++ b/crates/jacquard-api/src/place_stream/live/get_profile_card.rs @@ -142,8 +142,8 @@ pub enum GetProfileCardError<'a> { RepoNotFound(std::option::Option>), } -impl std::fmt::Display for GetProfileCardError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetProfileCardError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/place_stream/livestream.rs b/crates/jacquard-api/src/place_stream/livestream.rs index 6f4c6f78..80be0d41 100644 --- a/crates/jacquard-api/src/place_stream/livestream.rs +++ b/crates/jacquard-api/src/place_stream/livestream.rs @@ -44,85 +44,85 @@ pub mod livestream_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; type Author; type Cid; - type IndexedAt; type Record; + type Uri; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; type Author = Unset; type Cid = Unset; - type IndexedAt = Unset; type Record = Unset; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type Author = S::Author; - type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = S::Record; + type Uri = Unset; + type IndexedAt = Unset; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Uri = S::Uri; type Author = Set; type Cid = S::Cid; - type IndexedAt = S::IndexedAt; type Record = S::Record; + type Uri = S::Uri; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; type Author = S::Author; type Cid = Set; - type IndexedAt = S::IndexedAt; type Record = S::Record; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { type Uri = S::Uri; - type Author = S::Author; - type Cid = S::Cid; - type IndexedAt = Set; - type Record = S::Record; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { + type Author = S::Author; + type Cid = S::Cid; + type Record = Set; type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { type Author = S::Author; type Cid = S::Cid; + type Record = S::Record; + type Uri = Set; type IndexedAt = S::IndexedAt; - type Record = Set; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Author = S::Author; + type Cid = S::Cid; + type Record = S::Record; + type Uri = S::Uri; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `author` field pub struct author(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -275,11 +275,11 @@ impl<'a, S: livestream_view_state::State> LivestreamViewBuilder<'a, S> { impl<'a, S> LivestreamViewBuilder<'a, S> where S: livestream_view_state::State, - S::Uri: livestream_view_state::IsSet, S::Author: livestream_view_state::IsSet, S::Cid: livestream_view_state::IsSet, - S::IndexedAt: livestream_view_state::IsSet, S::Record: livestream_view_state::IsSet, + S::Uri: livestream_view_state::IsSet, + S::IndexedAt: livestream_view_state::IsSet, { /// Build the final struct pub fn build(self) -> LivestreamView<'a> { diff --git a/crates/jacquard-api/src/place_stream/metadata/content_rights.rs b/crates/jacquard-api/src/place_stream/metadata/content_rights.rs index eaa13306..f9546870 100644 --- a/crates/jacquard-api/src/place_stream/metadata/content_rights.rs +++ b/crates/jacquard-api/src/place_stream/metadata/content_rights.rs @@ -181,7 +181,136 @@ pub struct ContentRights<'a> { /// License URL or identifier. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub license: std::option::Option>, + pub license: std::option::Option>, +} + +/// License URL or identifier. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ContentRightsLicense<'a> { + AllRightsReserved, + Cc010, + CcBy40, + CcBySa40, + CcByNc40, + CcByNcSa40, + CcByNd40, + CcByNcNd40, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ContentRightsLicense<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::AllRightsReserved => { + "place.stream.metadata.contentRights#all-rights-reserved" + } + Self::Cc010 => "place.stream.metadata.contentRights#cc0_1__0", + Self::CcBy40 => "place.stream.metadata.contentRights#cc-by_4__0", + Self::CcBySa40 => "place.stream.metadata.contentRights#cc-by-sa_4__0", + Self::CcByNc40 => "place.stream.metadata.contentRights#cc-by-nc_4__0", + Self::CcByNcSa40 => "place.stream.metadata.contentRights#cc-by-nc-sa_4__0", + Self::CcByNd40 => "place.stream.metadata.contentRights#cc-by-nd_4__0", + Self::CcByNcNd40 => "place.stream.metadata.contentRights#cc-by-nc-nd_4__0", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ContentRightsLicense<'a> { + fn from(s: &'a str) -> Self { + match s { + "place.stream.metadata.contentRights#all-rights-reserved" => { + Self::AllRightsReserved + } + "place.stream.metadata.contentRights#cc0_1__0" => Self::Cc010, + "place.stream.metadata.contentRights#cc-by_4__0" => Self::CcBy40, + "place.stream.metadata.contentRights#cc-by-sa_4__0" => Self::CcBySa40, + "place.stream.metadata.contentRights#cc-by-nc_4__0" => Self::CcByNc40, + "place.stream.metadata.contentRights#cc-by-nc-sa_4__0" => Self::CcByNcSa40, + "place.stream.metadata.contentRights#cc-by-nd_4__0" => Self::CcByNd40, + "place.stream.metadata.contentRights#cc-by-nc-nd_4__0" => Self::CcByNcNd40, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ContentRightsLicense<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "place.stream.metadata.contentRights#all-rights-reserved" => { + Self::AllRightsReserved + } + "place.stream.metadata.contentRights#cc0_1__0" => Self::Cc010, + "place.stream.metadata.contentRights#cc-by_4__0" => Self::CcBy40, + "place.stream.metadata.contentRights#cc-by-sa_4__0" => Self::CcBySa40, + "place.stream.metadata.contentRights#cc-by-nc_4__0" => Self::CcByNc40, + "place.stream.metadata.contentRights#cc-by-nc-sa_4__0" => Self::CcByNcSa40, + "place.stream.metadata.contentRights#cc-by-nd_4__0" => Self::CcByNd40, + "place.stream.metadata.contentRights#cc-by-nc-nd_4__0" => Self::CcByNcNd40, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ContentRightsLicense<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ContentRightsLicense<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ContentRightsLicense<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ContentRightsLicense<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ContentRightsLicense<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ContentRightsLicense<'_> { + type Output = ContentRightsLicense<'static>; + fn into_static(self) -> Self::Output { + match self { + ContentRightsLicense::AllRightsReserved => { + ContentRightsLicense::AllRightsReserved + } + ContentRightsLicense::Cc010 => ContentRightsLicense::Cc010, + ContentRightsLicense::CcBy40 => ContentRightsLicense::CcBy40, + ContentRightsLicense::CcBySa40 => ContentRightsLicense::CcBySa40, + ContentRightsLicense::CcByNc40 => ContentRightsLicense::CcByNc40, + ContentRightsLicense::CcByNcSa40 => ContentRightsLicense::CcByNcSa40, + ContentRightsLicense::CcByNd40 => ContentRightsLicense::CcByNd40, + ContentRightsLicense::CcByNcNd40 => ContentRightsLicense::CcByNcNd40, + ContentRightsLicense::Other(v) => { + ContentRightsLicense::Other(v.into_static()) + } + } + } } fn lexicon_doc_place_stream_metadata_contentRights() -> ::jacquard_lexicon::lexicon::LexiconDoc< diff --git a/crates/jacquard-api/src/place_stream/segment.rs b/crates/jacquard-api/src/place_stream/segment.rs index 538d0c64..bc521cbb 100644 --- a/crates/jacquard-api/src/place_stream/segment.rs +++ b/crates/jacquard-api/src/place_stream/segment.rs @@ -33,51 +33,51 @@ pub mod audio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Codec; type Rate; type Channels; - type Codec; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Codec = Unset; type Rate = Unset; type Channels = Unset; - type Codec = Unset; + } + ///State transition - sets the `codec` field to Set + pub struct SetCodec(PhantomData S>); + impl sealed::Sealed for SetCodec {} + impl State for SetCodec { + type Codec = Set; + type Rate = S::Rate; + type Channels = S::Channels; } ///State transition - sets the `rate` field to Set pub struct SetRate(PhantomData S>); impl sealed::Sealed for SetRate {} impl State for SetRate { + type Codec = S::Codec; type Rate = Set; type Channels = S::Channels; - type Codec = S::Codec; } ///State transition - sets the `channels` field to Set pub struct SetChannels(PhantomData S>); impl sealed::Sealed for SetChannels {} impl State for SetChannels { - type Rate = S::Rate; - type Channels = Set; type Codec = S::Codec; - } - ///State transition - sets the `codec` field to Set - pub struct SetCodec(PhantomData S>); - impl sealed::Sealed for SetCodec {} - impl State for SetCodec { type Rate = S::Rate; - type Channels = S::Channels; - type Codec = Set; + type Channels = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `codec` field + pub struct codec(()); ///Marker type for the `rate` field pub struct rate(()); ///Marker type for the `channels` field pub struct channels(()); - ///Marker type for the `codec` field - pub struct codec(()); } } @@ -170,9 +170,9 @@ where impl<'a, S> AudioBuilder<'a, S> where S: audio_state::State, + S::Codec: audio_state::IsSet, S::Rate: audio_state::IsSet, S::Channels: audio_state::IsSet, - S::Codec: audio_state::IsSet, { /// Build the final struct pub fn build(self) -> Audio<'a> { @@ -864,66 +864,66 @@ pub mod segment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Id; + type SigningKey; type StartTime; type Creator; - type SigningKey; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Id = Unset; + type SigningKey = Unset; type StartTime = Unset; type Creator = Unset; - type SigningKey = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Id = Set; + type SigningKey = S::SigningKey; + type StartTime = S::StartTime; + type Creator = S::Creator; + } + ///State transition - sets the `signing_key` field to Set + pub struct SetSigningKey(PhantomData S>); + impl sealed::Sealed for SetSigningKey {} + impl State for SetSigningKey { + type Id = S::Id; + type SigningKey = Set; type StartTime = S::StartTime; type Creator = S::Creator; - type SigningKey = S::SigningKey; } ///State transition - sets the `start_time` field to Set pub struct SetStartTime(PhantomData S>); impl sealed::Sealed for SetStartTime {} impl State for SetStartTime { type Id = S::Id; + type SigningKey = S::SigningKey; type StartTime = Set; type Creator = S::Creator; - type SigningKey = S::SigningKey; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { type Id = S::Id; - type StartTime = S::StartTime; - type Creator = Set; type SigningKey = S::SigningKey; - } - ///State transition - sets the `signing_key` field to Set - pub struct SetSigningKey(PhantomData S>); - impl sealed::Sealed for SetSigningKey {} - impl State for SetSigningKey { - type Id = S::Id; type StartTime = S::StartTime; - type Creator = S::Creator; - type SigningKey = Set; + type Creator = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `signing_key` field + pub struct signing_key(()); ///Marker type for the `start_time` field pub struct start_time(()); ///Marker type for the `creator` field pub struct creator(()); - ///Marker type for the `signing_key` field - pub struct signing_key(()); } } @@ -1197,9 +1197,9 @@ impl<'a, S> SegmentBuilder<'a, S> where S: segment_state::State, S::Id: segment_state::IsSet, + S::SigningKey: segment_state::IsSet, S::StartTime: segment_state::IsSet, S::Creator: segment_state::IsSet, - S::SigningKey: segment_state::IsSet, { /// Build the final struct pub fn build(self) -> Segment<'a> { @@ -1529,49 +1529,49 @@ pub mod video_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; type Codec; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; + type Width = Unset; type Codec = Unset; } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; - type Codec = S::Codec; - } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + type Codec = S::Codec; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; type Codec = S::Codec; } ///State transition - sets the `codec` field to Set pub struct SetCodec(PhantomData S>); impl sealed::Sealed for SetCodec {} impl State for SetCodec { - type Width = S::Width; type Height = S::Height; + type Width = S::Width; type Codec = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); ///Marker type for the `codec` field pub struct codec(()); } @@ -1700,8 +1700,8 @@ where impl<'a, S> VideoBuilder<'a, S> where S: video_state::State, - S::Width: video_state::IsSet, S::Height: video_state::IsSet, + S::Width: video_state::IsSet, S::Codec: video_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/place_stream/server.rs b/crates/jacquard-api/src/place_stream/server.rs index a6d94bf1..4286d2e3 100644 --- a/crates/jacquard-api/src/place_stream/server.rs +++ b/crates/jacquard-api/src/place_stream/server.rs @@ -532,84 +532,84 @@ pub mod webhook_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Events; + type Url; type Id; - type CreatedAt; type Active; - type Url; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Events = Unset; + type Url = Unset; type Id = Unset; - type CreatedAt = Unset; type Active = Unset; - type Url = Unset; + type CreatedAt = Unset; } ///State transition - sets the `events` field to Set pub struct SetEvents(PhantomData S>); impl sealed::Sealed for SetEvents {} impl State for SetEvents { type Events = Set; + type Url = S::Url; type Id = S::Id; + type Active = S::Active; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Events = S::Events; + type Url = Set; + type Id = S::Id; type Active = S::Active; - type Url = S::Url; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type Events = S::Events; - type Id = Set; - type CreatedAt = S::CreatedAt; - type Active = S::Active; type Url = S::Url; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Events = S::Events; - type Id = S::Id; - type CreatedAt = Set; + type Id = Set; type Active = S::Active; - type Url = S::Url; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `active` field to Set pub struct SetActive(PhantomData S>); impl sealed::Sealed for SetActive {} impl State for SetActive { type Events = S::Events; + type Url = S::Url; type Id = S::Id; - type CreatedAt = S::CreatedAt; type Active = Set; - type Url = S::Url; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Events = S::Events; + type Url = S::Url; type Id = S::Id; - type CreatedAt = S::CreatedAt; type Active = S::Active; - type Url = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `events` field pub struct events(()); + ///Marker type for the `url` field + pub struct url(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `active` field pub struct active(()); - ///Marker type for the `url` field - pub struct url(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -923,10 +923,10 @@ impl<'a, S> WebhookBuilder<'a, S> where S: webhook_state::State, S::Events: webhook_state::IsSet, + S::Url: webhook_state::IsSet, S::Id: webhook_state::IsSet, - S::CreatedAt: webhook_state::IsSet, S::Active: webhook_state::IsSet, - S::Url: webhook_state::IsSet, + S::CreatedAt: webhook_state::IsSet, { /// Build the final struct pub fn build(self) -> Webhook<'a> { diff --git a/crates/jacquard-api/src/place_stream/server/create_webhook.rs b/crates/jacquard-api/src/place_stream/server/create_webhook.rs index 9b6ac3b1..18d7e385 100644 --- a/crates/jacquard-api/src/place_stream/server/create_webhook.rs +++ b/crates/jacquard-api/src/place_stream/server/create_webhook.rs @@ -62,37 +62,37 @@ pub mod create_webhook_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Events; type Url; + type Events; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Events = Unset; type Url = Unset; - } - ///State transition - sets the `events` field to Set - pub struct SetEvents(PhantomData S>); - impl sealed::Sealed for SetEvents {} - impl State for SetEvents { - type Events = Set; - type Url = S::Url; + type Events = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Events = S::Events; type Url = Set; + type Events = S::Events; + } + ///State transition - sets the `events` field to Set + pub struct SetEvents(PhantomData S>); + impl sealed::Sealed for SetEvents {} + impl State for SetEvents { + type Url = S::Url; + type Events = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `events` field - pub struct events(()); ///Marker type for the `url` field pub struct url(()); + ///Marker type for the `events` field + pub struct events(()); } } @@ -300,8 +300,8 @@ where impl<'a, S> CreateWebhookBuilder<'a, S> where S: create_webhook_state::State, - S::Events: create_webhook_state::IsSet, S::Url: create_webhook_state::IsSet, + S::Events: create_webhook_state::IsSet, { /// Build the final struct pub fn build(self) -> CreateWebhook<'a> { @@ -383,8 +383,8 @@ pub enum CreateWebhookError<'a> { TooManyWebhooks(std::option::Option>), } -impl std::fmt::Display for CreateWebhookError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateWebhookError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidUrl(msg) => { write!(f, "InvalidUrl")?; diff --git a/crates/jacquard-api/src/place_stream/server/delete_webhook.rs b/crates/jacquard-api/src/place_stream/server/delete_webhook.rs index 83954eb7..d070b850 100644 --- a/crates/jacquard-api/src/place_stream/server/delete_webhook.rs +++ b/crates/jacquard-api/src/place_stream/server/delete_webhook.rs @@ -62,8 +62,8 @@ pub enum DeleteWebhookError<'a> { Unauthorized(std::option::Option>), } -impl std::fmt::Display for DeleteWebhookError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteWebhookError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::WebhookNotFound(msg) => { write!(f, "WebhookNotFound")?; diff --git a/crates/jacquard-api/src/place_stream/server/get_webhook.rs b/crates/jacquard-api/src/place_stream/server/get_webhook.rs index 794a49e7..cb40181e 100644 --- a/crates/jacquard-api/src/place_stream/server/get_webhook.rs +++ b/crates/jacquard-api/src/place_stream/server/get_webhook.rs @@ -148,8 +148,8 @@ pub enum GetWebhookError<'a> { Unauthorized(std::option::Option>), } -impl std::fmt::Display for GetWebhookError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetWebhookError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::WebhookNotFound(msg) => { write!(f, "WebhookNotFound")?; diff --git a/crates/jacquard-api/src/place_stream/server/list_webhooks.rs b/crates/jacquard-api/src/place_stream/server/list_webhooks.rs index 26308268..b89b31f7 100644 --- a/crates/jacquard-api/src/place_stream/server/list_webhooks.rs +++ b/crates/jacquard-api/src/place_stream/server/list_webhooks.rs @@ -191,8 +191,8 @@ pub enum ListWebhooksError<'a> { InvalidCursor(std::option::Option>), } -impl std::fmt::Display for ListWebhooksError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ListWebhooksError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidCursor(msg) => { write!(f, "InvalidCursor")?; diff --git a/crates/jacquard-api/src/place_stream/server/update_webhook.rs b/crates/jacquard-api/src/place_stream/server/update_webhook.rs index f76b943c..dcc69606 100644 --- a/crates/jacquard-api/src/place_stream/server/update_webhook.rs +++ b/crates/jacquard-api/src/place_stream/server/update_webhook.rs @@ -103,8 +103,8 @@ pub enum UpdateWebhookError<'a> { DuplicateWebhook(std::option::Option>), } -impl std::fmt::Display for UpdateWebhookError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for UpdateWebhookError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::WebhookNotFound(msg) => { write!(f, "WebhookNotFound")?; diff --git a/crates/jacquard-api/src/place_wisp/fs.rs b/crates/jacquard-api/src/place_wisp/fs.rs index 95e06353..4605d395 100644 --- a/crates/jacquard-api/src/place_wisp/fs.rs +++ b/crates/jacquard-api/src/place_wisp/fs.rs @@ -33,37 +33,37 @@ pub mod directory_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Type; type Entries; + type Type; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Type = Unset; type Entries = Unset; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { - type Type = Set; - type Entries = S::Entries; + type Type = Unset; } ///State transition - sets the `entries` field to Set pub struct SetEntries(PhantomData S>); impl sealed::Sealed for SetEntries {} impl State for SetEntries { - type Type = S::Type; type Entries = Set; + type Type = S::Type; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { + type Entries = S::Entries; + type Type = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `type` field - pub struct r#type(()); ///Marker type for the `entries` field pub struct entries(()); + ///Marker type for the `type` field + pub struct r#type(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> DirectoryBuilder<'a, S> where S: directory_state::State, - S::Type: directory_state::IsSet, S::Entries: directory_state::IsSet, + S::Type: directory_state::IsSet, { /// Build the final struct pub fn build(self) -> Directory<'a> { @@ -775,37 +775,37 @@ pub mod file_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blob; type Type; + type Blob; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blob = Unset; type Type = Unset; - } - ///State transition - sets the `blob` field to Set - pub struct SetBlob(PhantomData S>); - impl sealed::Sealed for SetBlob {} - impl State for SetBlob { - type Blob = Set; - type Type = S::Type; + type Blob = Unset; } ///State transition - sets the `type` field to Set pub struct SetType(PhantomData S>); impl sealed::Sealed for SetType {} impl State for SetType { - type Blob = S::Blob; type Type = Set; + type Blob = S::Blob; + } + ///State transition - sets the `blob` field to Set + pub struct SetBlob(PhantomData S>); + impl sealed::Sealed for SetBlob {} + impl State for SetBlob { + type Type = S::Type; + type Blob = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blob` field - pub struct blob(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `blob` field + pub struct blob(()); } } @@ -929,8 +929,8 @@ where impl<'a, S> FileBuilder<'a, S> where S: file_state::State, - S::Blob: file_state::IsSet, S::Type: file_state::IsSet, + S::Blob: file_state::IsSet, { /// Build the final struct pub fn build(self) -> File<'a> { @@ -1011,49 +1011,49 @@ pub mod fs_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Root; type Site; + type Root; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Root = Unset; type Site = Unset; + type Root = Unset; type CreatedAt = Unset; } - ///State transition - sets the `root` field to Set - pub struct SetRoot(PhantomData S>); - impl sealed::Sealed for SetRoot {} - impl State for SetRoot { - type Root = Set; - type Site = S::Site; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `site` field to Set pub struct SetSite(PhantomData S>); impl sealed::Sealed for SetSite {} impl State for SetSite { - type Root = S::Root; type Site = Set; + type Root = S::Root; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `root` field to Set + pub struct SetRoot(PhantomData S>); + impl sealed::Sealed for SetRoot {} + impl State for SetRoot { + type Site = S::Site; + type Root = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Root = S::Root; type Site = S::Site; + type Root = S::Root; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `root` field - pub struct root(()); ///Marker type for the `site` field pub struct site(()); + ///Marker type for the `root` field + pub struct root(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -1162,8 +1162,8 @@ where impl<'a, S> FsBuilder<'a, S> where S: fs_state::State, - S::Root: fs_state::IsSet, S::Site: fs_state::IsSet, + S::Root: fs_state::IsSet, S::CreatedAt: fs_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/image.rs b/crates/jacquard-api/src/pub_leaflet/blocks/image.rs index d128ca54..823750df 100644 --- a/crates/jacquard-api/src/pub_leaflet/blocks/image.rs +++ b/crates/jacquard-api/src/pub_leaflet/blocks/image.rs @@ -31,37 +31,37 @@ pub mod aspect_ratio_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -131,8 +131,8 @@ where impl<'a, S> AspectRatioBuilder<'a, S> where S: aspect_ratio_state::State, - S::Width: aspect_ratio_state::IsSet, S::Height: aspect_ratio_state::IsSet, + S::Width: aspect_ratio_state::IsSet, { /// Build the final struct pub fn build(self) -> AspectRatio<'a> { @@ -316,37 +316,37 @@ pub mod image_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Image; type AspectRatio; + type Image; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Image = Unset; type AspectRatio = Unset; - } - ///State transition - sets the `image` field to Set - pub struct SetImage(PhantomData S>); - impl sealed::Sealed for SetImage {} - impl State for SetImage { - type Image = Set; - type AspectRatio = S::AspectRatio; + type Image = Unset; } ///State transition - sets the `aspect_ratio` field to Set pub struct SetAspectRatio(PhantomData S>); impl sealed::Sealed for SetAspectRatio {} impl State for SetAspectRatio { - type Image = S::Image; type AspectRatio = Set; + type Image = S::Image; + } + ///State transition - sets the `image` field to Set + pub struct SetImage(PhantomData S>); + impl sealed::Sealed for SetImage {} + impl State for SetImage { + type AspectRatio = S::AspectRatio; + type Image = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `image` field - pub struct image(()); ///Marker type for the `aspect_ratio` field pub struct aspect_ratio(()); + ///Marker type for the `image` field + pub struct image(()); } } @@ -433,8 +433,8 @@ where impl<'a, S> ImageBuilder<'a, S> where S: image_state::State, - S::Image: image_state::IsSet, S::AspectRatio: image_state::IsSet, + S::Image: image_state::IsSet, { /// Build the final struct pub fn build(self) -> Image<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/comment.rs b/crates/jacquard-api/src/pub_leaflet/comment.rs index 2489477e..0e3ee34b 100644 --- a/crates/jacquard-api/src/pub_leaflet/comment.rs +++ b/crates/jacquard-api/src/pub_leaflet/comment.rs @@ -444,50 +444,50 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Subject; type Plaintext; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Subject = Unset; type Plaintext = Unset; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Subject = S::Subject; - type Plaintext = S::Plaintext; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type CreatedAt = S::CreatedAt; - type Subject = Set; type Plaintext = S::Plaintext; + type Subject = S::Subject; } ///State transition - sets the `plaintext` field to Set pub struct SetPlaintext(PhantomData S>); impl sealed::Sealed for SetPlaintext {} impl State for SetPlaintext { type CreatedAt = S::CreatedAt; - type Subject = S::Subject; type Plaintext = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Plaintext = S::Plaintext; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `plaintext` field pub struct plaintext(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -658,8 +658,8 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::CreatedAt: comment_state::IsSet, - S::Subject: comment_state::IsSet, S::Plaintext: comment_state::IsSet, + S::Subject: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs b/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs index 07840c03..0cdaf5b1 100644 --- a/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs +++ b/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs @@ -39,8 +39,8 @@ pub mod block_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Y; type Width; + type Y; type Block; type X; } @@ -48,26 +48,26 @@ pub mod block_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Y = Unset; type Width = Unset; + type Y = Unset; type Block = Unset; type X = Unset; } - ///State transition - sets the `y` field to Set - pub struct SetY(PhantomData S>); - impl sealed::Sealed for SetY {} - impl State for SetY { - type Y = Set; - type Width = S::Width; - type Block = S::Block; - type X = S::X; - } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { - type Y = S::Y; type Width = Set; + type Y = S::Y; + type Block = S::Block; + type X = S::X; + } + ///State transition - sets the `y` field to Set + pub struct SetY(PhantomData S>); + impl sealed::Sealed for SetY {} + impl State for SetY { + type Width = S::Width; + type Y = Set; type Block = S::Block; type X = S::X; } @@ -75,8 +75,8 @@ pub mod block_state { pub struct SetBlock(PhantomData S>); impl sealed::Sealed for SetBlock {} impl State for SetBlock { - type Y = S::Y; type Width = S::Width; + type Y = S::Y; type Block = Set; type X = S::X; } @@ -84,18 +84,18 @@ pub mod block_state { pub struct SetX(PhantomData S>); impl sealed::Sealed for SetX {} impl State for SetX { - type Y = S::Y; type Width = S::Width; + type Y = S::Y; type Block = S::Block; type X = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `y` field - pub struct y(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `y` field + pub struct y(()); ///Marker type for the `block` field pub struct block(()); ///Marker type for the `x` field @@ -234,8 +234,8 @@ where impl<'a, S> BlockBuilder<'a, S> where S: block_state::State, - S::Y: block_state::IsSet, S::Width: block_state::IsSet, + S::Y: block_state::IsSet, S::Block: block_state::IsSet, S::X: block_state::IsSet, { @@ -764,37 +764,37 @@ pub mod position_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Block; type Offset; + type Block; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Block = Unset; type Offset = Unset; - } - ///State transition - sets the `block` field to Set - pub struct SetBlock(PhantomData S>); - impl sealed::Sealed for SetBlock {} - impl State for SetBlock { - type Block = Set; - type Offset = S::Offset; + type Block = Unset; } ///State transition - sets the `offset` field to Set pub struct SetOffset(PhantomData S>); impl sealed::Sealed for SetOffset {} impl State for SetOffset { - type Block = S::Block; type Offset = Set; + type Block = S::Block; + } + ///State transition - sets the `block` field to Set + pub struct SetBlock(PhantomData S>); + impl sealed::Sealed for SetBlock {} + impl State for SetBlock { + type Offset = S::Offset; + type Block = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `block` field - pub struct block(()); ///Marker type for the `offset` field pub struct offset(()); + ///Marker type for the `block` field + pub struct block(()); } } @@ -867,8 +867,8 @@ where impl<'a, S> PositionBuilder<'a, S> where S: position_state::State, - S::Block: position_state::IsSet, S::Offset: position_state::IsSet, + S::Block: position_state::IsSet, { /// Build the final struct pub fn build(self) -> Position<'a> { @@ -939,37 +939,37 @@ pub mod quote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type End; type Start; + type End; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type End = Unset; type Start = Unset; - } - ///State transition - sets the `end` field to Set - pub struct SetEnd(PhantomData S>); - impl sealed::Sealed for SetEnd {} - impl State for SetEnd { - type End = Set; - type Start = S::Start; + type End = Unset; } ///State transition - sets the `start` field to Set pub struct SetStart(PhantomData S>); impl sealed::Sealed for SetStart {} impl State for SetStart { - type End = S::End; type Start = Set; + type End = S::End; + } + ///State transition - sets the `end` field to Set + pub struct SetEnd(PhantomData S>); + impl sealed::Sealed for SetEnd {} + impl State for SetEnd { + type Start = S::Start; + type End = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `end` field - pub struct end(()); ///Marker type for the `start` field pub struct start(()); + ///Marker type for the `end` field + pub struct end(()); } } @@ -1042,8 +1042,8 @@ where impl<'a, S> QuoteBuilder<'a, S> where S: quote_state::State, - S::End: quote_state::IsSet, S::Start: quote_state::IsSet, + S::End: quote_state::IsSet, { /// Build the final struct pub fn build(self) -> Quote<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs b/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs index f42fec70..956a3079 100644 --- a/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs +++ b/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs @@ -19,7 +19,7 @@ pub struct Block<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub alignment: std::option::Option>, + pub alignment: std::option::Option>, #[serde(borrow)] pub block: BlockBlock<'a>, } @@ -60,7 +60,7 @@ pub mod block_state { pub struct BlockBuilder<'a, S: block_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -86,18 +86,12 @@ impl<'a> BlockBuilder<'a, block_state::Empty> { impl<'a, S: block_state::State> BlockBuilder<'a, S> { /// Set the `alignment` field (optional) - pub fn alignment( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alignment(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.0 = value.into(); self } /// Set the `alignment` field to an Option value (optional) - pub fn maybe_alignment( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alignment(mut self, value: Option>) -> Self { self.__unsafe_private_named.0 = value; self } @@ -151,6 +145,104 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum BlockAlignment<'a> { + TextAlignLeft, + TextAlignCenter, + TextAlignRight, + TextAlignJustify, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> BlockAlignment<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::TextAlignLeft => "#textAlignLeft", + Self::TextAlignCenter => "#textAlignCenter", + Self::TextAlignRight => "#textAlignRight", + Self::TextAlignJustify => "#textAlignJustify", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for BlockAlignment<'a> { + fn from(s: &'a str) -> Self { + match s { + "#textAlignLeft" => Self::TextAlignLeft, + "#textAlignCenter" => Self::TextAlignCenter, + "#textAlignRight" => Self::TextAlignRight, + "#textAlignJustify" => Self::TextAlignJustify, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for BlockAlignment<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "#textAlignLeft" => Self::TextAlignLeft, + "#textAlignCenter" => Self::TextAlignCenter, + "#textAlignRight" => Self::TextAlignRight, + "#textAlignJustify" => Self::TextAlignJustify, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for BlockAlignment<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for BlockAlignment<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for BlockAlignment<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for BlockAlignment<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for BlockAlignment<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for BlockAlignment<'_> { + type Output = BlockAlignment<'static>; + fn into_static(self) -> Self::Output { + match self { + BlockAlignment::TextAlignLeft => BlockAlignment::TextAlignLeft, + BlockAlignment::TextAlignCenter => BlockAlignment::TextAlignCenter, + BlockAlignment::TextAlignRight => BlockAlignment::TextAlignRight, + BlockAlignment::TextAlignJustify => BlockAlignment::TextAlignJustify, + BlockAlignment::Other(v) => BlockAlignment::Other(v.into_static()), + } + } +} + #[jacquard_derive::open_union] #[derive( serde::Serialize, @@ -609,37 +701,37 @@ pub mod position_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Offset; type Block; + type Offset; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Offset = Unset; type Block = Unset; - } - ///State transition - sets the `offset` field to Set - pub struct SetOffset(PhantomData S>); - impl sealed::Sealed for SetOffset {} - impl State for SetOffset { - type Offset = Set; - type Block = S::Block; + type Offset = Unset; } ///State transition - sets the `block` field to Set pub struct SetBlock(PhantomData S>); impl sealed::Sealed for SetBlock {} impl State for SetBlock { - type Offset = S::Offset; type Block = Set; + type Offset = S::Offset; + } + ///State transition - sets the `offset` field to Set + pub struct SetOffset(PhantomData S>); + impl sealed::Sealed for SetOffset {} + impl State for SetOffset { + type Block = S::Block; + type Offset = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `offset` field - pub struct offset(()); ///Marker type for the `block` field pub struct block(()); + ///Marker type for the `offset` field + pub struct offset(()); } } @@ -712,8 +804,8 @@ where impl<'a, S> PositionBuilder<'a, S> where S: position_state::State, - S::Offset: position_state::IsSet, S::Block: position_state::IsSet, + S::Offset: position_state::IsSet, { /// Build the final struct pub fn build(self) -> Position<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/poll/definition.rs b/crates/jacquard-api/src/pub_leaflet/poll/definition.rs index 0b0e13c0..8d54caf1 100644 --- a/crates/jacquard-api/src/pub_leaflet/poll/definition.rs +++ b/crates/jacquard-api/src/pub_leaflet/poll/definition.rs @@ -36,37 +36,37 @@ pub mod definition_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Options; type Name; + type Options; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Options = Unset; type Name = Unset; - } - ///State transition - sets the `options` field to Set - pub struct SetOptions(PhantomData S>); - impl sealed::Sealed for SetOptions {} - impl State for SetOptions { - type Options = Set; - type Name = S::Name; + type Options = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Options = S::Options; type Name = Set; + type Options = S::Options; + } + ///State transition - sets the `options` field to Set + pub struct SetOptions(PhantomData S>); + impl sealed::Sealed for SetOptions {} + impl State for SetOptions { + type Name = S::Name; + type Options = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `options` field - pub struct options(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `options` field + pub struct options(()); } } @@ -161,8 +161,8 @@ where impl<'a, S> DefinitionBuilder<'a, S> where S: definition_state::State, - S::Options: definition_state::IsSet, S::Name: definition_state::IsSet, + S::Options: definition_state::IsSet, { /// Build the final struct pub fn build(self) -> Definition<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs b/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs index aabfe861..3b5a73c8 100644 --- a/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs +++ b/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs @@ -556,37 +556,37 @@ pub mod byte_slice_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ByteEnd; type ByteStart; + type ByteEnd; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ByteEnd = Unset; type ByteStart = Unset; - } - ///State transition - sets the `byte_end` field to Set - pub struct SetByteEnd(PhantomData S>); - impl sealed::Sealed for SetByteEnd {} - impl State for SetByteEnd { - type ByteEnd = Set; - type ByteStart = S::ByteStart; + type ByteEnd = Unset; } ///State transition - sets the `byte_start` field to Set pub struct SetByteStart(PhantomData S>); impl sealed::Sealed for SetByteStart {} impl State for SetByteStart { - type ByteEnd = S::ByteEnd; type ByteStart = Set; + type ByteEnd = S::ByteEnd; + } + ///State transition - sets the `byte_end` field to Set + pub struct SetByteEnd(PhantomData S>); + impl sealed::Sealed for SetByteEnd {} + impl State for SetByteEnd { + type ByteStart = S::ByteStart; + type ByteEnd = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `byte_end` field - pub struct byte_end(()); ///Marker type for the `byte_start` field pub struct byte_start(()); + ///Marker type for the `byte_end` field + pub struct byte_end(()); } } @@ -656,8 +656,8 @@ where impl<'a, S> ByteSliceBuilder<'a, S> where S: byte_slice_state::State, - S::ByteEnd: byte_slice_state::IsSet, S::ByteStart: byte_slice_state::IsSet, + S::ByteEnd: byte_slice_state::IsSet, { /// Build the final struct pub fn build(self) -> ByteSlice<'a> { diff --git a/crates/jacquard-api/src/pub_leaflet/theme/color.rs b/crates/jacquard-api/src/pub_leaflet/theme/color.rs index d9e4d59e..1c2ac028 100644 --- a/crates/jacquard-api/src/pub_leaflet/theme/color.rs +++ b/crates/jacquard-api/src/pub_leaflet/theme/color.rs @@ -32,51 +32,51 @@ pub mod rgb_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type R; type B; type G; - type R; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type R = Unset; type B = Unset; type G = Unset; - type R = Unset; + } + ///State transition - sets the `r` field to Set + pub struct SetR(PhantomData S>); + impl sealed::Sealed for SetR {} + impl State for SetR { + type R = Set; + type B = S::B; + type G = S::G; } ///State transition - sets the `b` field to Set pub struct SetB(PhantomData S>); impl sealed::Sealed for SetB {} impl State for SetB { + type R = S::R; type B = Set; type G = S::G; - type R = S::R; } ///State transition - sets the `g` field to Set pub struct SetG(PhantomData S>); impl sealed::Sealed for SetG {} impl State for SetG { - type B = S::B; - type G = Set; type R = S::R; - } - ///State transition - sets the `r` field to Set - pub struct SetR(PhantomData S>); - impl sealed::Sealed for SetR {} - impl State for SetR { type B = S::B; - type G = S::G; - type R = Set; + type G = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `r` field + pub struct r(()); ///Marker type for the `b` field pub struct b(()); ///Marker type for the `g` field pub struct g(()); - ///Marker type for the `r` field - pub struct r(()); } } @@ -160,9 +160,9 @@ where impl<'a, S> RgbBuilder<'a, S> where S: rgb_state::State, + S::R: rgb_state::IsSet, S::B: rgb_state::IsSet, S::G: rgb_state::IsSet, - S::R: rgb_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgb<'a> { @@ -439,66 +439,66 @@ pub mod rgba_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type G; - type R; type B; type A; + type R; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type G = Unset; - type R = Unset; type B = Unset; type A = Unset; + type R = Unset; } ///State transition - sets the `g` field to Set pub struct SetG(PhantomData S>); impl sealed::Sealed for SetG {} impl State for SetG { type G = Set; - type R = S::R; - type B = S::B; - type A = S::A; - } - ///State transition - sets the `r` field to Set - pub struct SetR(PhantomData S>); - impl sealed::Sealed for SetR {} - impl State for SetR { - type G = S::G; - type R = Set; type B = S::B; type A = S::A; + type R = S::R; } ///State transition - sets the `b` field to Set pub struct SetB(PhantomData S>); impl sealed::Sealed for SetB {} impl State for SetB { type G = S::G; - type R = S::R; type B = Set; type A = S::A; + type R = S::R; } ///State transition - sets the `a` field to Set pub struct SetA(PhantomData S>); impl sealed::Sealed for SetA {} impl State for SetA { type G = S::G; - type R = S::R; type B = S::B; type A = Set; + type R = S::R; + } + ///State transition - sets the `r` field to Set + pub struct SetR(PhantomData S>); + impl sealed::Sealed for SetR {} + impl State for SetR { + type G = S::G; + type B = S::B; + type A = S::A; + type R = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `g` field pub struct g(()); - ///Marker type for the `r` field - pub struct r(()); ///Marker type for the `b` field pub struct b(()); ///Marker type for the `a` field pub struct a(()); + ///Marker type for the `r` field + pub struct r(()); } } @@ -600,9 +600,9 @@ impl<'a, S> RgbaBuilder<'a, S> where S: rgba_state::State, S::G: rgba_state::IsSet, - S::R: rgba_state::IsSet, S::B: rgba_state::IsSet, S::A: rgba_state::IsSet, + S::R: rgba_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgba<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/feed/reaction.rs b/crates/jacquard-api/src/sh_tangled/feed/reaction.rs index 2cd9c873..f3ca9bc6 100644 --- a/crates/jacquard-api/src/sh_tangled/feed/reaction.rs +++ b/crates/jacquard-api/src/sh_tangled/feed/reaction.rs @@ -34,51 +34,51 @@ pub mod reaction_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Subject; type Reaction; type CreatedAt; - type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Subject = Unset; type Reaction = Unset; type CreatedAt = Unset; - type Subject = Unset; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Subject = Set; + type Reaction = S::Reaction; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `reaction` field to Set pub struct SetReaction(PhantomData S>); impl sealed::Sealed for SetReaction {} impl State for SetReaction { + type Subject = S::Subject; type Reaction = Set; type CreatedAt = S::CreatedAt; - type Subject = S::Subject; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Reaction = S::Reaction; - type CreatedAt = Set; type Subject = S::Subject; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { type Reaction = S::Reaction; - type CreatedAt = S::CreatedAt; - type Subject = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `reaction` field pub struct reaction(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `subject` field - pub struct subject(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> ReactionBuilder<'a, S> where S: reaction_state::State, + S::Subject: reaction_state::IsSet, S::Reaction: reaction_state::IsSet, S::CreatedAt: reaction_state::IsSet, - S::Subject: reaction_state::IsSet, { /// Build the final struct pub fn build(self) -> Reaction<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/feed/star.rs b/crates/jacquard-api/src/sh_tangled/feed/star.rs index a0820844..fbb44d64 100644 --- a/crates/jacquard-api/src/sh_tangled/feed/star.rs +++ b/crates/jacquard-api/src/sh_tangled/feed/star.rs @@ -32,37 +32,37 @@ pub mod star_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> StarBuilder<'a, S> where S: star_state::State, - S::Subject: star_state::IsSet, S::CreatedAt: star_state::IsSet, + S::Subject: star_state::IsSet, { /// Build the final struct pub fn build(self) -> Star<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/git/ref_update.rs b/crates/jacquard-api/src/sh_tangled/git/ref_update.rs index d5cda2ed..605c50f4 100644 --- a/crates/jacquard-api/src/sh_tangled/git/ref_update.rs +++ b/crates/jacquard-api/src/sh_tangled/git/ref_update.rs @@ -432,37 +432,37 @@ pub mod individual_email_commit_count_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Email; type Count; + type Email; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Email = Unset; type Count = Unset; - } - ///State transition - sets the `email` field to Set - pub struct SetEmail(PhantomData S>); - impl sealed::Sealed for SetEmail {} - impl State for SetEmail { - type Email = Set; - type Count = S::Count; + type Email = Unset; } ///State transition - sets the `count` field to Set pub struct SetCount(PhantomData S>); impl sealed::Sealed for SetCount {} impl State for SetCount { - type Email = S::Email; type Count = Set; + type Email = S::Email; + } + ///State transition - sets the `email` field to Set + pub struct SetEmail(PhantomData S>); + impl sealed::Sealed for SetEmail {} + impl State for SetEmail { + type Count = S::Count; + type Email = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `email` field - pub struct email(()); ///Marker type for the `count` field pub struct count(()); + ///Marker type for the `email` field + pub struct email(()); } } @@ -549,8 +549,8 @@ where impl<'a, S> IndividualEmailCommitCountBuilder<'a, S> where S: individual_email_commit_count_state::State, - S::Email: individual_email_commit_count_state::IsSet, S::Count: individual_email_commit_count_state::IsSet, + S::Email: individual_email_commit_count_state::IsSet, { /// Build the final struct pub fn build(self) -> IndividualEmailCommitCount<'a> { @@ -854,11 +854,11 @@ pub mod ref_update_state { pub trait State: sealed::Sealed { type RepoDid; type NewSha; - type OldSha; - type CommitterDid; type Meta; type Ref; + type CommitterDid; type RepoName; + type OldSha; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -866,11 +866,11 @@ pub mod ref_update_state { impl State for Empty { type RepoDid = Unset; type NewSha = Unset; - type OldSha = Unset; - type CommitterDid = Unset; type Meta = Unset; type Ref = Unset; + type CommitterDid = Unset; type RepoName = Unset; + type OldSha = Unset; } ///State transition - sets the `repo_did` field to Set pub struct SetRepoDid(PhantomData S>); @@ -878,11 +878,11 @@ pub mod ref_update_state { impl State for SetRepoDid { type RepoDid = Set; type NewSha = S::NewSha; - type OldSha = S::OldSha; - type CommitterDid = S::CommitterDid; type Meta = S::Meta; type Ref = S::Ref; + type CommitterDid = S::CommitterDid; type RepoName = S::RepoName; + type OldSha = S::OldSha; } ///State transition - sets the `new_sha` field to Set pub struct SetNewSha(PhantomData S>); @@ -890,35 +890,11 @@ pub mod ref_update_state { impl State for SetNewSha { type RepoDid = S::RepoDid; type NewSha = Set; - type OldSha = S::OldSha; - type CommitterDid = S::CommitterDid; type Meta = S::Meta; type Ref = S::Ref; - type RepoName = S::RepoName; - } - ///State transition - sets the `old_sha` field to Set - pub struct SetOldSha(PhantomData S>); - impl sealed::Sealed for SetOldSha {} - impl State for SetOldSha { - type RepoDid = S::RepoDid; - type NewSha = S::NewSha; - type OldSha = Set; type CommitterDid = S::CommitterDid; - type Meta = S::Meta; - type Ref = S::Ref; type RepoName = S::RepoName; - } - ///State transition - sets the `committer_did` field to Set - pub struct SetCommitterDid(PhantomData S>); - impl sealed::Sealed for SetCommitterDid {} - impl State for SetCommitterDid { - type RepoDid = S::RepoDid; - type NewSha = S::NewSha; type OldSha = S::OldSha; - type CommitterDid = Set; - type Meta = S::Meta; - type Ref = S::Ref; - type RepoName = S::RepoName; } ///State transition - sets the `meta` field to Set pub struct SetMeta(PhantomData S>); @@ -926,11 +902,11 @@ pub mod ref_update_state { impl State for SetMeta { type RepoDid = S::RepoDid; type NewSha = S::NewSha; - type OldSha = S::OldSha; - type CommitterDid = S::CommitterDid; type Meta = Set; type Ref = S::Ref; + type CommitterDid = S::CommitterDid; type RepoName = S::RepoName; + type OldSha = S::OldSha; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); @@ -938,11 +914,23 @@ pub mod ref_update_state { impl State for SetRef { type RepoDid = S::RepoDid; type NewSha = S::NewSha; - type OldSha = S::OldSha; - type CommitterDid = S::CommitterDid; type Meta = S::Meta; type Ref = Set; + type CommitterDid = S::CommitterDid; type RepoName = S::RepoName; + type OldSha = S::OldSha; + } + ///State transition - sets the `committer_did` field to Set + pub struct SetCommitterDid(PhantomData S>); + impl sealed::Sealed for SetCommitterDid {} + impl State for SetCommitterDid { + type RepoDid = S::RepoDid; + type NewSha = S::NewSha; + type Meta = S::Meta; + type Ref = S::Ref; + type CommitterDid = Set; + type RepoName = S::RepoName; + type OldSha = S::OldSha; } ///State transition - sets the `repo_name` field to Set pub struct SetRepoName(PhantomData S>); @@ -950,11 +938,23 @@ pub mod ref_update_state { impl State for SetRepoName { type RepoDid = S::RepoDid; type NewSha = S::NewSha; - type OldSha = S::OldSha; - type CommitterDid = S::CommitterDid; type Meta = S::Meta; type Ref = S::Ref; + type CommitterDid = S::CommitterDid; type RepoName = Set; + type OldSha = S::OldSha; + } + ///State transition - sets the `old_sha` field to Set + pub struct SetOldSha(PhantomData S>); + impl sealed::Sealed for SetOldSha {} + impl State for SetOldSha { + type RepoDid = S::RepoDid; + type NewSha = S::NewSha; + type Meta = S::Meta; + type Ref = S::Ref; + type CommitterDid = S::CommitterDid; + type RepoName = S::RepoName; + type OldSha = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -963,16 +963,16 @@ pub mod ref_update_state { pub struct repo_did(()); ///Marker type for the `new_sha` field pub struct new_sha(()); - ///Marker type for the `old_sha` field - pub struct old_sha(()); - ///Marker type for the `committer_did` field - pub struct committer_did(()); ///Marker type for the `meta` field pub struct meta(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `committer_did` field + pub struct committer_did(()); ///Marker type for the `repo_name` field pub struct repo_name(()); + ///Marker type for the `old_sha` field + pub struct old_sha(()); } } @@ -1147,11 +1147,11 @@ where S: ref_update_state::State, S::RepoDid: ref_update_state::IsSet, S::NewSha: ref_update_state::IsSet, - S::OldSha: ref_update_state::IsSet, - S::CommitterDid: ref_update_state::IsSet, S::Meta: ref_update_state::IsSet, S::Ref: ref_update_state::IsSet, + S::CommitterDid: ref_update_state::IsSet, S::RepoName: ref_update_state::IsSet, + S::OldSha: ref_update_state::IsSet, { /// Build the final struct pub fn build(self) -> RefUpdate<'a> { @@ -1381,37 +1381,37 @@ pub mod meta_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IsDefaultRef; type CommitCount; + type IsDefaultRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IsDefaultRef = Unset; type CommitCount = Unset; - } - ///State transition - sets the `is_default_ref` field to Set - pub struct SetIsDefaultRef(PhantomData S>); - impl sealed::Sealed for SetIsDefaultRef {} - impl State for SetIsDefaultRef { - type IsDefaultRef = Set; - type CommitCount = S::CommitCount; + type IsDefaultRef = Unset; } ///State transition - sets the `commit_count` field to Set pub struct SetCommitCount(PhantomData S>); impl sealed::Sealed for SetCommitCount {} impl State for SetCommitCount { - type IsDefaultRef = S::IsDefaultRef; type CommitCount = Set; + type IsDefaultRef = S::IsDefaultRef; + } + ///State transition - sets the `is_default_ref` field to Set + pub struct SetIsDefaultRef(PhantomData S>); + impl sealed::Sealed for SetIsDefaultRef {} + impl State for SetIsDefaultRef { + type CommitCount = S::CommitCount; + type IsDefaultRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `is_default_ref` field - pub struct is_default_ref(()); ///Marker type for the `commit_count` field pub struct commit_count(()); + ///Marker type for the `is_default_ref` field + pub struct is_default_ref(()); } } @@ -1506,8 +1506,8 @@ impl<'a, S: meta_state::State> MetaBuilder<'a, S> { impl<'a, S> MetaBuilder<'a, S> where S: meta_state::State, - S::IsDefaultRef: meta_state::IsSet, S::CommitCount: meta_state::IsSet, + S::IsDefaultRef: meta_state::IsSet, { /// Build the final struct pub fn build(self) -> Meta<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs b/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs index 5dbf8468..9e3d4bf1 100644 --- a/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs +++ b/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs @@ -153,8 +153,8 @@ pub enum ListKeysError<'a> { InternalServerError(std::option::Option>), } -impl std::fmt::Display for ListKeysError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ListKeysError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InternalServerError(msg) => { write!(f, "InternalServerError")?; @@ -226,51 +226,51 @@ pub mod public_key_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Key; type CreatedAt; type Did; - type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Key = Unset; type CreatedAt = Unset; type Did = Unset; - type Key = Unset; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Key = Set; + type CreatedAt = S::CreatedAt; + type Did = S::Did; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Key = S::Key; type CreatedAt = Set; type Did = S::Did; - type Key = S::Key; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type CreatedAt = S::CreatedAt; - type Did = Set; type Key = S::Key; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { type CreatedAt = S::CreatedAt; - type Did = S::Did; - type Key = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `key` field + pub struct key(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `key` field - pub struct key(()); } } @@ -363,9 +363,9 @@ where impl<'a, S> PublicKeyBuilder<'a, S> where S: public_key_state::State, + S::Key: public_key_state::IsSet, S::CreatedAt: public_key_state::IsSet, S::Did: public_key_state::IsSet, - S::Key: public_key_state::IsSet, { /// Build the final struct pub fn build(self) -> PublicKey<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/knot/member.rs b/crates/jacquard-api/src/sh_tangled/knot/member.rs index 44025434..d50cb616 100644 --- a/crates/jacquard-api/src/sh_tangled/knot/member.rs +++ b/crates/jacquard-api/src/sh_tangled/knot/member.rs @@ -36,50 +36,50 @@ pub mod member_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Subject; - type CreatedAt; type Domain; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Subject = Unset; - type CreatedAt = Unset; type Domain = Unset; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type Subject = Set; - type CreatedAt = S::CreatedAt; - type Domain = S::Domain; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Subject = S::Subject; - type CreatedAt = Set; type Domain = S::Domain; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `domain` field to Set pub struct SetDomain(PhantomData S>); impl sealed::Sealed for SetDomain {} impl State for SetDomain { type Subject = S::Subject; - type CreatedAt = S::CreatedAt; type Domain = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type Domain = S::Domain; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `subject` field pub struct subject(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `domain` field pub struct domain(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -173,8 +173,8 @@ impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, S::Subject: member_state::IsSet, - S::CreatedAt: member_state::IsSet, S::Domain: member_state::IsSet, + S::CreatedAt: member_state::IsSet, { /// Build the final struct pub fn build(self) -> Member<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/knot/version.rs b/crates/jacquard-api/src/sh_tangled/knot/version.rs index 538f6626..557f139b 100644 --- a/crates/jacquard-api/src/sh_tangled/knot/version.rs +++ b/crates/jacquard-api/src/sh_tangled/knot/version.rs @@ -37,8 +37,8 @@ pub struct VersionOutput<'a> { #[serde(tag = "error", content = "message")] #[serde(bound(deserialize = "'de: 'a"))] pub enum VersionError<'a> {} -impl std::fmt::Display for VersionError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for VersionError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), } diff --git a/crates/jacquard-api/src/sh_tangled/label/definition.rs b/crates/jacquard-api/src/sh_tangled/label/definition.rs index f3738f31..ec31fc10 100644 --- a/crates/jacquard-api/src/sh_tangled/label/definition.rs +++ b/crates/jacquard-api/src/sh_tangled/label/definition.rs @@ -46,67 +46,67 @@ pub mod definition_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type ValueType; type Name; type Scope; type CreatedAt; + type ValueType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type ValueType = Unset; type Name = Unset; type Scope = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `value_type` field to Set - pub struct SetValueType(PhantomData S>); - impl sealed::Sealed for SetValueType {} - impl State for SetValueType { - type ValueType = Set; - type Name = S::Name; - type Scope = S::Scope; - type CreatedAt = S::CreatedAt; + type ValueType = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type ValueType = S::ValueType; type Name = Set; type Scope = S::Scope; type CreatedAt = S::CreatedAt; + type ValueType = S::ValueType; } ///State transition - sets the `scope` field to Set pub struct SetScope(PhantomData S>); impl sealed::Sealed for SetScope {} impl State for SetScope { - type ValueType = S::ValueType; type Name = S::Name; type Scope = Set; type CreatedAt = S::CreatedAt; + type ValueType = S::ValueType; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type ValueType = S::ValueType; type Name = S::Name; type Scope = S::Scope; type CreatedAt = Set; + type ValueType = S::ValueType; + } + ///State transition - sets the `value_type` field to Set + pub struct SetValueType(PhantomData S>); + impl sealed::Sealed for SetValueType {} + impl State for SetValueType { + type Name = S::Name; + type Scope = S::Scope; + type CreatedAt = S::CreatedAt; + type ValueType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value_type` field - pub struct value_type(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `scope` field pub struct scope(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `value_type` field + pub struct value_type(()); } } @@ -250,10 +250,10 @@ where impl<'a, S> DefinitionBuilder<'a, S> where S: definition_state::State, - S::ValueType: definition_state::IsSet, S::Name: definition_state::IsSet, S::Scope: definition_state::IsSet, S::CreatedAt: definition_state::IsSet, + S::ValueType: definition_state::IsSet, { /// Build the final struct pub fn build(self) -> Definition<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/label/op.rs b/crates/jacquard-api/src/sh_tangled/label/op.rs index 4dad804f..7df0b01a 100644 --- a/crates/jacquard-api/src/sh_tangled/label/op.rs +++ b/crates/jacquard-api/src/sh_tangled/label/op.rs @@ -37,67 +37,67 @@ pub mod op_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Add; type Delete; type Subject; type PerformedAt; - type Add; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Add = Unset; type Delete = Unset; type Subject = Unset; type PerformedAt = Unset; - type Add = Unset; + } + ///State transition - sets the `add` field to Set + pub struct SetAdd(PhantomData S>); + impl sealed::Sealed for SetAdd {} + impl State for SetAdd { + type Add = Set; + type Delete = S::Delete; + type Subject = S::Subject; + type PerformedAt = S::PerformedAt; } ///State transition - sets the `delete` field to Set pub struct SetDelete(PhantomData S>); impl sealed::Sealed for SetDelete {} impl State for SetDelete { + type Add = S::Add; type Delete = Set; type Subject = S::Subject; type PerformedAt = S::PerformedAt; - type Add = S::Add; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type Add = S::Add; type Delete = S::Delete; type Subject = Set; type PerformedAt = S::PerformedAt; - type Add = S::Add; } ///State transition - sets the `performed_at` field to Set pub struct SetPerformedAt(PhantomData S>); impl sealed::Sealed for SetPerformedAt {} impl State for SetPerformedAt { - type Delete = S::Delete; - type Subject = S::Subject; - type PerformedAt = Set; type Add = S::Add; - } - ///State transition - sets the `add` field to Set - pub struct SetAdd(PhantomData S>); - impl sealed::Sealed for SetAdd {} - impl State for SetAdd { type Delete = S::Delete; type Subject = S::Subject; - type PerformedAt = S::PerformedAt; - type Add = Set; + type PerformedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `add` field + pub struct add(()); ///Marker type for the `delete` field pub struct delete(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `performed_at` field pub struct performed_at(()); - ///Marker type for the `add` field - pub struct add(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> OpBuilder<'a, S> where S: op_state::State, + S::Add: op_state::IsSet, S::Delete: op_state::IsSet, S::Subject: op_state::IsSet, S::PerformedAt: op_state::IsSet, - S::Add: op_state::IsSet, { /// Build the final struct pub fn build(self) -> Op<'a> { @@ -512,37 +512,37 @@ pub mod operand_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; type Key; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; type Key = Unset; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; - type Key = S::Key; + type Value = Unset; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type Value = S::Value; type Key = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Key = S::Key; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -615,8 +615,8 @@ where impl<'a, S> OperandBuilder<'a, S> where S: operand_state::State, - S::Value: operand_state::IsSet, S::Key: operand_state::IsSet, + S::Value: operand_state::IsSet, { /// Build the final struct pub fn build(self) -> Operand<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/owner.rs b/crates/jacquard-api/src/sh_tangled/owner.rs index 7b614a8d..c343751e 100644 --- a/crates/jacquard-api/src/sh_tangled/owner.rs +++ b/crates/jacquard-api/src/sh_tangled/owner.rs @@ -41,8 +41,8 @@ pub enum OwnerError<'a> { OwnerNotFound(std::option::Option>), } -impl std::fmt::Display for OwnerError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for OwnerError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::OwnerNotFound(msg) => { write!(f, "OwnerNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/pipeline.rs b/crates/jacquard-api/src/sh_tangled/pipeline.rs index 363092f9..74522d72 100644 --- a/crates/jacquard-api/src/sh_tangled/pipeline.rs +++ b/crates/jacquard-api/src/sh_tangled/pipeline.rs @@ -1280,37 +1280,37 @@ pub mod trigger_metadata_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Kind; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Kind = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Kind = S::Kind; + type Repo = Unset; } ///State transition - sets the `kind` field to Set pub struct SetKind(PhantomData S>); impl sealed::Sealed for SetKind {} impl State for SetKind { - type Repo = S::Repo; type Kind = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Kind = S::Kind; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `kind` field pub struct kind(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -1443,8 +1443,8 @@ where impl<'a, S> TriggerMetadataBuilder<'a, S> where S: trigger_metadata_state::State, - S::Repo: trigger_metadata_state::IsSet, S::Kind: trigger_metadata_state::IsSet, + S::Repo: trigger_metadata_state::IsSet, { /// Build the final struct pub fn build(self) -> TriggerMetadata<'a> { @@ -1525,67 +1525,67 @@ pub mod trigger_repo_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DefaultBranch; - type Did; type Repo; type Knot; + type DefaultBranch; + type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DefaultBranch = Unset; - type Did = Unset; type Repo = Unset; type Knot = Unset; - } - ///State transition - sets the `default_branch` field to Set - pub struct SetDefaultBranch(PhantomData S>); - impl sealed::Sealed for SetDefaultBranch {} - impl State for SetDefaultBranch { - type DefaultBranch = Set; - type Did = S::Did; - type Repo = S::Repo; - type Knot = S::Knot; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type DefaultBranch = S::DefaultBranch; - type Did = Set; - type Repo = S::Repo; - type Knot = S::Knot; + type DefaultBranch = Unset; + type Did = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type DefaultBranch = S::DefaultBranch; - type Did = S::Did; type Repo = Set; type Knot = S::Knot; + type DefaultBranch = S::DefaultBranch; + type Did = S::Did; } ///State transition - sets the `knot` field to Set pub struct SetKnot(PhantomData S>); impl sealed::Sealed for SetKnot {} impl State for SetKnot { + type Repo = S::Repo; + type Knot = Set; type DefaultBranch = S::DefaultBranch; type Did = S::Did; + } + ///State transition - sets the `default_branch` field to Set + pub struct SetDefaultBranch(PhantomData S>); + impl sealed::Sealed for SetDefaultBranch {} + impl State for SetDefaultBranch { type Repo = S::Repo; - type Knot = Set; + type Knot = S::Knot; + type DefaultBranch = Set; + type Did = S::Did; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Repo = S::Repo; + type Knot = S::Knot; + type DefaultBranch = S::DefaultBranch; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `default_branch` field - pub struct default_branch(()); - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `repo` field pub struct repo(()); ///Marker type for the `knot` field pub struct knot(()); + ///Marker type for the `default_branch` field + pub struct default_branch(()); + ///Marker type for the `did` field + pub struct did(()); } } @@ -1698,10 +1698,10 @@ where impl<'a, S> TriggerRepoBuilder<'a, S> where S: trigger_repo_state::State, - S::DefaultBranch: trigger_repo_state::IsSet, - S::Did: trigger_repo_state::IsSet, S::Repo: trigger_repo_state::IsSet, S::Knot: trigger_repo_state::IsSet, + S::DefaultBranch: trigger_repo_state::IsSet, + S::Did: trigger_repo_state::IsSet, { /// Build the final struct pub fn build(self) -> TriggerRepo<'a> { @@ -1781,66 +1781,66 @@ pub mod workflow_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Name; - type Clone; - type Engine; type Raw; + type Engine; + type Clone; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Name = Unset; - type Clone = Unset; - type Engine = Unset; type Raw = Unset; + type Engine = Unset; + type Clone = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Name = Set; - type Clone = S::Clone; - type Engine = S::Engine; type Raw = S::Raw; + type Engine = S::Engine; + type Clone = S::Clone; } - ///State transition - sets the `clone` field to Set - pub struct SetClone(PhantomData S>); - impl sealed::Sealed for SetClone {} - impl State for SetClone { + ///State transition - sets the `raw` field to Set + pub struct SetRaw(PhantomData S>); + impl sealed::Sealed for SetRaw {} + impl State for SetRaw { type Name = S::Name; - type Clone = Set; + type Raw = Set; type Engine = S::Engine; - type Raw = S::Raw; + type Clone = S::Clone; } ///State transition - sets the `engine` field to Set pub struct SetEngine(PhantomData S>); impl sealed::Sealed for SetEngine {} impl State for SetEngine { type Name = S::Name; - type Clone = S::Clone; - type Engine = Set; type Raw = S::Raw; + type Engine = Set; + type Clone = S::Clone; } - ///State transition - sets the `raw` field to Set - pub struct SetRaw(PhantomData S>); - impl sealed::Sealed for SetRaw {} - impl State for SetRaw { + ///State transition - sets the `clone` field to Set + pub struct SetClone(PhantomData S>); + impl sealed::Sealed for SetClone {} + impl State for SetClone { type Name = S::Name; - type Clone = S::Clone; + type Raw = S::Raw; type Engine = S::Engine; - type Raw = Set; + type Clone = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `clone` field - pub struct clone(()); - ///Marker type for the `engine` field - pub struct engine(()); ///Marker type for the `raw` field pub struct raw(()); + ///Marker type for the `engine` field + pub struct engine(()); + ///Marker type for the `clone` field + pub struct clone(()); } } @@ -1954,9 +1954,9 @@ impl<'a, S> WorkflowBuilder<'a, S> where S: workflow_state::State, S::Name: workflow_state::IsSet, - S::Clone: workflow_state::IsSet, - S::Engine: workflow_state::IsSet, S::Raw: workflow_state::IsSet, + S::Engine: workflow_state::IsSet, + S::Clone: workflow_state::IsSet, { /// Build the final struct pub fn build(self) -> Workflow<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/pipeline/status.rs b/crates/jacquard-api/src/sh_tangled/pipeline/status.rs index 51d52e06..a8567f3c 100644 --- a/crates/jacquard-api/src/sh_tangled/pipeline/status.rs +++ b/crates/jacquard-api/src/sh_tangled/pipeline/status.rs @@ -47,65 +47,65 @@ pub mod status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Workflow; type CreatedAt; type Status; - type Workflow; type Pipeline; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Workflow = Unset; type CreatedAt = Unset; type Status = Unset; - type Workflow = Unset; type Pipeline = Unset; } + ///State transition - sets the `workflow` field to Set + pub struct SetWorkflow(PhantomData S>); + impl sealed::Sealed for SetWorkflow {} + impl State for SetWorkflow { + type Workflow = Set; + type CreatedAt = S::CreatedAt; + type Status = S::Status; + type Pipeline = S::Pipeline; + } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Workflow = S::Workflow; type CreatedAt = Set; type Status = S::Status; - type Workflow = S::Workflow; type Pipeline = S::Pipeline; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type CreatedAt = S::CreatedAt; - type Status = Set; type Workflow = S::Workflow; - type Pipeline = S::Pipeline; - } - ///State transition - sets the `workflow` field to Set - pub struct SetWorkflow(PhantomData S>); - impl sealed::Sealed for SetWorkflow {} - impl State for SetWorkflow { type CreatedAt = S::CreatedAt; - type Status = S::Status; - type Workflow = Set; + type Status = Set; type Pipeline = S::Pipeline; } ///State transition - sets the `pipeline` field to Set pub struct SetPipeline(PhantomData S>); impl sealed::Sealed for SetPipeline {} impl State for SetPipeline { + type Workflow = S::Workflow; type CreatedAt = S::CreatedAt; type Status = S::Status; - type Workflow = S::Workflow; type Pipeline = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `workflow` field + pub struct workflow(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `status` field pub struct status(()); - ///Marker type for the `workflow` field - pub struct workflow(()); ///Marker type for the `pipeline` field pub struct pipeline(()); } @@ -251,9 +251,9 @@ where impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, + S::Workflow: status_state::IsSet, S::CreatedAt: status_state::IsSet, S::Status: status_state::IsSet, - S::Workflow: status_state::IsSet, S::Pipeline: status_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/sh_tangled/repo.rs b/crates/jacquard-api/src/sh_tangled/repo.rs index 27ede240..fb886a96 100644 --- a/crates/jacquard-api/src/sh_tangled/repo.rs +++ b/crates/jacquard-api/src/sh_tangled/repo.rs @@ -87,51 +87,51 @@ pub mod repo_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Name; type Knot; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Name = Unset; type Knot = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Name = S::Name; + type Knot = S::Knot; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type CreatedAt = S::CreatedAt; type Name = Set; type Knot = S::Knot; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `knot` field to Set pub struct SetKnot(PhantomData S>); impl sealed::Sealed for SetKnot {} impl State for SetKnot { - type Name = S::Name; - type Knot = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Name = S::Name; - type Knot = S::Knot; - type CreatedAt = Set; + type Knot = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `knot` field pub struct knot(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -351,9 +351,9 @@ impl<'a, S: repo_state::State> RepoBuilder<'a, S> { impl<'a, S> RepoBuilder<'a, S> where S: repo_state::State, + S::CreatedAt: repo_state::IsSet, S::Name: repo_state::IsSet, S::Knot: repo_state::IsSet, - S::CreatedAt: repo_state::IsSet, { /// Build the final struct pub fn build(self) -> Repo<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/archive.rs b/crates/jacquard-api/src/sh_tangled/repo/archive.rs index 4a08446a..aa1fcac7 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/archive.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/archive.rs @@ -39,37 +39,37 @@ pub mod archive_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; type Ref; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; type Ref = Unset; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; - type Ref = S::Ref; + type Repo = Unset; } ///State transition - sets the `ref` field to Set pub struct SetRef(PhantomData S>); impl sealed::Sealed for SetRef {} impl State for SetRef { - type Repo = S::Repo; type Ref = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Ref = S::Ref; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `ref` field pub struct r#ref(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -176,8 +176,8 @@ where impl<'a, S> ArchiveBuilder<'a, S> where S: archive_state::State, - S::Repo: archive_state::IsSet, S::Ref: archive_state::IsSet, + S::Repo: archive_state::IsSet, { /// Build the final struct pub fn build(self) -> Archive<'a> { @@ -234,8 +234,8 @@ pub enum ArchiveError<'a> { ArchiveError(std::option::Option>), } -impl std::fmt::Display for ArchiveError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ArchiveError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/artifact.rs b/crates/jacquard-api/src/sh_tangled/repo/artifact.rs index b2282a83..b67a1ea3 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/artifact.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/artifact.rs @@ -43,85 +43,85 @@ pub mod artifact_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Repo; + type Name; type Tag; type CreatedAt; type Artifact; - type Repo; - type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Repo = Unset; + type Name = Unset; type Tag = Unset; type CreatedAt = Unset; type Artifact = Unset; - type Repo = Unset; - type Name = Unset; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Repo = Set; + type Name = S::Name; + type Tag = S::Tag; + type CreatedAt = S::CreatedAt; + type Artifact = S::Artifact; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Repo = S::Repo; + type Name = Set; + type Tag = S::Tag; + type CreatedAt = S::CreatedAt; + type Artifact = S::Artifact; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { + type Repo = S::Repo; + type Name = S::Name; type Tag = Set; type CreatedAt = S::CreatedAt; type Artifact = S::Artifact; - type Repo = S::Repo; - type Name = S::Name; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Repo = S::Repo; + type Name = S::Name; type Tag = S::Tag; type CreatedAt = Set; type Artifact = S::Artifact; - type Repo = S::Repo; - type Name = S::Name; } ///State transition - sets the `artifact` field to Set pub struct SetArtifact(PhantomData S>); impl sealed::Sealed for SetArtifact {} impl State for SetArtifact { - type Tag = S::Tag; - type CreatedAt = S::CreatedAt; - type Artifact = Set; type Repo = S::Repo; type Name = S::Name; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { type Tag = S::Tag; type CreatedAt = S::CreatedAt; - type Artifact = S::Artifact; - type Repo = Set; - type Name = S::Name; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Tag = S::Tag; - type CreatedAt = S::CreatedAt; - type Artifact = S::Artifact; - type Repo = S::Repo; - type Name = Set; + type Artifact = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `repo` field + pub struct repo(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `tag` field pub struct tag(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `artifact` field pub struct artifact(()); - ///Marker type for the `repo` field - pub struct repo(()); - ///Marker type for the `name` field - pub struct name(()); } } @@ -254,11 +254,11 @@ where impl<'a, S> ArtifactBuilder<'a, S> where S: artifact_state::State, + S::Repo: artifact_state::IsSet, + S::Name: artifact_state::IsSet, S::Tag: artifact_state::IsSet, S::CreatedAt: artifact_state::IsSet, S::Artifact: artifact_state::IsSet, - S::Repo: artifact_state::IsSet, - S::Name: artifact_state::IsSet, { /// Build the final struct pub fn build(self) -> Artifact<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/blob.rs b/crates/jacquard-api/src/sh_tangled/repo/blob.rs index b6423dbd..7eea125f 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/blob.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/blob.rs @@ -44,51 +44,51 @@ pub mod last_commit_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Message; type Hash; type When; - type Message; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Message = Unset; type Hash = Unset; type When = Unset; - type Message = Unset; + } + ///State transition - sets the `message` field to Set + pub struct SetMessage(PhantomData S>); + impl sealed::Sealed for SetMessage {} + impl State for SetMessage { + type Message = Set; + type Hash = S::Hash; + type When = S::When; } ///State transition - sets the `hash` field to Set pub struct SetHash(PhantomData S>); impl sealed::Sealed for SetHash {} impl State for SetHash { + type Message = S::Message; type Hash = Set; type When = S::When; - type Message = S::Message; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Hash = S::Hash; - type When = Set; type Message = S::Message; - } - ///State transition - sets the `message` field to Set - pub struct SetMessage(PhantomData S>); - impl sealed::Sealed for SetMessage {} - impl State for SetMessage { type Hash = S::Hash; - type When = S::When; - type Message = Set; + type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `message` field + pub struct message(()); ///Marker type for the `hash` field pub struct hash(()); ///Marker type for the `when` field pub struct when(()); - ///Marker type for the `message` field - pub struct message(()); } } @@ -221,9 +221,9 @@ where impl<'a, S> LastCommitBuilder<'a, S> where S: last_commit_state::State, + S::Message: last_commit_state::IsSet, S::Hash: last_commit_state::IsSet, S::When: last_commit_state::IsSet, - S::Message: last_commit_state::IsSet, { /// Build the final struct pub fn build(self) -> LastCommit<'a> { @@ -893,8 +893,8 @@ pub enum BlobError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for BlobError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for BlobError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; @@ -987,51 +987,51 @@ pub mod signature_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Email; type Name; type When; + type Email; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Email = Unset; type Name = Unset; type When = Unset; - } - ///State transition - sets the `email` field to Set - pub struct SetEmail(PhantomData S>); - impl sealed::Sealed for SetEmail {} - impl State for SetEmail { - type Email = Set; - type Name = S::Name; - type When = S::When; + type Email = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Email = S::Email; type Name = Set; type When = S::When; + type Email = S::Email; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { - type Email = S::Email; type Name = S::Name; type When = Set; + type Email = S::Email; + } + ///State transition - sets the `email` field to Set + pub struct SetEmail(PhantomData S>); + impl sealed::Sealed for SetEmail {} + impl State for SetEmail { + type Name = S::Name; + type When = S::When; + type Email = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `email` field - pub struct email(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `when` field pub struct when(()); + ///Marker type for the `email` field + pub struct email(()); } } @@ -1124,9 +1124,9 @@ where impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, - S::Email: signature_state::IsSet, S::Name: signature_state::IsSet, S::When: signature_state::IsSet, + S::Email: signature_state::IsSet, { /// Build the final struct pub fn build(self) -> Signature<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/branch.rs b/crates/jacquard-api/src/sh_tangled/repo/branch.rs index 4ee33fdb..98af903d 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/branch.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/branch.rs @@ -209,8 +209,8 @@ pub enum BranchError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for BranchError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for BranchError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; @@ -296,51 +296,51 @@ pub mod signature_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type When; type Name; type Email; + type When; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type When = Unset; type Name = Unset; type Email = Unset; - } - ///State transition - sets the `when` field to Set - pub struct SetWhen(PhantomData S>); - impl sealed::Sealed for SetWhen {} - impl State for SetWhen { - type When = Set; - type Name = S::Name; - type Email = S::Email; + type When = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type When = S::When; type Name = Set; type Email = S::Email; + type When = S::When; } ///State transition - sets the `email` field to Set pub struct SetEmail(PhantomData S>); impl sealed::Sealed for SetEmail {} impl State for SetEmail { - type When = S::When; type Name = S::Name; type Email = Set; + type When = S::When; + } + ///State transition - sets the `when` field to Set + pub struct SetWhen(PhantomData S>); + impl sealed::Sealed for SetWhen {} + impl State for SetWhen { + type Name = S::Name; + type Email = S::Email; + type When = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `when` field - pub struct when(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `email` field pub struct email(()); + ///Marker type for the `when` field + pub struct when(()); } } @@ -433,9 +433,9 @@ where impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, - S::When: signature_state::IsSet, S::Name: signature_state::IsSet, S::Email: signature_state::IsSet, + S::When: signature_state::IsSet, { /// Build the final struct pub fn build(self) -> Signature<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/branches.rs b/crates/jacquard-api/src/sh_tangled/repo/branches.rs index d2e88919..be675b92 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/branches.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/branches.rs @@ -187,8 +187,8 @@ pub enum BranchesError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for BranchesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for BranchesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs b/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs index 893475c5..69048b7a 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs @@ -35,51 +35,51 @@ pub mod collaborator_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; type Repo; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; type Repo = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; - type Repo = S::Repo; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; type Repo = S::Repo; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type CreatedAt = S::CreatedAt; type Subject = S::Subject; type Repo = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type Repo = S::Repo; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -172,9 +172,9 @@ where impl<'a, S> CollaboratorBuilder<'a, S> where S: collaborator_state::State, - S::CreatedAt: collaborator_state::IsSet, S::Subject: collaborator_state::IsSet, S::Repo: collaborator_state::IsSet, + S::CreatedAt: collaborator_state::IsSet, { /// Build the final struct pub fn build(self) -> Collaborator<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/compare.rs b/crates/jacquard-api/src/sh_tangled/repo/compare.rs index bc82fe2c..e1a47481 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/compare.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/compare.rs @@ -34,51 +34,51 @@ pub mod compare_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Repo; - type Rev2; type Rev1; + type Rev2; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Repo = Unset; - type Rev2 = Unset; type Rev1 = Unset; + type Rev2 = Unset; + type Repo = Unset; } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Repo = Set; + ///State transition - sets the `rev1` field to Set + pub struct SetRev1(PhantomData S>); + impl sealed::Sealed for SetRev1 {} + impl State for SetRev1 { + type Rev1 = Set; type Rev2 = S::Rev2; - type Rev1 = S::Rev1; + type Repo = S::Repo; } ///State transition - sets the `rev2` field to Set pub struct SetRev2(PhantomData S>); impl sealed::Sealed for SetRev2 {} impl State for SetRev2 { - type Repo = S::Repo; - type Rev2 = Set; type Rev1 = S::Rev1; - } - ///State transition - sets the `rev1` field to Set - pub struct SetRev1(PhantomData S>); - impl sealed::Sealed for SetRev1 {} - impl State for SetRev1 { + type Rev2 = Set; type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Rev1 = S::Rev1; type Rev2 = S::Rev2; - type Rev1 = Set; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `repo` field - pub struct repo(()); - ///Marker type for the `rev2` field - pub struct rev2(()); ///Marker type for the `rev1` field pub struct rev1(()); + ///Marker type for the `rev2` field + pub struct rev2(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> CompareBuilder<'a, S> where S: compare_state::State, - S::Repo: compare_state::IsSet, - S::Rev2: compare_state::IsSet, S::Rev1: compare_state::IsSet, + S::Rev2: compare_state::IsSet, + S::Repo: compare_state::IsSet, { /// Build the final struct pub fn build(self) -> Compare<'a> { @@ -229,8 +229,8 @@ pub enum CompareError<'a> { CompareError(std::option::Option>), } -impl std::fmt::Display for CompareError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CompareError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/delete.rs b/crates/jacquard-api/src/sh_tangled/repo/delete.rs index 20b9675a..1a6cc138 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/delete.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/delete.rs @@ -38,51 +38,51 @@ pub mod delete_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; - type Rkey; type Did; + type Rkey; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; - type Rkey = Unset; type Did = Unset; + type Rkey = Unset; + type Name = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; type Rkey = S::Rkey; - type Did = S::Did; + type Name = S::Name; } ///State transition - sets the `rkey` field to Set pub struct SetRkey(PhantomData S>); impl sealed::Sealed for SetRkey {} impl State for SetRkey { - type Name = S::Name; - type Rkey = Set; type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { + type Rkey = Set; type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Did = S::Did; type Rkey = S::Rkey; - type Did = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); - ///Marker type for the `rkey` field - pub struct rkey(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `rkey` field + pub struct rkey(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> DeleteBuilder<'a, S> where S: delete_state::State, - S::Name: delete_state::IsSet, - S::Rkey: delete_state::IsSet, S::Did: delete_state::IsSet, + S::Rkey: delete_state::IsSet, + S::Name: delete_state::IsSet, { /// Build the final struct pub fn build(self) -> Delete<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/diff.rs b/crates/jacquard-api/src/sh_tangled/repo/diff.rs index 0cd5e9f2..2bafd6c9 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/diff.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/diff.rs @@ -32,37 +32,37 @@ pub mod diff_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Repo; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Repo = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Repo = S::Repo; + type Ref = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Ref = S::Ref; type Repo = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Repo = S::Repo; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> DiffBuilder<'a, S> where S: diff_state::State, - S::Ref: diff_state::IsSet, S::Repo: diff_state::IsSet, + S::Ref: diff_state::IsSet, { /// Build the final struct pub fn build(self) -> Diff<'a> { @@ -187,8 +187,8 @@ pub enum DiffError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for DiffError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DiffError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs b/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs index e1bb73d4..650db34a 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs @@ -44,85 +44,85 @@ pub mod fork_status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Name; + type Branch; type HiddenRef; type Source; - type Name; type Did; - type Branch; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Name = Unset; + type Branch = Unset; type HiddenRef = Unset; type Source = Unset; - type Name = Unset; type Did = Unset; - type Branch = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Branch = S::Branch; + type HiddenRef = S::HiddenRef; + type Source = S::Source; + type Did = S::Did; + } + ///State transition - sets the `branch` field to Set + pub struct SetBranch(PhantomData S>); + impl sealed::Sealed for SetBranch {} + impl State for SetBranch { + type Name = S::Name; + type Branch = Set; + type HiddenRef = S::HiddenRef; + type Source = S::Source; + type Did = S::Did; } ///State transition - sets the `hidden_ref` field to Set pub struct SetHiddenRef(PhantomData S>); impl sealed::Sealed for SetHiddenRef {} impl State for SetHiddenRef { + type Name = S::Name; + type Branch = S::Branch; type HiddenRef = Set; type Source = S::Source; - type Name = S::Name; type Did = S::Did; - type Branch = S::Branch; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { - type HiddenRef = S::HiddenRef; - type Source = Set; type Name = S::Name; - type Did = S::Did; type Branch = S::Branch; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { type HiddenRef = S::HiddenRef; - type Source = S::Source; - type Name = Set; + type Source = Set; type Did = S::Did; - type Branch = S::Branch; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type HiddenRef = S::HiddenRef; - type Source = S::Source; type Name = S::Name; - type Did = Set; type Branch = S::Branch; - } - ///State transition - sets the `branch` field to Set - pub struct SetBranch(PhantomData S>); - impl sealed::Sealed for SetBranch {} - impl State for SetBranch { type HiddenRef = S::HiddenRef; type Source = S::Source; - type Name = S::Name; - type Did = S::Did; - type Branch = Set; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `branch` field + pub struct branch(()); ///Marker type for the `hidden_ref` field pub struct hidden_ref(()); ///Marker type for the `source` field pub struct source(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `branch` field - pub struct branch(()); } } @@ -255,11 +255,11 @@ where impl<'a, S> ForkStatusBuilder<'a, S> where S: fork_status_state::State, + S::Name: fork_status_state::IsSet, + S::Branch: fork_status_state::IsSet, S::HiddenRef: fork_status_state::IsSet, S::Source: fork_status_state::IsSet, - S::Name: fork_status_state::IsSet, S::Did: fork_status_state::IsSet, - S::Branch: fork_status_state::IsSet, { /// Build the final struct pub fn build(self) -> ForkStatus<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs b/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs index 62d52c86..449b1349 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs @@ -42,66 +42,66 @@ pub mod fork_sync_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; - type Branch; - type Source; type Name; + type Source; + type Branch; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; - type Branch = Unset; - type Source = Unset; type Name = Unset; + type Source = Unset; + type Branch = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; - type Branch = S::Branch; - type Source = S::Source; type Name = S::Name; + type Source = S::Source; + type Branch = S::Branch; } - ///State transition - sets the `branch` field to Set - pub struct SetBranch(PhantomData S>); - impl sealed::Sealed for SetBranch {} - impl State for SetBranch { + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { type Did = S::Did; - type Branch = Set; + type Name = Set; type Source = S::Source; - type Name = S::Name; + type Branch = S::Branch; } ///State transition - sets the `source` field to Set pub struct SetSource(PhantomData S>); impl sealed::Sealed for SetSource {} impl State for SetSource { type Did = S::Did; - type Branch = S::Branch; - type Source = Set; type Name = S::Name; + type Source = Set; + type Branch = S::Branch; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { + ///State transition - sets the `branch` field to Set + pub struct SetBranch(PhantomData S>); + impl sealed::Sealed for SetBranch {} + impl State for SetBranch { type Did = S::Did; - type Branch = S::Branch; + type Name = S::Name; type Source = S::Source; - type Name = Set; + type Branch = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `branch` field - pub struct branch(()); - ///Marker type for the `source` field - pub struct source(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `source` field + pub struct source(()); + ///Marker type for the `branch` field + pub struct branch(()); } } @@ -215,9 +215,9 @@ impl<'a, S> ForkSyncBuilder<'a, S> where S: fork_sync_state::State, S::Did: fork_sync_state::IsSet, - S::Branch: fork_sync_state::IsSet, - S::Source: fork_sync_state::IsSet, S::Name: fork_sync_state::IsSet, + S::Source: fork_sync_state::IsSet, + S::Branch: fork_sync_state::IsSet, { /// Build the final struct pub fn build(self) -> ForkSync<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs b/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs index 45664831..7471f47d 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs @@ -167,8 +167,8 @@ pub enum GetDefaultBranchError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for GetDefaultBranchError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetDefaultBranchError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; @@ -248,50 +248,50 @@ pub mod signature_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Email; - type Name; type When; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Email = Unset; - type Name = Unset; type When = Unset; + type Name = Unset; } ///State transition - sets the `email` field to Set pub struct SetEmail(PhantomData S>); impl sealed::Sealed for SetEmail {} impl State for SetEmail { type Email = Set; - type Name = S::Name; - type When = S::When; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Email = S::Email; - type Name = Set; type When = S::When; + type Name = S::Name; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type Email = S::Email; - type Name = S::Name; type When = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Email = S::Email; + type When = S::When; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `email` field pub struct email(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `when` field pub struct when(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -385,8 +385,8 @@ impl<'a, S> SignatureBuilder<'a, S> where S: signature_state::State, S::Email: signature_state::IsSet, - S::Name: signature_state::IsSet, S::When: signature_state::IsSet, + S::Name: signature_state::IsSet, { /// Build the final struct pub fn build(self) -> Signature<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs b/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs index f3ada172..0e3db515 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs @@ -38,51 +38,51 @@ pub mod hidden_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type RemoteRef; type Repo; type ForkRef; - type RemoteRef; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type RemoteRef = Unset; type Repo = Unset; type ForkRef = Unset; - type RemoteRef = Unset; + } + ///State transition - sets the `remote_ref` field to Set + pub struct SetRemoteRef(PhantomData S>); + impl sealed::Sealed for SetRemoteRef {} + impl State for SetRemoteRef { + type RemoteRef = Set; + type Repo = S::Repo; + type ForkRef = S::ForkRef; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { + type RemoteRef = S::RemoteRef; type Repo = Set; type ForkRef = S::ForkRef; - type RemoteRef = S::RemoteRef; } ///State transition - sets the `fork_ref` field to Set pub struct SetForkRef(PhantomData S>); impl sealed::Sealed for SetForkRef {} impl State for SetForkRef { - type Repo = S::Repo; - type ForkRef = Set; type RemoteRef = S::RemoteRef; - } - ///State transition - sets the `remote_ref` field to Set - pub struct SetRemoteRef(PhantomData S>); - impl sealed::Sealed for SetRemoteRef {} - impl State for SetRemoteRef { type Repo = S::Repo; - type ForkRef = S::ForkRef; - type RemoteRef = Set; + type ForkRef = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `remote_ref` field + pub struct remote_ref(()); ///Marker type for the `repo` field pub struct repo(()); ///Marker type for the `fork_ref` field pub struct fork_ref(()); - ///Marker type for the `remote_ref` field - pub struct remote_ref(()); } } @@ -175,9 +175,9 @@ where impl<'a, S> HiddenRefBuilder<'a, S> where S: hidden_ref_state::State, + S::RemoteRef: hidden_ref_state::IsSet, S::Repo: hidden_ref_state::IsSet, S::ForkRef: hidden_ref_state::IsSet, - S::RemoteRef: hidden_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> HiddenRef<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue.rs b/crates/jacquard-api/src/sh_tangled/repo/issue.rs index 3030cb7f..d4d88483 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/issue.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/issue.rs @@ -46,49 +46,49 @@ pub mod issue_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Title; + type CreatedAt; type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Title = Unset; + type CreatedAt = Unset; type Repo = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Title = S::Title; - type Repo = S::Repo; - } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type CreatedAt = S::CreatedAt; type Title = Set; + type CreatedAt = S::CreatedAt; + type Repo = S::Repo; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Title = S::Title; + type CreatedAt = Set; type Repo = S::Repo; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type CreatedAt = S::CreatedAt; type Title = S::Title; + type CreatedAt = S::CreatedAt; type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `repo` field pub struct repo(()); } @@ -240,8 +240,8 @@ where impl<'a, S> IssueBuilder<'a, S> where S: issue_state::State, - S::CreatedAt: issue_state::IsSet, S::Title: issue_state::IsSet, + S::CreatedAt: issue_state::IsSet, S::Repo: issue_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs b/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs index aec95f66..18c72566 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs @@ -44,50 +44,50 @@ pub mod comment_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Body; - type Issue; type CreatedAt; + type Issue; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Body = Unset; - type Issue = Unset; type CreatedAt = Unset; + type Issue = Unset; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { type Body = Set; - type Issue = S::Issue; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `issue` field to Set - pub struct SetIssue(PhantomData S>); - impl sealed::Sealed for SetIssue {} - impl State for SetIssue { - type Body = S::Body; - type Issue = Set; type CreatedAt = S::CreatedAt; + type Issue = S::Issue; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Body = S::Body; - type Issue = S::Issue; type CreatedAt = Set; + type Issue = S::Issue; + } + ///State transition - sets the `issue` field to Set + pub struct SetIssue(PhantomData S>); + impl sealed::Sealed for SetIssue {} + impl State for SetIssue { + type Body = S::Body; + type CreatedAt = S::CreatedAt; + type Issue = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `body` field pub struct body(()); - ///Marker type for the `issue` field - pub struct issue(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `issue` field + pub struct issue(()); } } @@ -241,8 +241,8 @@ impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, S::Body: comment_state::IsSet, - S::Issue: comment_state::IsSet, S::CreatedAt: comment_state::IsSet, + S::Issue: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs b/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs index 574793af..30e0ea3c 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs @@ -24,7 +24,7 @@ pub struct State<'a> { pub issue: jacquard_common::types::string::AtUri<'a>, /// state of the issue #[serde(borrow)] - pub state: jacquard_common::CowStr<'a>, + pub state: StateState<'a>, } pub mod state_state { @@ -37,37 +37,37 @@ pub mod state_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type State; type Issue; + type State; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type State = Unset; type Issue = Unset; - } - ///State transition - sets the `state` field to Set - pub struct SetState(PhantomData S>); - impl sealed::Sealed for SetState {} - impl State for SetState { - type State = Set; - type Issue = S::Issue; + type State = Unset; } ///State transition - sets the `issue` field to Set pub struct SetIssue(PhantomData S>); impl sealed::Sealed for SetIssue {} impl State for SetIssue { - type State = S::State; type Issue = Set; + type State = S::State; + } + ///State transition - sets the `state` field to Set + pub struct SetState(PhantomData S>); + impl sealed::Sealed for SetState {} + impl State for SetState { + type Issue = S::Issue; + type State = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `state` field - pub struct state(()); ///Marker type for the `issue` field pub struct issue(()); + ///Marker type for the `state` field + pub struct state(()); } } @@ -76,7 +76,7 @@ pub struct StateBuilder<'a, S: state_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -126,7 +126,7 @@ where /// Set the `state` field (required) pub fn state( mut self, - value: impl Into>, + value: impl Into>, ) -> StateBuilder<'a, state_state::SetState> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); StateBuilder { @@ -140,8 +140,8 @@ where impl<'a, S> StateBuilder<'a, S> where S: state_state::State, - S::State: state_state::IsSet, S::Issue: state_state::IsSet, + S::State: state_state::IsSet, { /// Build the final struct pub fn build(self) -> State<'a> { @@ -180,6 +180,99 @@ impl<'a> State<'a> { } } +/// state of the issue +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum StateState<'a> { + ShTangledRepoIssueStateOpen, + ShTangledRepoIssueStateClosed, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> StateState<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ShTangledRepoIssueStateOpen => "sh.tangled.repo.issue.state.open", + Self::ShTangledRepoIssueStateClosed => "sh.tangled.repo.issue.state.closed", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for StateState<'a> { + fn from(s: &'a str) -> Self { + match s { + "sh.tangled.repo.issue.state.open" => Self::ShTangledRepoIssueStateOpen, + "sh.tangled.repo.issue.state.closed" => Self::ShTangledRepoIssueStateClosed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for StateState<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "sh.tangled.repo.issue.state.open" => Self::ShTangledRepoIssueStateOpen, + "sh.tangled.repo.issue.state.closed" => Self::ShTangledRepoIssueStateClosed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for StateState<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for StateState<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for StateState<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for StateState<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for StateState<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for StateState<'_> { + type Output = StateState<'static>; + fn into_static(self) -> Self::Output { + match self { + StateState::ShTangledRepoIssueStateOpen => { + StateState::ShTangledRepoIssueStateOpen + } + StateState::ShTangledRepoIssueStateClosed => { + StateState::ShTangledRepoIssueStateClosed + } + StateState::Other(v) => StateState::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/sh_tangled/repo/languages.rs b/crates/jacquard-api/src/sh_tangled/repo/languages.rs index 63ceab81..e2360f00 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/languages.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/languages.rs @@ -663,8 +663,8 @@ pub enum LanguagesError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for LanguagesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for LanguagesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs b/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs index 26081b5d..75b34f95 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs @@ -185,66 +185,66 @@ pub mod secret_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Key; - type CreatedAt; - type CreatedBy; type Repo; + type CreatedBy; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Key = Unset; - type CreatedAt = Unset; - type CreatedBy = Unset; type Repo = Unset; + type CreatedBy = Unset; + type CreatedAt = Unset; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { type Key = Set; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; type Repo = S::Repo; + type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { type Key = S::Key; - type CreatedAt = Set; + type Repo = Set; type CreatedBy = S::CreatedBy; - type Repo = S::Repo; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { type Key = S::Key; - type CreatedAt = S::CreatedAt; - type CreatedBy = Set; type Repo = S::Repo; + type CreatedBy = Set; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Key = S::Key; - type CreatedAt = S::CreatedAt; + type Repo = S::Repo; type CreatedBy = S::CreatedBy; - type Repo = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `key` field pub struct key(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `created_by` field - pub struct created_by(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `created_by` field + pub struct created_by(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -358,9 +358,9 @@ impl<'a, S> SecretBuilder<'a, S> where S: secret_state::State, S::Key: secret_state::IsSet, - S::CreatedAt: secret_state::IsSet, - S::CreatedBy: secret_state::IsSet, S::Repo: secret_state::IsSet, + S::CreatedBy: secret_state::IsSet, + S::CreatedAt: secret_state::IsSet, { /// Build the final struct pub fn build(self) -> Secret<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/log.rs b/crates/jacquard-api/src/sh_tangled/repo/log.rs index e91b13b7..dd329a70 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/log.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/log.rs @@ -251,8 +251,8 @@ pub enum LogError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for LogError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for LogError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/merge.rs b/crates/jacquard-api/src/sh_tangled/repo/merge.rs index b554567c..f4693fa4 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/merge.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/merge.rs @@ -58,66 +58,66 @@ pub mod merge_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Did; - type Patch; - type Name; type Branch; + type Name; + type Patch; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Did = Unset; - type Patch = Unset; - type Name = Unset; type Branch = Unset; + type Name = Unset; + type Patch = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Did = Set; - type Patch = S::Patch; - type Name = S::Name; type Branch = S::Branch; + type Name = S::Name; + type Patch = S::Patch; } - ///State transition - sets the `patch` field to Set - pub struct SetPatch(PhantomData S>); - impl sealed::Sealed for SetPatch {} - impl State for SetPatch { + ///State transition - sets the `branch` field to Set + pub struct SetBranch(PhantomData S>); + impl sealed::Sealed for SetBranch {} + impl State for SetBranch { type Did = S::Did; - type Patch = Set; + type Branch = Set; type Name = S::Name; - type Branch = S::Branch; + type Patch = S::Patch; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Did = S::Did; - type Patch = S::Patch; - type Name = Set; type Branch = S::Branch; + type Name = Set; + type Patch = S::Patch; } - ///State transition - sets the `branch` field to Set - pub struct SetBranch(PhantomData S>); - impl sealed::Sealed for SetBranch {} - impl State for SetBranch { + ///State transition - sets the `patch` field to Set + pub struct SetPatch(PhantomData S>); + impl sealed::Sealed for SetPatch {} + impl State for SetPatch { type Did = S::Did; - type Patch = S::Patch; + type Branch = S::Branch; type Name = S::Name; - type Branch = Set; + type Patch = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `patch` field - pub struct patch(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `branch` field pub struct branch(()); + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `patch` field + pub struct patch(()); } } @@ -311,9 +311,9 @@ impl<'a, S> MergeBuilder<'a, S> where S: merge_state::State, S::Did: merge_state::IsSet, - S::Patch: merge_state::IsSet, - S::Name: merge_state::IsSet, S::Branch: merge_state::IsSet, + S::Name: merge_state::IsSet, + S::Patch: merge_state::IsSet, { /// Build the final struct pub fn build(self) -> Merge<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull.rs b/crates/jacquard-api/src/sh_tangled/repo/pull.rs index 33e8a2ff..b4cd0fbf 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/pull.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/pull.rs @@ -52,66 +52,66 @@ pub mod pull_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Patch; - type Target; - type CreatedAt; type Title; + type CreatedAt; + type Target; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Patch = Unset; - type Target = Unset; - type CreatedAt = Unset; type Title = Unset; + type CreatedAt = Unset; + type Target = Unset; } ///State transition - sets the `patch` field to Set pub struct SetPatch(PhantomData S>); impl sealed::Sealed for SetPatch {} impl State for SetPatch { type Patch = Set; - type Target = S::Target; - type CreatedAt = S::CreatedAt; type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Target = S::Target; } - ///State transition - sets the `target` field to Set - pub struct SetTarget(PhantomData S>); - impl sealed::Sealed for SetTarget {} - impl State for SetTarget { + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { type Patch = S::Patch; - type Target = Set; + type Title = Set; type CreatedAt = S::CreatedAt; - type Title = S::Title; + type Target = S::Target; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Patch = S::Patch; - type Target = S::Target; - type CreatedAt = Set; type Title = S::Title; + type CreatedAt = Set; + type Target = S::Target; } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { + ///State transition - sets the `target` field to Set + pub struct SetTarget(PhantomData S>); + impl sealed::Sealed for SetTarget {} + impl State for SetTarget { type Patch = S::Patch; - type Target = S::Target; + type Title = S::Title; type CreatedAt = S::CreatedAt; - type Title = Set; + type Target = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `patch` field pub struct patch(()); - ///Marker type for the `target` field - pub struct target(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `target` field + pub struct target(()); } } @@ -302,9 +302,9 @@ impl<'a, S> PullBuilder<'a, S> where S: pull_state::State, S::Patch: pull_state::IsSet, - S::Target: pull_state::IsSet, - S::CreatedAt: pull_state::IsSet, S::Title: pull_state::IsSet, + S::CreatedAt: pull_state::IsSet, + S::Target: pull_state::IsSet, { /// Build the final struct pub fn build(self) -> Pull<'a> { @@ -793,37 +793,37 @@ pub mod target_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Branch; type Repo; + type Branch; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Branch = Unset; type Repo = Unset; - } - ///State transition - sets the `branch` field to Set - pub struct SetBranch(PhantomData S>); - impl sealed::Sealed for SetBranch {} - impl State for SetBranch { - type Branch = Set; - type Repo = S::Repo; + type Branch = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Branch = S::Branch; type Repo = Set; + type Branch = S::Branch; + } + ///State transition - sets the `branch` field to Set + pub struct SetBranch(PhantomData S>); + impl sealed::Sealed for SetBranch {} + impl State for SetBranch { + type Repo = S::Repo; + type Branch = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `branch` field - pub struct branch(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `branch` field + pub struct branch(()); } } @@ -896,8 +896,8 @@ where impl<'a, S> TargetBuilder<'a, S> where S: target_state::State, - S::Branch: target_state::IsSet, S::Repo: target_state::IsSet, + S::Branch: target_state::IsSet, { /// Build the final struct pub fn build(self) -> Target<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs index 14c68565..e6ad6a92 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs @@ -40,51 +40,51 @@ pub mod comment_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Pull; - type CreatedAt; type Body; + type CreatedAt; + type Pull; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Pull = Unset; - type CreatedAt = Unset; type Body = Unset; + type CreatedAt = Unset; + type Pull = Unset; } - ///State transition - sets the `pull` field to Set - pub struct SetPull(PhantomData S>); - impl sealed::Sealed for SetPull {} - impl State for SetPull { - type Pull = Set; + ///State transition - sets the `body` field to Set + pub struct SetBody(PhantomData S>); + impl sealed::Sealed for SetBody {} + impl State for SetBody { + type Body = Set; type CreatedAt = S::CreatedAt; - type Body = S::Body; + type Pull = S::Pull; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Pull = S::Pull; - type CreatedAt = Set; type Body = S::Body; - } - ///State transition - sets the `body` field to Set - pub struct SetBody(PhantomData S>); - impl sealed::Sealed for SetBody {} - impl State for SetBody { + type CreatedAt = Set; type Pull = S::Pull; + } + ///State transition - sets the `pull` field to Set + pub struct SetPull(PhantomData S>); + impl sealed::Sealed for SetPull {} + impl State for SetPull { + type Body = S::Body; type CreatedAt = S::CreatedAt; - type Body = Set; + type Pull = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `pull` field - pub struct pull(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `body` field pub struct body(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `pull` field + pub struct pull(()); } } @@ -217,9 +217,9 @@ impl<'a, S: comment_state::State> CommentBuilder<'a, S> { impl<'a, S> CommentBuilder<'a, S> where S: comment_state::State, - S::Pull: comment_state::IsSet, - S::CreatedAt: comment_state::IsSet, S::Body: comment_state::IsSet, + S::CreatedAt: comment_state::IsSet, + S::Pull: comment_state::IsSet, { /// Build the final struct pub fn build(self) -> Comment<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs index 1cd6e266..f4b67dae 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs @@ -25,7 +25,7 @@ pub struct Status<'a> { pub pull: jacquard_common::types::string::AtUri<'a>, /// status of the pull request #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: StatusStatus<'a>, } pub mod status_state { @@ -38,37 +38,37 @@ pub mod status_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Pull; type Status; + type Pull; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Pull = Unset; type Status = Unset; - } - ///State transition - sets the `pull` field to Set - pub struct SetPull(PhantomData S>); - impl sealed::Sealed for SetPull {} - impl State for SetPull { - type Pull = Set; - type Status = S::Status; + type Pull = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type Pull = S::Pull; type Status = Set; + type Pull = S::Pull; + } + ///State transition - sets the `pull` field to Set + pub struct SetPull(PhantomData S>); + impl sealed::Sealed for SetPull {} + impl State for SetPull { + type Status = S::Status; + type Pull = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `pull` field - pub struct pull(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `pull` field + pub struct pull(()); } } @@ -77,7 +77,7 @@ pub struct StatusBuilder<'a, S: status_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -127,7 +127,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> StatusBuilder<'a, status_state::SetStatus> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); StatusBuilder { @@ -141,8 +141,8 @@ where impl<'a, S> StatusBuilder<'a, S> where S: status_state::State, - S::Pull: status_state::IsSet, S::Status: status_state::IsSet, + S::Pull: status_state::IsSet, { /// Build the final struct pub fn build(self) -> Status<'a> { @@ -181,6 +181,106 @@ impl<'a> Status<'a> { } } +/// status of the pull request +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum StatusStatus<'a> { + ShTangledRepoPullStatusOpen, + ShTangledRepoPullStatusClosed, + ShTangledRepoPullStatusMerged, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> StatusStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ShTangledRepoPullStatusOpen => "sh.tangled.repo.pull.status.open", + Self::ShTangledRepoPullStatusClosed => "sh.tangled.repo.pull.status.closed", + Self::ShTangledRepoPullStatusMerged => "sh.tangled.repo.pull.status.merged", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for StatusStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "sh.tangled.repo.pull.status.open" => Self::ShTangledRepoPullStatusOpen, + "sh.tangled.repo.pull.status.closed" => Self::ShTangledRepoPullStatusClosed, + "sh.tangled.repo.pull.status.merged" => Self::ShTangledRepoPullStatusMerged, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for StatusStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "sh.tangled.repo.pull.status.open" => Self::ShTangledRepoPullStatusOpen, + "sh.tangled.repo.pull.status.closed" => Self::ShTangledRepoPullStatusClosed, + "sh.tangled.repo.pull.status.merged" => Self::ShTangledRepoPullStatusMerged, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for StatusStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for StatusStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for StatusStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for StatusStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for StatusStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for StatusStatus<'_> { + type Output = StatusStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + StatusStatus::ShTangledRepoPullStatusOpen => { + StatusStatus::ShTangledRepoPullStatusOpen + } + StatusStatus::ShTangledRepoPullStatusClosed => { + StatusStatus::ShTangledRepoPullStatusClosed + } + StatusStatus::ShTangledRepoPullStatusMerged => { + StatusStatus::ShTangledRepoPullStatusMerged + } + StatusStatus::Other(v) => StatusStatus::Other(v.into_static()), + } + } +} + /// Typed wrapper for GetRecord response with this collection's record type. #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs b/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs index ce02936e..c994e075 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs @@ -33,37 +33,37 @@ pub mod remove_secret_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Key; type Repo; + type Key; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Key = Unset; type Repo = Unset; - } - ///State transition - sets the `key` field to Set - pub struct SetKey(PhantomData S>); - impl sealed::Sealed for SetKey {} - impl State for SetKey { - type Key = Set; - type Repo = S::Repo; + type Key = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Key = S::Key; type Repo = Set; + type Key = S::Key; + } + ///State transition - sets the `key` field to Set + pub struct SetKey(PhantomData S>); + impl sealed::Sealed for SetKey {} + impl State for SetKey { + type Repo = S::Repo; + type Key = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `key` field - pub struct key(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `key` field + pub struct key(()); } } @@ -136,8 +136,8 @@ where impl<'a, S> RemoveSecretBuilder<'a, S> where S: remove_secret_state::State, - S::Key: remove_secret_state::IsSet, S::Repo: remove_secret_state::IsSet, + S::Key: remove_secret_state::IsSet, { /// Build the final struct pub fn build(self) -> RemoveSecret<'a> { diff --git a/crates/jacquard-api/src/sh_tangled/repo/tags.rs b/crates/jacquard-api/src/sh_tangled/repo/tags.rs index 6386fc36..6c3ddb5a 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/tags.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/tags.rs @@ -187,8 +187,8 @@ pub enum TagsError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for TagsError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for TagsError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/sh_tangled/repo/tree.rs b/crates/jacquard-api/src/sh_tangled/repo/tree.rs index e00193f9..e7db7962 100644 --- a/crates/jacquard-api/src/sh_tangled/repo/tree.rs +++ b/crates/jacquard-api/src/sh_tangled/repo/tree.rs @@ -38,50 +38,50 @@ pub mod last_commit_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type When; - type Hash; type Message; + type Hash; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type When = Unset; - type Hash = Unset; type Message = Unset; + type Hash = Unset; } ///State transition - sets the `when` field to Set pub struct SetWhen(PhantomData S>); impl sealed::Sealed for SetWhen {} impl State for SetWhen { type When = Set; - type Hash = S::Hash; - type Message = S::Message; - } - ///State transition - sets the `hash` field to Set - pub struct SetHash(PhantomData S>); - impl sealed::Sealed for SetHash {} - impl State for SetHash { - type When = S::When; - type Hash = Set; type Message = S::Message; + type Hash = S::Hash; } ///State transition - sets the `message` field to Set pub struct SetMessage(PhantomData S>); impl sealed::Sealed for SetMessage {} impl State for SetMessage { type When = S::When; - type Hash = S::Hash; type Message = Set; + type Hash = S::Hash; + } + ///State transition - sets the `hash` field to Set + pub struct SetHash(PhantomData S>); + impl sealed::Sealed for SetHash {} + impl State for SetHash { + type When = S::When; + type Message = S::Message; + type Hash = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `when` field pub struct when(()); - ///Marker type for the `hash` field - pub struct hash(()); ///Marker type for the `message` field pub struct message(()); + ///Marker type for the `hash` field + pub struct hash(()); } } @@ -175,8 +175,8 @@ impl<'a, S> LastCommitBuilder<'a, S> where S: last_commit_state::State, S::When: last_commit_state::IsSet, - S::Hash: last_commit_state::IsSet, S::Message: last_commit_state::IsSet, + S::Hash: last_commit_state::IsSet, { /// Build the final struct pub fn build(self) -> LastCommit<'a> { @@ -551,37 +551,37 @@ pub mod tree_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Ref; type Repo; + type Ref; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Ref = Unset; type Repo = Unset; - } - ///State transition - sets the `ref` field to Set - pub struct SetRef(PhantomData S>); - impl sealed::Sealed for SetRef {} - impl State for SetRef { - type Ref = Set; - type Repo = S::Repo; + type Ref = Unset; } ///State transition - sets the `repo` field to Set pub struct SetRepo(PhantomData S>); impl sealed::Sealed for SetRepo {} impl State for SetRepo { - type Ref = S::Ref; type Repo = Set; + type Ref = S::Ref; + } + ///State transition - sets the `ref` field to Set + pub struct SetRef(PhantomData S>); + impl sealed::Sealed for SetRef {} + impl State for SetRef { + type Repo = S::Repo; + type Ref = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `ref` field - pub struct r#ref(()); ///Marker type for the `repo` field pub struct repo(()); + ///Marker type for the `ref` field + pub struct r#ref(()); } } @@ -671,8 +671,8 @@ where impl<'a, S> TreeBuilder<'a, S> where S: tree_state::State, - S::Ref: tree_state::IsSet, S::Repo: tree_state::IsSet, + S::Ref: tree_state::IsSet, { /// Build the final struct pub fn build(self) -> Tree<'a> { @@ -744,8 +744,8 @@ pub enum TreeError<'a> { InvalidRequest(std::option::Option>), } -impl std::fmt::Display for TreeError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for TreeError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; @@ -879,49 +879,49 @@ pub mod tree_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Mode; type Size; + type Mode; type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Mode = Unset; type Size = Unset; + type Mode = Unset; type Name = Unset; } - ///State transition - sets the `mode` field to Set - pub struct SetMode(PhantomData S>); - impl sealed::Sealed for SetMode {} - impl State for SetMode { - type Mode = Set; - type Size = S::Size; - type Name = S::Name; - } ///State transition - sets the `size` field to Set pub struct SetSize(PhantomData S>); impl sealed::Sealed for SetSize {} impl State for SetSize { - type Mode = S::Mode; type Size = Set; + type Mode = S::Mode; + type Name = S::Name; + } + ///State transition - sets the `mode` field to Set + pub struct SetMode(PhantomData S>); + impl sealed::Sealed for SetMode {} + impl State for SetMode { + type Size = S::Size; + type Mode = Set; type Name = S::Name; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Mode = S::Mode; type Size = S::Size; + type Mode = S::Mode; type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `mode` field - pub struct mode(()); ///Marker type for the `size` field pub struct size(()); + ///Marker type for the `mode` field + pub struct mode(()); ///Marker type for the `name` field pub struct name(()); } @@ -1036,8 +1036,8 @@ where impl<'a, S> TreeEntryBuilder<'a, S> where S: tree_entry_state::State, - S::Mode: tree_entry_state::IsSet, S::Size: tree_entry_state::IsSet, + S::Mode: tree_entry_state::IsSet, S::Name: tree_entry_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/sh_tangled/spindle/member.rs b/crates/jacquard-api/src/sh_tangled/spindle/member.rs index d1ee666b..700169a8 100644 --- a/crates/jacquard-api/src/sh_tangled/spindle/member.rs +++ b/crates/jacquard-api/src/sh_tangled/spindle/member.rs @@ -35,49 +35,49 @@ pub mod member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; type Instance; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; + type Subject = Unset; type Instance = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; - type Instance = S::Instance; - } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + type Instance = S::Instance; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; type Instance = S::Instance; } ///State transition - sets the `instance` field to Set pub struct SetInstance(PhantomData S>); impl sealed::Sealed for SetInstance {} impl State for SetInstance { - type Subject = S::Subject; type CreatedAt = S::CreatedAt; + type Subject = S::Subject; type Instance = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `instance` field pub struct instance(()); } @@ -172,8 +172,8 @@ where impl<'a, S> MemberBuilder<'a, S> where S: member_state::State, - S::Subject: member_state::IsSet, S::CreatedAt: member_state::IsSet, + S::Subject: member_state::IsSet, S::Instance: member_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/sh_weaver/actor.rs b/crates/jacquard-api/src/sh_weaver/actor.rs index 7b6d8b70..ae21bf19 100644 --- a/crates/jacquard-api/src/sh_weaver/actor.rs +++ b/crates/jacquard-api/src/sh_weaver/actor.rs @@ -2623,37 +2623,37 @@ pub mod profile_view_basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type Did; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type Did = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type Did = S::Did; + type Handle = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; type Did = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type Did = S::Did; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -2846,8 +2846,8 @@ impl<'a, S: profile_view_basic_state::State> ProfileViewBasicBuilder<'a, S> { impl<'a, S> ProfileViewBasicBuilder<'a, S> where S: profile_view_basic_state::State, - S::Handle: profile_view_basic_state::IsSet, S::Did: profile_view_basic_state::IsSet, + S::Handle: profile_view_basic_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileViewBasic<'a> { @@ -3167,50 +3167,50 @@ pub mod tangled_profile_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Handle; - type Bluesky; type Did; + type Bluesky; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Handle = Unset; - type Bluesky = Unset; type Did = Unset; + type Bluesky = Unset; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { type Handle = Set; - type Bluesky = S::Bluesky; - type Did = S::Did; - } - ///State transition - sets the `bluesky` field to Set - pub struct SetBluesky(PhantomData S>); - impl sealed::Sealed for SetBluesky {} - impl State for SetBluesky { - type Handle = S::Handle; - type Bluesky = Set; type Did = S::Did; + type Bluesky = S::Bluesky; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { type Handle = S::Handle; - type Bluesky = S::Bluesky; type Did = Set; + type Bluesky = S::Bluesky; + } + ///State transition - sets the `bluesky` field to Set + pub struct SetBluesky(PhantomData S>); + impl sealed::Sealed for SetBluesky {} + impl State for SetBluesky { + type Handle = S::Handle; + type Did = S::Did; + type Bluesky = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `handle` field pub struct handle(()); - ///Marker type for the `bluesky` field - pub struct bluesky(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `bluesky` field + pub struct bluesky(()); } } @@ -3401,8 +3401,8 @@ impl<'a, S> TangledProfileViewBuilder<'a, S> where S: tangled_profile_view_state::State, S::Handle: tangled_profile_view_state::IsSet, - S::Bluesky: tangled_profile_view_state::IsSet, S::Did: tangled_profile_view_state::IsSet, + S::Bluesky: tangled_profile_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TangledProfileView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/collab.rs b/crates/jacquard-api/src/sh_weaver/collab.rs index 26bb4490..78979b46 100644 --- a/crates/jacquard-api/src/sh_weaver/collab.rs +++ b/crates/jacquard-api/src/sh_weaver/collab.rs @@ -81,7 +81,7 @@ pub struct CollaborationStateView<'a> { pub resource: crate::com_atproto::repo::strong_ref::StrongRef<'a>, /// active=normal, broken=all invites revoked/expired, diverged=versions differ, reconciled=was diverged but resolved #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: CollaborationStateViewStatus<'a>, } pub mod collaboration_state_view_state { @@ -94,49 +94,49 @@ pub mod collaboration_state_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; type Participants; + type Status; type Resource; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; type Participants = Unset; + type Status = Unset; type Resource = Unset; } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; - type Participants = S::Participants; - type Resource = S::Resource; - } ///State transition - sets the `participants` field to Set pub struct SetParticipants(PhantomData S>); impl sealed::Sealed for SetParticipants {} impl State for SetParticipants { - type Status = S::Status; type Participants = Set; + type Status = S::Status; + type Resource = S::Resource; + } + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Participants = S::Participants; + type Status = Set; type Resource = S::Resource; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type Status = S::Status; type Participants = S::Participants; + type Status = S::Status; type Resource = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); ///Marker type for the `participants` field pub struct participants(()); + ///Marker type for the `status` field + pub struct status(()); ///Marker type for the `resource` field pub struct resource(()); } @@ -161,7 +161,7 @@ pub struct CollaborationStateViewBuilder<'a, S: collaboration_state_view_state:: Vec>, >, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -409,7 +409,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> CollaborationStateViewBuilder< 'a, collaboration_state_view_state::SetStatus, @@ -426,8 +426,8 @@ where impl<'a, S> CollaborationStateViewBuilder<'a, S> where S: collaboration_state_view_state::State, - S::Status: collaboration_state_view_state::IsSet, S::Participants: collaboration_state_view_state::IsSet, + S::Status: collaboration_state_view_state::IsSet, S::Resource: collaboration_state_view_state::IsSet, { /// Build the final struct @@ -474,6 +474,111 @@ where } } +/// active=normal, broken=all invites revoked/expired, diverged=versions differ, reconciled=was diverged but resolved +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum CollaborationStateViewStatus<'a> { + Active, + Broken, + Diverged, + Reconciled, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> CollaborationStateViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Active => "active", + Self::Broken => "broken", + Self::Diverged => "diverged", + Self::Reconciled => "reconciled", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for CollaborationStateViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "active" => Self::Active, + "broken" => Self::Broken, + "diverged" => Self::Diverged, + "reconciled" => Self::Reconciled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for CollaborationStateViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "active" => Self::Active, + "broken" => Self::Broken, + "diverged" => Self::Diverged, + "reconciled" => Self::Reconciled, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for CollaborationStateViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for CollaborationStateViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for CollaborationStateViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for CollaborationStateViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for CollaborationStateViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for CollaborationStateViewStatus<'_> { + type Output = CollaborationStateViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + CollaborationStateViewStatus::Active => CollaborationStateViewStatus::Active, + CollaborationStateViewStatus::Broken => CollaborationStateViewStatus::Broken, + CollaborationStateViewStatus::Diverged => { + CollaborationStateViewStatus::Diverged + } + CollaborationStateViewStatus::Reconciled => { + CollaborationStateViewStatus::Reconciled + } + CollaborationStateViewStatus::Other(v) => { + CollaborationStateViewStatus::Other(v.into_static()) + } + } + } +} + fn lexicon_doc_sh_weaver_collab_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { @@ -1481,7 +1586,7 @@ pub struct FormerCollaboratorView<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] pub contribution_count: std::option::Option, #[serde(borrow)] - pub end_reason: jacquard_common::CowStr<'a>, + pub end_reason: FormerCollaboratorViewEndReason<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub has_published_version: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -1505,67 +1610,67 @@ pub mod former_collaborator_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type User; + type EndReason; type WasActiveUntil; + type User; type WasActiveFrom; - type EndReason; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type User = Unset; + type EndReason = Unset; type WasActiveUntil = Unset; + type User = Unset; type WasActiveFrom = Unset; - type EndReason = Unset; } - ///State transition - sets the `user` field to Set - pub struct SetUser(PhantomData S>); - impl sealed::Sealed for SetUser {} - impl State for SetUser { - type User = Set; + ///State transition - sets the `end_reason` field to Set + pub struct SetEndReason(PhantomData S>); + impl sealed::Sealed for SetEndReason {} + impl State for SetEndReason { + type EndReason = Set; type WasActiveUntil = S::WasActiveUntil; + type User = S::User; type WasActiveFrom = S::WasActiveFrom; - type EndReason = S::EndReason; } ///State transition - sets the `was_active_until` field to Set pub struct SetWasActiveUntil(PhantomData S>); impl sealed::Sealed for SetWasActiveUntil {} impl State for SetWasActiveUntil { - type User = S::User; + type EndReason = S::EndReason; type WasActiveUntil = Set; + type User = S::User; type WasActiveFrom = S::WasActiveFrom; + } + ///State transition - sets the `user` field to Set + pub struct SetUser(PhantomData S>); + impl sealed::Sealed for SetUser {} + impl State for SetUser { type EndReason = S::EndReason; + type WasActiveUntil = S::WasActiveUntil; + type User = Set; + type WasActiveFrom = S::WasActiveFrom; } ///State transition - sets the `was_active_from` field to Set pub struct SetWasActiveFrom(PhantomData S>); impl sealed::Sealed for SetWasActiveFrom {} impl State for SetWasActiveFrom { - type User = S::User; - type WasActiveUntil = S::WasActiveUntil; - type WasActiveFrom = Set; type EndReason = S::EndReason; - } - ///State transition - sets the `end_reason` field to Set - pub struct SetEndReason(PhantomData S>); - impl sealed::Sealed for SetEndReason {} - impl State for SetEndReason { - type User = S::User; type WasActiveUntil = S::WasActiveUntil; - type WasActiveFrom = S::WasActiveFrom; - type EndReason = Set; + type User = S::User; + type WasActiveFrom = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `user` field - pub struct user(()); + ///Marker type for the `end_reason` field + pub struct end_reason(()); ///Marker type for the `was_active_until` field pub struct was_active_until(()); + ///Marker type for the `user` field + pub struct user(()); ///Marker type for the `was_active_from` field pub struct was_active_from(()); - ///Marker type for the `end_reason` field - pub struct end_reason(()); } } @@ -1574,7 +1679,7 @@ pub struct FormerCollaboratorViewBuilder<'a, S: former_collaborator_view_state:: _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option>, @@ -1626,7 +1731,7 @@ where /// Set the `endReason` field (required) pub fn end_reason( mut self, - value: impl Into>, + value: impl Into>, ) -> FormerCollaboratorViewBuilder< 'a, former_collaborator_view_state::SetEndReason, @@ -1738,10 +1843,10 @@ where impl<'a, S> FormerCollaboratorViewBuilder<'a, S> where S: former_collaborator_view_state::State, - S::User: former_collaborator_view_state::IsSet, + S::EndReason: former_collaborator_view_state::IsSet, S::WasActiveUntil: former_collaborator_view_state::IsSet, + S::User: former_collaborator_view_state::IsSet, S::WasActiveFrom: former_collaborator_view_state::IsSet, - S::EndReason: former_collaborator_view_state::IsSet, { /// Build the final struct pub fn build(self) -> FormerCollaboratorView<'a> { @@ -1777,6 +1882,114 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum FormerCollaboratorViewEndReason<'a> { + VoluntaryLeave, + InviteRevoked, + InviteExpired, + OwnerDeletedResource, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> FormerCollaboratorViewEndReason<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::VoluntaryLeave => "voluntary_leave", + Self::InviteRevoked => "invite_revoked", + Self::InviteExpired => "invite_expired", + Self::OwnerDeletedResource => "owner_deleted_resource", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for FormerCollaboratorViewEndReason<'a> { + fn from(s: &'a str) -> Self { + match s { + "voluntary_leave" => Self::VoluntaryLeave, + "invite_revoked" => Self::InviteRevoked, + "invite_expired" => Self::InviteExpired, + "owner_deleted_resource" => Self::OwnerDeletedResource, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for FormerCollaboratorViewEndReason<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "voluntary_leave" => Self::VoluntaryLeave, + "invite_revoked" => Self::InviteRevoked, + "invite_expired" => Self::InviteExpired, + "owner_deleted_resource" => Self::OwnerDeletedResource, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for FormerCollaboratorViewEndReason<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for FormerCollaboratorViewEndReason<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for FormerCollaboratorViewEndReason<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for FormerCollaboratorViewEndReason<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for FormerCollaboratorViewEndReason<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for FormerCollaboratorViewEndReason<'_> { + type Output = FormerCollaboratorViewEndReason<'static>; + fn into_static(self) -> Self::Output { + match self { + FormerCollaboratorViewEndReason::VoluntaryLeave => { + FormerCollaboratorViewEndReason::VoluntaryLeave + } + FormerCollaboratorViewEndReason::InviteRevoked => { + FormerCollaboratorViewEndReason::InviteRevoked + } + FormerCollaboratorViewEndReason::InviteExpired => { + FormerCollaboratorViewEndReason::InviteExpired + } + FormerCollaboratorViewEndReason::OwnerDeletedResource => { + FormerCollaboratorViewEndReason::OwnerDeletedResource + } + FormerCollaboratorViewEndReason::Other(v) => { + FormerCollaboratorViewEndReason::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for FormerCollaboratorView<'a> { fn nsid() -> &'static str { "sh.weaver.collab.defs" @@ -1831,9 +2044,9 @@ pub struct InviteView<'a> { pub resource_title: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub scope: std::option::Option>, + pub scope: std::option::Option>, #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: InviteViewStatus<'a>, #[serde(borrow)] pub uri: jacquard_common::types::string::AtUri<'a>, } @@ -1848,127 +2061,127 @@ pub mod invite_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; - type Inviter; type Status; + type CreatedAt; + type Inviter; + type Uri; type Cid; type Invitee; type Resource; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; - type Inviter = Unset; type Status = Unset; + type CreatedAt = Unset; + type Inviter = Unset; + type Uri = Unset; type Cid = Unset; type Invitee = Unset; type Resource = Unset; - type CreatedAt = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { + type Status = Set; + type CreatedAt = S::CreatedAt; type Inviter = S::Inviter; + type Uri = S::Uri; + type Cid = S::Cid; + type Invitee = S::Invitee; + type Resource = S::Resource; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Status = S::Status; + type CreatedAt = Set; + type Inviter = S::Inviter; + type Uri = S::Uri; type Cid = S::Cid; type Invitee = S::Invitee; type Resource = S::Resource; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `inviter` field to Set pub struct SetInviter(PhantomData S>); impl sealed::Sealed for SetInviter {} impl State for SetInviter { - type Uri = S::Uri; - type Inviter = Set; type Status = S::Status; + type CreatedAt = S::CreatedAt; + type Inviter = Set; + type Uri = S::Uri; type Cid = S::Cid; type Invitee = S::Invitee; type Resource = S::Resource; - type CreatedAt = S::CreatedAt; } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Uri = S::Uri; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Status = S::Status; + type CreatedAt = S::CreatedAt; type Inviter = S::Inviter; - type Status = Set; + type Uri = Set; type Cid = S::Cid; type Invitee = S::Invitee; type Resource = S::Resource; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; - type Inviter = S::Inviter; type Status = S::Status; + type CreatedAt = S::CreatedAt; + type Inviter = S::Inviter; + type Uri = S::Uri; type Cid = Set; type Invitee = S::Invitee; type Resource = S::Resource; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `invitee` field to Set pub struct SetInvitee(PhantomData S>); impl sealed::Sealed for SetInvitee {} impl State for SetInvitee { - type Uri = S::Uri; - type Inviter = S::Inviter; type Status = S::Status; + type CreatedAt = S::CreatedAt; + type Inviter = S::Inviter; + type Uri = S::Uri; type Cid = S::Cid; type Invitee = Set; type Resource = S::Resource; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type Uri = S::Uri; - type Inviter = S::Inviter; type Status = S::Status; - type Cid = S::Cid; - type Invitee = S::Invitee; - type Resource = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Uri = S::Uri; type Inviter = S::Inviter; - type Status = S::Status; + type Uri = S::Uri; type Cid = S::Cid; type Invitee = S::Invitee; - type Resource = S::Resource; - type CreatedAt = Set; + type Resource = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `inviter` field - pub struct inviter(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `inviter` field + pub struct inviter(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); ///Marker type for the `invitee` field pub struct invitee(()); ///Marker type for the `resource` field pub struct resource(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -1986,8 +2199,8 @@ pub struct InviteViewBuilder<'a, S: invite_view_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -2214,15 +2427,12 @@ impl<'a, S: invite_view_state::State> InviteViewBuilder<'a, S> { impl<'a, S: invite_view_state::State> InviteViewBuilder<'a, S> { /// Set the `scope` field (optional) - pub fn scope( - mut self, - value: impl Into>>, - ) -> Self { + pub fn scope(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.10 = value.into(); self } /// Set the `scope` field to an Option value (optional) - pub fn maybe_scope(mut self, value: Option>) -> Self { + pub fn maybe_scope(mut self, value: Option>) -> Self { self.__unsafe_private_named.10 = value; self } @@ -2236,7 +2446,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> InviteViewBuilder<'a, invite_view_state::SetStatus> { self.__unsafe_private_named.11 = ::core::option::Option::Some(value.into()); InviteViewBuilder { @@ -2269,13 +2479,13 @@ where impl<'a, S> InviteViewBuilder<'a, S> where S: invite_view_state::State, - S::Uri: invite_view_state::IsSet, - S::Inviter: invite_view_state::IsSet, S::Status: invite_view_state::IsSet, + S::CreatedAt: invite_view_state::IsSet, + S::Inviter: invite_view_state::IsSet, + S::Uri: invite_view_state::IsSet, S::Cid: invite_view_state::IsSet, S::Invitee: invite_view_state::IsSet, S::Resource: invite_view_state::IsSet, - S::CreatedAt: invite_view_state::IsSet, { /// Build the final struct pub fn build(self) -> InviteView<'a> { @@ -2323,6 +2533,197 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum InviteViewScope<'a> { + Notebook, + Entry, + Chapter, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> InviteViewScope<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Notebook => "notebook", + Self::Entry => "entry", + Self::Chapter => "chapter", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for InviteViewScope<'a> { + fn from(s: &'a str) -> Self { + match s { + "notebook" => Self::Notebook, + "entry" => Self::Entry, + "chapter" => Self::Chapter, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for InviteViewScope<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "notebook" => Self::Notebook, + "entry" => Self::Entry, + "chapter" => Self::Chapter, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for InviteViewScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for InviteViewScope<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for InviteViewScope<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for InviteViewScope<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for InviteViewScope<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for InviteViewScope<'_> { + type Output = InviteViewScope<'static>; + fn into_static(self) -> Self::Output { + match self { + InviteViewScope::Notebook => InviteViewScope::Notebook, + InviteViewScope::Entry => InviteViewScope::Entry, + InviteViewScope::Chapter => InviteViewScope::Chapter, + InviteViewScope::Other(v) => InviteViewScope::Other(v.into_static()), + } + } +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum InviteViewStatus<'a> { + Pending, + Accepted, + Expired, + Revoked, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> InviteViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Pending => "pending", + Self::Accepted => "accepted", + Self::Expired => "expired", + Self::Revoked => "revoked", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for InviteViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "pending" => Self::Pending, + "accepted" => Self::Accepted, + "expired" => Self::Expired, + "revoked" => Self::Revoked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for InviteViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "pending" => Self::Pending, + "accepted" => Self::Accepted, + "expired" => Self::Expired, + "revoked" => Self::Revoked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for InviteViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for InviteViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for InviteViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for InviteViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for InviteViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for InviteViewStatus<'_> { + type Output = InviteViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + InviteViewStatus::Pending => InviteViewStatus::Pending, + InviteViewStatus::Accepted => InviteViewStatus::Accepted, + InviteViewStatus::Expired => InviteViewStatus::Expired, + InviteViewStatus::Revoked => InviteViewStatus::Revoked, + InviteViewStatus::Other(v) => InviteViewStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for InviteView<'a> { fn nsid() -> &'static str { "sh.weaver.collab.defs" @@ -2378,7 +2779,7 @@ pub struct ParticipantStateView<'a> { /// Why the relationship ended, if applicable #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub end_reason: std::option::Option>, + pub end_reason: std::option::Option>, /// When they first contributed #[serde(skip_serializing_if = "std::option::Option::is_none")] pub first_edit_at: std::option::Option, @@ -2399,10 +2800,10 @@ pub struct ParticipantStateView<'a> { jacquard_common::types::string::Datetime, >, #[serde(borrow)] - pub role: jacquard_common::CowStr<'a>, + pub role: ParticipantStateViewRole<'a>, /// active=can edit, invited=pending, left=voluntarily departed, removed=invite revoked, expired=invite timed out #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: ParticipantStateViewStatus<'a>, #[serde(borrow)] pub user: crate::sh_weaver::actor::ProfileViewBasic<'a>, /// True if they ever had active collaboration status @@ -2420,51 +2821,51 @@ pub mod participant_state_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type User; type Status; type Role; + type User; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type User = Unset; type Status = Unset; type Role = Unset; - } - ///State transition - sets the `user` field to Set - pub struct SetUser(PhantomData S>); - impl sealed::Sealed for SetUser {} - impl State for SetUser { - type User = Set; - type Status = S::Status; - type Role = S::Role; + type User = Unset; } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type User = S::User; type Status = Set; type Role = S::Role; + type User = S::User; } ///State transition - sets the `role` field to Set pub struct SetRole(PhantomData S>); impl sealed::Sealed for SetRole {} impl State for SetRole { - type User = S::User; type Status = S::Status; type Role = Set; + type User = S::User; + } + ///State transition - sets the `user` field to Set + pub struct SetUser(PhantomData S>); + impl sealed::Sealed for SetUser {} + impl State for SetUser { + type Status = S::Status; + type Role = S::Role; + type User = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `user` field - pub struct user(()); ///Marker type for the `status` field pub struct status(()); ///Marker type for the `role` field pub struct role(()); + ///Marker type for the `user` field + pub struct user(()); } } @@ -2473,14 +2874,14 @@ pub struct ParticipantStateViewBuilder<'a, S: participant_state_view_state::Stat _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option, ), @@ -2543,7 +2944,7 @@ impl<'a, S: participant_state_view_state::State> ParticipantStateViewBuilder<'a, /// Set the `endReason` field (optional) pub fn end_reason( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.1 = value.into(); self @@ -2551,7 +2952,7 @@ impl<'a, S: participant_state_view_state::State> ParticipantStateViewBuilder<'a, /// Set the `endReason` field to an Option value (optional) pub fn maybe_end_reason( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.1 = value; self @@ -2661,7 +3062,7 @@ where /// Set the `role` field (required) pub fn role( mut self, - value: impl Into>, + value: impl Into>, ) -> ParticipantStateViewBuilder<'a, participant_state_view_state::SetRole> { self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); ParticipantStateViewBuilder { @@ -2680,7 +3081,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> ParticipantStateViewBuilder<'a, participant_state_view_state::SetStatus> { self.__unsafe_private_named.8 = ::core::option::Option::Some(value.into()); ParticipantStateViewBuilder { @@ -2726,9 +3127,9 @@ impl<'a, S: participant_state_view_state::State> ParticipantStateViewBuilder<'a, impl<'a, S> ParticipantStateViewBuilder<'a, S> where S: participant_state_view_state::State, - S::User: participant_state_view_state::IsSet, S::Status: participant_state_view_state::IsSet, S::Role: participant_state_view_state::IsSet, + S::User: participant_state_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ParticipantStateView<'a> { @@ -2772,6 +3173,320 @@ where } } +/// Why the relationship ended, if applicable +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ParticipantStateViewEndReason<'a> { + VoluntaryLeave, + InviteRevoked, + InviteExpired, + OwnerDeletedResource, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ParticipantStateViewEndReason<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::VoluntaryLeave => "voluntary_leave", + Self::InviteRevoked => "invite_revoked", + Self::InviteExpired => "invite_expired", + Self::OwnerDeletedResource => "owner_deleted_resource", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ParticipantStateViewEndReason<'a> { + fn from(s: &'a str) -> Self { + match s { + "voluntary_leave" => Self::VoluntaryLeave, + "invite_revoked" => Self::InviteRevoked, + "invite_expired" => Self::InviteExpired, + "owner_deleted_resource" => Self::OwnerDeletedResource, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ParticipantStateViewEndReason<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "voluntary_leave" => Self::VoluntaryLeave, + "invite_revoked" => Self::InviteRevoked, + "invite_expired" => Self::InviteExpired, + "owner_deleted_resource" => Self::OwnerDeletedResource, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ParticipantStateViewEndReason<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ParticipantStateViewEndReason<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ParticipantStateViewEndReason<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ParticipantStateViewEndReason<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ParticipantStateViewEndReason<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ParticipantStateViewEndReason<'_> { + type Output = ParticipantStateViewEndReason<'static>; + fn into_static(self) -> Self::Output { + match self { + ParticipantStateViewEndReason::VoluntaryLeave => { + ParticipantStateViewEndReason::VoluntaryLeave + } + ParticipantStateViewEndReason::InviteRevoked => { + ParticipantStateViewEndReason::InviteRevoked + } + ParticipantStateViewEndReason::InviteExpired => { + ParticipantStateViewEndReason::InviteExpired + } + ParticipantStateViewEndReason::OwnerDeletedResource => { + ParticipantStateViewEndReason::OwnerDeletedResource + } + ParticipantStateViewEndReason::Other(v) => { + ParticipantStateViewEndReason::Other(v.into_static()) + } + } + } +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ParticipantStateViewRole<'a> { + Owner, + Collaborator, + FormerCollaborator, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ParticipantStateViewRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Owner => "owner", + Self::Collaborator => "collaborator", + Self::FormerCollaborator => "former_collaborator", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ParticipantStateViewRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "owner" => Self::Owner, + "collaborator" => Self::Collaborator, + "former_collaborator" => Self::FormerCollaborator, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ParticipantStateViewRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "owner" => Self::Owner, + "collaborator" => Self::Collaborator, + "former_collaborator" => Self::FormerCollaborator, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ParticipantStateViewRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ParticipantStateViewRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ParticipantStateViewRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ParticipantStateViewRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ParticipantStateViewRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ParticipantStateViewRole<'_> { + type Output = ParticipantStateViewRole<'static>; + fn into_static(self) -> Self::Output { + match self { + ParticipantStateViewRole::Owner => ParticipantStateViewRole::Owner, + ParticipantStateViewRole::Collaborator => { + ParticipantStateViewRole::Collaborator + } + ParticipantStateViewRole::FormerCollaborator => { + ParticipantStateViewRole::FormerCollaborator + } + ParticipantStateViewRole::Other(v) => { + ParticipantStateViewRole::Other(v.into_static()) + } + } + } +} + +/// active=can edit, invited=pending, left=voluntarily departed, removed=invite revoked, expired=invite timed out +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ParticipantStateViewStatus<'a> { + Active, + Invited, + Left, + Removed, + Expired, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ParticipantStateViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Active => "active", + Self::Invited => "invited", + Self::Left => "left", + Self::Removed => "removed", + Self::Expired => "expired", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ParticipantStateViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "active" => Self::Active, + "invited" => Self::Invited, + "left" => Self::Left, + "removed" => Self::Removed, + "expired" => Self::Expired, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ParticipantStateViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "active" => Self::Active, + "invited" => Self::Invited, + "left" => Self::Left, + "removed" => Self::Removed, + "expired" => Self::Expired, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ParticipantStateViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ParticipantStateViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ParticipantStateViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ParticipantStateViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ParticipantStateViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ParticipantStateViewStatus<'_> { + type Output = ParticipantStateViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + ParticipantStateViewStatus::Active => ParticipantStateViewStatus::Active, + ParticipantStateViewStatus::Invited => ParticipantStateViewStatus::Invited, + ParticipantStateViewStatus::Left => ParticipantStateViewStatus::Left, + ParticipantStateViewStatus::Removed => ParticipantStateViewStatus::Removed, + ParticipantStateViewStatus::Expired => ParticipantStateViewStatus::Expired, + ParticipantStateViewStatus::Other(v) => { + ParticipantStateViewStatus::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ParticipantStateView<'a> { fn nsid() -> &'static str { "sh.weaver.collab.defs" @@ -2828,85 +3543,85 @@ pub mod session_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; - type User; - type Uri; - type Resource; type NodeId; + type Resource; + type Uri; + type User; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; - type User = Unset; - type Uri = Unset; - type Resource = Unset; type NodeId = Unset; + type Resource = Unset; + type Uri = Unset; + type User = Unset; + type CreatedAt = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type User = S::User; - type Uri = S::Uri; + ///State transition - sets the `node_id` field to Set + pub struct SetNodeId(PhantomData S>); + impl sealed::Sealed for SetNodeId {} + impl State for SetNodeId { + type NodeId = Set; type Resource = S::Resource; - type NodeId = S::NodeId; - } - ///State transition - sets the `user` field to Set - pub struct SetUser(PhantomData S>); - impl sealed::Sealed for SetUser {} - impl State for SetUser { - type CreatedAt = S::CreatedAt; - type User = Set; type Uri = S::Uri; - type Resource = S::Resource; - type NodeId = S::NodeId; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type CreatedAt = S::CreatedAt; type User = S::User; - type Uri = Set; - type Resource = S::Resource; - type NodeId = S::NodeId; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type CreatedAt = S::CreatedAt; - type User = S::User; - type Uri = S::Uri; - type Resource = Set; type NodeId = S::NodeId; - } - ///State transition - sets the `node_id` field to Set - pub struct SetNodeId(PhantomData S>); - impl sealed::Sealed for SetNodeId {} - impl State for SetNodeId { + type Resource = Set; + type Uri = S::Uri; + type User = S::User; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type NodeId = S::NodeId; + type Resource = S::Resource; + type Uri = Set; type User = S::User; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `user` field to Set + pub struct SetUser(PhantomData S>); + impl sealed::Sealed for SetUser {} + impl State for SetUser { + type NodeId = S::NodeId; + type Resource = S::Resource; type Uri = S::Uri; + type User = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type NodeId = S::NodeId; type Resource = S::Resource; - type NodeId = Set; + type Uri = S::Uri; + type User = S::User; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `user` field - pub struct user(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `resource` field - pub struct resource(()); ///Marker type for the `node_id` field pub struct node_id(()); + ///Marker type for the `resource` field + pub struct resource(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `user` field + pub struct user(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -3079,11 +3794,11 @@ where impl<'a, S> SessionViewBuilder<'a, S> where S: session_view_state::State, - S::CreatedAt: session_view_state::IsSet, - S::User: session_view_state::IsSet, - S::Uri: session_view_state::IsSet, - S::Resource: session_view_state::IsSet, S::NodeId: session_view_state::IsSet, + S::Resource: session_view_state::IsSet, + S::Uri: session_view_state::IsSet, + S::User: session_view_state::IsSet, + S::CreatedAt: session_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SessionView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/collab/accept.rs b/crates/jacquard-api/src/sh_weaver/collab/accept.rs index 99962807..b7e6103d 100644 --- a/crates/jacquard-api/src/sh_weaver/collab/accept.rs +++ b/crates/jacquard-api/src/sh_weaver/collab/accept.rs @@ -37,51 +37,51 @@ pub mod accept_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Resource; - type Invite; type CreatedAt; + type Invite; + type Resource; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Resource = Unset; - type Invite = Unset; type CreatedAt = Unset; + type Invite = Unset; + type Resource = Unset; } - ///State transition - sets the `resource` field to Set - pub struct SetResource(PhantomData S>); - impl sealed::Sealed for SetResource {} - impl State for SetResource { - type Resource = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; type Invite = S::Invite; - type CreatedAt = S::CreatedAt; + type Resource = S::Resource; } ///State transition - sets the `invite` field to Set pub struct SetInvite(PhantomData S>); impl sealed::Sealed for SetInvite {} impl State for SetInvite { - type Resource = S::Resource; - type Invite = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Invite = Set; type Resource = S::Resource; + } + ///State transition - sets the `resource` field to Set + pub struct SetResource(PhantomData S>); + impl sealed::Sealed for SetResource {} + impl State for SetResource { + type CreatedAt = S::CreatedAt; type Invite = S::Invite; - type CreatedAt = Set; + type Resource = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `resource` field - pub struct resource(()); - ///Marker type for the `invite` field - pub struct invite(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `invite` field + pub struct invite(()); + ///Marker type for the `resource` field + pub struct resource(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> AcceptBuilder<'a, S> where S: accept_state::State, - S::Resource: accept_state::IsSet, - S::Invite: accept_state::IsSet, S::CreatedAt: accept_state::IsSet, + S::Invite: accept_state::IsSet, + S::Resource: accept_state::IsSet, { /// Build the final struct pub fn build(self) -> Accept<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/collab/invite.rs b/crates/jacquard-api/src/sh_weaver/collab/invite.rs index b134dacf..26802df2 100644 --- a/crates/jacquard-api/src/sh_weaver/collab/invite.rs +++ b/crates/jacquard-api/src/sh_weaver/collab/invite.rs @@ -53,6 +53,12 @@ impl<'a> AsRef for CollabScope<'a> { } } +impl<'a> core::fmt::Display for CollabScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for CollabScope<'a> { fn serialize(&self, serializer: S) -> Result where @@ -135,50 +141,50 @@ pub mod invite_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Resource; - type Invitee; type CreatedAt; + type Invitee; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Resource = Unset; - type Invitee = Unset; type CreatedAt = Unset; + type Invitee = Unset; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { type Resource = Set; - type Invitee = S::Invitee; - type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `invitee` field to Set - pub struct SetInvitee(PhantomData S>); - impl sealed::Sealed for SetInvitee {} - impl State for SetInvitee { - type Resource = S::Resource; - type Invitee = Set; type CreatedAt = S::CreatedAt; + type Invitee = S::Invitee; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type Resource = S::Resource; - type Invitee = S::Invitee; type CreatedAt = Set; + type Invitee = S::Invitee; + } + ///State transition - sets the `invitee` field to Set + pub struct SetInvitee(PhantomData S>); + impl sealed::Sealed for SetInvitee {} + impl State for SetInvitee { + type Resource = S::Resource; + type CreatedAt = S::CreatedAt; + type Invitee = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `resource` field pub struct resource(()); - ///Marker type for the `invitee` field - pub struct invitee(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `invitee` field + pub struct invitee(()); } } @@ -329,8 +335,8 @@ impl<'a, S> InviteBuilder<'a, S> where S: invite_state::State, S::Resource: invite_state::IsSet, - S::Invitee: invite_state::IsSet, S::CreatedAt: invite_state::IsSet, + S::Invitee: invite_state::IsSet, { /// Build the final struct pub fn build(self) -> Invite<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/collab/session.rs b/crates/jacquard-api/src/sh_weaver/collab/session.rs index 6b839d61..c0ffe28d 100644 --- a/crates/jacquard-api/src/sh_weaver/collab/session.rs +++ b/crates/jacquard-api/src/sh_weaver/collab/session.rs @@ -44,49 +44,49 @@ pub mod session_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type NodeId; + type CreatedAt; type Resource; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type NodeId = Unset; + type CreatedAt = Unset; type Resource = Unset; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type NodeId = S::NodeId; - type Resource = S::Resource; - } ///State transition - sets the `node_id` field to Set pub struct SetNodeId(PhantomData S>); impl sealed::Sealed for SetNodeId {} impl State for SetNodeId { - type CreatedAt = S::CreatedAt; type NodeId = Set; + type CreatedAt = S::CreatedAt; + type Resource = S::Resource; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type NodeId = S::NodeId; + type CreatedAt = Set; type Resource = S::Resource; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type CreatedAt = S::CreatedAt; type NodeId = S::NodeId; + type CreatedAt = S::CreatedAt; type Resource = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `node_id` field pub struct node_id(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `resource` field pub struct resource(()); } @@ -221,8 +221,8 @@ where impl<'a, S> SessionBuilder<'a, S> where S: session_state::State, - S::CreatedAt: session_state::IsSet, S::NodeId: session_state::IsSet, + S::CreatedAt: session_state::IsSet, S::Resource: session_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/sh_weaver/edit.rs b/crates/jacquard-api/src/sh_weaver/edit.rs index c885e077..0473fbfd 100644 --- a/crates/jacquard-api/src/sh_weaver/edit.rs +++ b/crates/jacquard-api/src/sh_weaver/edit.rs @@ -721,67 +721,67 @@ pub mod edit_branch_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Head; - type Author; type Length; + type Author; type LastUpdated; + type Head; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Head = Unset; - type Author = Unset; type Length = Unset; + type Author = Unset; type LastUpdated = Unset; + type Head = Unset; } - ///State transition - sets the `head` field to Set - pub struct SetHead(PhantomData S>); - impl sealed::Sealed for SetHead {} - impl State for SetHead { - type Head = Set; + ///State transition - sets the `length` field to Set + pub struct SetLength(PhantomData S>); + impl sealed::Sealed for SetLength {} + impl State for SetLength { + type Length = Set; type Author = S::Author; - type Length = S::Length; type LastUpdated = S::LastUpdated; + type Head = S::Head; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Head = S::Head; - type Author = Set; type Length = S::Length; + type Author = Set; type LastUpdated = S::LastUpdated; - } - ///State transition - sets the `length` field to Set - pub struct SetLength(PhantomData S>); - impl sealed::Sealed for SetLength {} - impl State for SetLength { type Head = S::Head; - type Author = S::Author; - type Length = Set; - type LastUpdated = S::LastUpdated; } ///State transition - sets the `last_updated` field to Set pub struct SetLastUpdated(PhantomData S>); impl sealed::Sealed for SetLastUpdated {} impl State for SetLastUpdated { - type Head = S::Head; - type Author = S::Author; type Length = S::Length; + type Author = S::Author; type LastUpdated = Set; + type Head = S::Head; + } + ///State transition - sets the `head` field to Set + pub struct SetHead(PhantomData S>); + impl sealed::Sealed for SetHead {} + impl State for SetHead { + type Length = S::Length; + type Author = S::Author; + type LastUpdated = S::LastUpdated; + type Head = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `head` field - pub struct head(()); - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `length` field pub struct length(()); + ///Marker type for the `author` field + pub struct author(()); ///Marker type for the `last_updated` field pub struct last_updated(()); + ///Marker type for the `head` field + pub struct head(()); } } @@ -948,10 +948,10 @@ impl<'a, S: edit_branch_view_state::State> EditBranchViewBuilder<'a, S> { impl<'a, S> EditBranchViewBuilder<'a, S> where S: edit_branch_view_state::State, - S::Head: edit_branch_view_state::IsSet, - S::Author: edit_branch_view_state::IsSet, S::Length: edit_branch_view_state::IsSet, + S::Author: edit_branch_view_state::IsSet, S::LastUpdated: edit_branch_view_state::IsSet, + S::Head: edit_branch_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EditBranchView<'a> { @@ -1038,7 +1038,7 @@ pub struct EditHistoryEntry<'a> { #[serde(borrow)] pub snapshot_cid: std::option::Option>, #[serde(borrow)] - pub r#type: jacquard_common::CowStr<'a>, + pub r#type: EditHistoryEntryType<'a>, #[serde(borrow)] pub uri: jacquard_common::types::string::AtUri<'a>, } @@ -1053,85 +1053,85 @@ pub mod edit_history_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Author; type Uri; - type Cid; - type CreatedAt; type Type; + type Author; + type CreatedAt; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Author = Unset; type Uri = Unset; - type Cid = Unset; - type CreatedAt = Unset; type Type = Unset; - } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { - type Author = Set; - type Uri = S::Uri; - type Cid = S::Cid; - type CreatedAt = S::CreatedAt; - type Type = S::Type; + type Author = Unset; + type CreatedAt = Unset; + type Cid = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Author = S::Author; type Uri = Set; - type Cid = S::Cid; - type CreatedAt = S::CreatedAt; type Type = S::Type; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { type Author = S::Author; + type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + } + ///State transition - sets the `type` field to Set + pub struct SetType(PhantomData S>); + impl sealed::Sealed for SetType {} + impl State for SetType { type Uri = S::Uri; - type Cid = Set; + type Type = Set; + type Author = S::Author; type CreatedAt = S::CreatedAt; + type Cid = S::Cid; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Uri = S::Uri; type Type = S::Type; + type Author = Set; + type CreatedAt = S::CreatedAt; + type Cid = S::Cid; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Author = S::Author; type Uri = S::Uri; - type Cid = S::Cid; - type CreatedAt = Set; type Type = S::Type; - } - ///State transition - sets the `type` field to Set - pub struct SetType(PhantomData S>); - impl sealed::Sealed for SetType {} - impl State for SetType { type Author = S::Author; - type Uri = S::Uri; + type CreatedAt = Set; type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Type = S::Type; + type Author = S::Author; type CreatedAt = S::CreatedAt; - type Type = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author` field - pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `type` field pub struct r#type(()); + ///Marker type for the `author` field + pub struct author(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -1146,7 +1146,7 @@ pub struct EditHistoryEntryBuilder<'a, S: edit_history_entry_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -1315,7 +1315,7 @@ where /// Set the `type` field (required) pub fn r#type( mut self, - value: impl Into>, + value: impl Into>, ) -> EditHistoryEntryBuilder<'a, edit_history_entry_state::SetType> { self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); EditHistoryEntryBuilder { @@ -1348,11 +1348,11 @@ where impl<'a, S> EditHistoryEntryBuilder<'a, S> where S: edit_history_entry_state::State, - S::Author: edit_history_entry_state::IsSet, S::Uri: edit_history_entry_state::IsSet, - S::Cid: edit_history_entry_state::IsSet, - S::CreatedAt: edit_history_entry_state::IsSet, S::Type: edit_history_entry_state::IsSet, + S::Author: edit_history_entry_state::IsSet, + S::CreatedAt: edit_history_entry_state::IsSet, + S::Cid: edit_history_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> EditHistoryEntry<'a> { @@ -1392,6 +1392,96 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum EditHistoryEntryType<'a> { + Root, + Diff, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> EditHistoryEntryType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Root => "root", + Self::Diff => "diff", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for EditHistoryEntryType<'a> { + fn from(s: &'a str) -> Self { + match s { + "root" => Self::Root, + "diff" => Self::Diff, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for EditHistoryEntryType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "root" => Self::Root, + "diff" => Self::Diff, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for EditHistoryEntryType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for EditHistoryEntryType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for EditHistoryEntryType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for EditHistoryEntryType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for EditHistoryEntryType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for EditHistoryEntryType<'_> { + type Output = EditHistoryEntryType<'static>; + fn into_static(self) -> Self::Output { + match self { + EditHistoryEntryType::Root => EditHistoryEntryType::Root, + EditHistoryEntryType::Diff => EditHistoryEntryType::Diff, + EditHistoryEntryType::Other(v) => { + EditHistoryEntryType::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EditHistoryEntry<'a> { fn nsid() -> &'static str { "sh.weaver.edit.defs" diff --git a/crates/jacquard-api/src/sh_weaver/edit/cursor.rs b/crates/jacquard-api/src/sh_weaver/edit/cursor.rs index 583bd805..0783565c 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/cursor.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/cursor.rs @@ -759,37 +759,37 @@ pub mod cursor_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Container; type Id; + type Container; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Container = Unset; type Id = Unset; - } - ///State transition - sets the `container` field to Set - pub struct SetContainer(PhantomData S>); - impl sealed::Sealed for SetContainer {} - impl State for SetContainer { - type Container = Set; - type Id = S::Id; + type Container = Unset; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Container = S::Container; type Id = Set; + type Container = S::Container; + } + ///State transition - sets the `container` field to Set + pub struct SetContainer(PhantomData S>); + impl sealed::Sealed for SetContainer {} + impl State for SetContainer { + type Id = S::Id; + type Container = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `container` field - pub struct container(()); ///Marker type for the `id` field pub struct id(()); + ///Marker type for the `container` field + pub struct container(()); } } @@ -882,8 +882,8 @@ impl<'a, S: cursor_state::State> CursorBuilder<'a, S> { impl<'a, S> CursorBuilder<'a, S> where S: cursor_state::State, - S::Container: cursor_state::IsSet, S::Id: cursor_state::IsSet, + S::Container: cursor_state::IsSet, { /// Build the final struct pub fn build(self) -> Cursor<'a> { @@ -1018,50 +1018,50 @@ pub mod normal_container_id_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type ContainerType; - type Counter; type Peer; + type Counter; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type ContainerType = Unset; - type Counter = Unset; type Peer = Unset; + type Counter = Unset; } ///State transition - sets the `container_type` field to Set pub struct SetContainerType(PhantomData S>); impl sealed::Sealed for SetContainerType {} impl State for SetContainerType { type ContainerType = Set; - type Counter = S::Counter; - type Peer = S::Peer; - } - ///State transition - sets the `counter` field to Set - pub struct SetCounter(PhantomData S>); - impl sealed::Sealed for SetCounter {} - impl State for SetCounter { - type ContainerType = S::ContainerType; - type Counter = Set; type Peer = S::Peer; + type Counter = S::Counter; } ///State transition - sets the `peer` field to Set pub struct SetPeer(PhantomData S>); impl sealed::Sealed for SetPeer {} impl State for SetPeer { type ContainerType = S::ContainerType; - type Counter = S::Counter; type Peer = Set; + type Counter = S::Counter; + } + ///State transition - sets the `counter` field to Set + pub struct SetCounter(PhantomData S>); + impl sealed::Sealed for SetCounter {} + impl State for SetCounter { + type ContainerType = S::ContainerType; + type Peer = S::Peer; + type Counter = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `container_type` field pub struct container_type(()); - ///Marker type for the `counter` field - pub struct counter(()); ///Marker type for the `peer` field pub struct peer(()); + ///Marker type for the `counter` field + pub struct counter(()); } } @@ -1155,8 +1155,8 @@ impl<'a, S> NormalContainerIdBuilder<'a, S> where S: normal_container_id_state::State, S::ContainerType: normal_container_id_state::IsSet, - S::Counter: normal_container_id_state::IsSet, S::Peer: normal_container_id_state::IsSet, + S::Counter: normal_container_id_state::IsSet, { /// Build the final struct pub fn build(self) -> NormalContainerId<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/edit/diff.rs b/crates/jacquard-api/src/sh_weaver/edit/diff.rs index 149c3053..062858f5 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/diff.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/diff.rs @@ -47,37 +47,37 @@ pub mod diff_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Doc; type Root; + type Doc; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Doc = Unset; type Root = Unset; - } - ///State transition - sets the `doc` field to Set - pub struct SetDoc(PhantomData S>); - impl sealed::Sealed for SetDoc {} - impl State for SetDoc { - type Doc = Set; - type Root = S::Root; + type Doc = Unset; } ///State transition - sets the `root` field to Set pub struct SetRoot(PhantomData S>); impl sealed::Sealed for SetRoot {} impl State for SetRoot { - type Doc = S::Doc; type Root = Set; + type Doc = S::Doc; + } + ///State transition - sets the `doc` field to Set + pub struct SetDoc(PhantomData S>); + impl sealed::Sealed for SetDoc {} + impl State for SetDoc { + type Root = S::Root; + type Doc = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `doc` field - pub struct doc(()); ///Marker type for the `root` field pub struct root(()); + ///Marker type for the `doc` field + pub struct doc(()); } } @@ -224,8 +224,8 @@ impl<'a, S: diff_state::State> DiffBuilder<'a, S> { impl<'a, S> DiffBuilder<'a, S> where S: diff_state::State, - S::Doc: diff_state::IsSet, S::Root: diff_state::IsSet, + S::Doc: diff_state::IsSet, { /// Build the final struct pub fn build(self) -> Diff<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs b/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs index 91f810e5..d679e1a4 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs @@ -47,51 +47,51 @@ pub mod draft_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Uri; type Cid; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Uri = Unset; type Cid = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Uri = S::Uri; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type CreatedAt = S::CreatedAt; type Uri = Set; type Cid = S::Cid; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; - type Cid = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Uri = S::Uri; - type Cid = S::Cid; - type CreatedAt = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -241,9 +241,9 @@ where impl<'a, S> DraftViewBuilder<'a, S> where S: draft_view_state::State, + S::CreatedAt: draft_view_state::IsSet, S::Uri: draft_view_state::IsSet, S::Cid: draft_view_state::IsSet, - S::CreatedAt: draft_view_state::IsSet, { /// Build the final struct pub fn build(self) -> DraftView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed.rs b/crates/jacquard-api/src/sh_weaver/embed.rs index 7c9dccc7..779675e1 100644 --- a/crates/jacquard-api/src/sh_weaver/embed.rs +++ b/crates/jacquard-api/src/sh_weaver/embed.rs @@ -312,37 +312,37 @@ pub mod pixel_size_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Width; type Height; + type Width; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Width = Unset; type Height = Unset; - } - ///State transition - sets the `width` field to Set - pub struct SetWidth(PhantomData S>); - impl sealed::Sealed for SetWidth {} - impl State for SetWidth { - type Width = Set; - type Height = S::Height; + type Width = Unset; } ///State transition - sets the `height` field to Set pub struct SetHeight(PhantomData S>); impl sealed::Sealed for SetHeight {} impl State for SetHeight { - type Width = S::Width; type Height = Set; + type Width = S::Width; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Height = S::Height; + type Width = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `width` field - pub struct width(()); ///Marker type for the `height` field pub struct height(()); + ///Marker type for the `width` field + pub struct width(()); } } @@ -412,8 +412,8 @@ where impl<'a, S> PixelSizeBuilder<'a, S> where S: pixel_size_state::State, - S::Width: pixel_size_state::IsSet, S::Height: pixel_size_state::IsSet, + S::Width: pixel_size_state::IsSet, { /// Build the final struct pub fn build(self) -> PixelSize<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs b/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs index a6227405..787312a5 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs @@ -323,37 +323,37 @@ pub mod view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; type Media; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; type Media = Unset; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; - type Media = S::Media; + type Record = Unset; } ///State transition - sets the `media` field to Set pub struct SetMedia(PhantomData S>); impl sealed::Sealed for SetMedia {} impl State for SetMedia { - type Record = S::Record; type Media = Set; + type Record = S::Record; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Media = S::Media; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `media` field pub struct media(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -426,8 +426,8 @@ impl<'a, S: view_state::State> ViewBuilder<'a, S> { impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, - S::Record: view_state::IsSet, S::Media: view_state::IsSet, + S::Record: view_state::IsSet, { /// Build the final struct pub fn build(self) -> View<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/records.rs b/crates/jacquard-api/src/sh_weaver/embed/records.rs index 5d4b06f9..66c27951 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/records.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/records.rs @@ -1187,49 +1187,49 @@ pub mod view_blocked_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Blocked; type Author; + type Blocked; type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Blocked = Unset; type Author = Unset; + type Blocked = Unset; type Uri = Unset; } - ///State transition - sets the `blocked` field to Set - pub struct SetBlocked(PhantomData S>); - impl sealed::Sealed for SetBlocked {} - impl State for SetBlocked { - type Blocked = Set; - type Author = S::Author; - type Uri = S::Uri; - } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Blocked = S::Blocked; type Author = Set; + type Blocked = S::Blocked; + type Uri = S::Uri; + } + ///State transition - sets the `blocked` field to Set + pub struct SetBlocked(PhantomData S>); + impl sealed::Sealed for SetBlocked {} + impl State for SetBlocked { + type Author = S::Author; + type Blocked = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Blocked = S::Blocked; type Author = S::Author; + type Blocked = S::Blocked; type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `blocked` field - pub struct blocked(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `blocked` field + pub struct blocked(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -1324,8 +1324,8 @@ where impl<'a, S> ViewBlockedBuilder<'a, S> where S: view_blocked_state::State, - S::Blocked: view_blocked_state::IsSet, S::Author: view_blocked_state::IsSet, + S::Blocked: view_blocked_state::IsSet, S::Uri: view_blocked_state::IsSet, { /// Build the final struct @@ -1769,9 +1769,9 @@ pub mod view_record_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Value; - type Uri; type Cid; + type Uri; + type Value; type IndexedAt; type Author; } @@ -1779,19 +1779,19 @@ pub mod view_record_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Value = Unset; - type Uri = Unset; type Cid = Unset; + type Uri = Unset; + type Value = Unset; type IndexedAt = Unset; type Author = Unset; } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Value = Set; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; type Uri = S::Uri; - type Cid = S::Cid; + type Value = S::Value; type IndexedAt = S::IndexedAt; type Author = S::Author; } @@ -1799,19 +1799,19 @@ pub mod view_record_state { pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Value = S::Value; - type Uri = Set; type Cid = S::Cid; + type Uri = Set; + type Value = S::Value; type IndexedAt = S::IndexedAt; type Author = S::Author; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Value = S::Value; + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Cid = S::Cid; type Uri = S::Uri; - type Cid = Set; + type Value = Set; type IndexedAt = S::IndexedAt; type Author = S::Author; } @@ -1819,9 +1819,9 @@ pub mod view_record_state { pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Value = S::Value; - type Uri = S::Uri; type Cid = S::Cid; + type Uri = S::Uri; + type Value = S::Value; type IndexedAt = Set; type Author = S::Author; } @@ -1829,21 +1829,21 @@ pub mod view_record_state { pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { - type Value = S::Value; - type Uri = S::Uri; type Cid = S::Cid; + type Uri = S::Uri; + type Value = S::Value; type IndexedAt = S::IndexedAt; type Author = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `value` field - pub struct value(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `uri` field + pub struct uri(()); + ///Marker type for the `value` field + pub struct value(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `author` field @@ -2092,9 +2092,9 @@ where impl<'a, S> ViewRecordBuilder<'a, S> where S: view_record_state::State, - S::Value: view_record_state::IsSet, - S::Uri: view_record_state::IsSet, S::Cid: view_record_state::IsSet, + S::Uri: view_record_state::IsSet, + S::Value: view_record_state::IsSet, S::IndexedAt: view_record_state::IsSet, S::Author: view_record_state::IsSet, { diff --git a/crates/jacquard-api/src/sh_weaver/embed/video.rs b/crates/jacquard-api/src/sh_weaver/embed/video.rs index db37a2d8..ca20c77e 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/video.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/video.rs @@ -32,37 +32,37 @@ pub mod caption_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type File; type Lang; + type File; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type File = Unset; type Lang = Unset; - } - ///State transition - sets the `file` field to Set - pub struct SetFile(PhantomData S>); - impl sealed::Sealed for SetFile {} - impl State for SetFile { - type File = Set; - type Lang = S::Lang; + type File = Unset; } ///State transition - sets the `lang` field to Set pub struct SetLang(PhantomData S>); impl sealed::Sealed for SetLang {} impl State for SetLang { - type File = S::File; type Lang = Set; + type File = S::File; + } + ///State transition - sets the `file` field to Set + pub struct SetFile(PhantomData S>); + impl sealed::Sealed for SetFile {} + impl State for SetFile { + type Lang = S::Lang; + type File = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `file` field - pub struct file(()); ///Marker type for the `lang` field pub struct lang(()); + ///Marker type for the `file` field + pub struct file(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> CaptionBuilder<'a, S> where S: caption_state::State, - S::File: caption_state::IsSet, S::Lang: caption_state::IsSet, + S::File: caption_state::IsSet, { /// Build the final struct pub fn build(self) -> Caption<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/graph.rs b/crates/jacquard-api/src/sh_weaver/graph.rs index 87e4158a..66173c94 100644 --- a/crates/jacquard-api/src/sh_weaver/graph.rs +++ b/crates/jacquard-api/src/sh_weaver/graph.rs @@ -59,37 +59,37 @@ pub mod community_tag_count_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Tag; type Count; + type Tag; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Tag = Unset; type Count = Unset; - } - ///State transition - sets the `tag` field to Set - pub struct SetTag(PhantomData S>); - impl sealed::Sealed for SetTag {} - impl State for SetTag { - type Tag = Set; - type Count = S::Count; + type Tag = Unset; } ///State transition - sets the `count` field to Set pub struct SetCount(PhantomData S>); impl sealed::Sealed for SetCount {} impl State for SetCount { - type Tag = S::Tag; type Count = Set; + type Tag = S::Tag; + } + ///State transition - sets the `tag` field to Set + pub struct SetTag(PhantomData S>); + impl sealed::Sealed for SetTag {} + impl State for SetTag { + type Count = S::Count; + type Tag = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `tag` field - pub struct tag(()); ///Marker type for the `count` field pub struct count(()); + ///Marker type for the `tag` field + pub struct tag(()); } } @@ -162,8 +162,8 @@ where impl<'a, S> CommunityTagCountBuilder<'a, S> where S: community_tag_count_state::State, - S::Tag: community_tag_count_state::IsSet, S::Count: community_tag_count_state::IsSet, + S::Tag: community_tag_count_state::IsSet, { /// Build the final struct pub fn build(self) -> CommunityTagCount<'a> { @@ -883,37 +883,37 @@ pub mod list_item_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type Uri; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type Uri = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Uri = S::Uri; + type Subject = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Subject = S::Subject; type Uri = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Uri = S::Uri; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -1006,8 +1006,8 @@ where impl<'a, S> ListItemViewBuilder<'a, S> where S: list_item_view_state::State, - S::Subject: list_item_view_state::IsSet, S::Uri: list_item_view_state::IsSet, + S::Subject: list_item_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ListItemView<'a> { @@ -1118,6 +1118,12 @@ impl<'a> AsRef for ListPurpose<'a> { } } +impl<'a> core::fmt::Display for ListPurpose<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ListPurpose<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1206,127 +1212,127 @@ pub mod list_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Purpose; type Uri; - type Creator; + type Cid; type Name; - type ItemCount; + type Creator; + type Purpose; type IndexedAt; - type Cid; + type ItemCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Purpose = Unset; type Uri = Unset; - type Creator = Unset; + type Cid = Unset; type Name = Unset; - type ItemCount = Unset; + type Creator = Unset; + type Purpose = Unset; type IndexedAt = Unset; - type Cid = Unset; - } - ///State transition - sets the `purpose` field to Set - pub struct SetPurpose(PhantomData S>); - impl sealed::Sealed for SetPurpose {} - impl State for SetPurpose { - type Purpose = Set; - type Uri = S::Uri; - type Creator = S::Creator; - type Name = S::Name; - type ItemCount = S::ItemCount; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type ItemCount = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Purpose = S::Purpose; type Uri = Set; - type Creator = S::Creator; + type Cid = S::Cid; type Name = S::Name; - type ItemCount = S::ItemCount; + type Creator = S::Creator; + type Purpose = S::Purpose; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type ItemCount = S::ItemCount; } - ///State transition - sets the `creator` field to Set - pub struct SetCreator(PhantomData S>); - impl sealed::Sealed for SetCreator {} - impl State for SetCreator { - type Purpose = S::Purpose; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; - type Creator = Set; + type Cid = Set; type Name = S::Name; - type ItemCount = S::ItemCount; + type Creator = S::Creator; + type Purpose = S::Purpose; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type ItemCount = S::ItemCount; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Purpose = S::Purpose; type Uri = S::Uri; - type Creator = S::Creator; + type Cid = S::Cid; type Name = Set; - type ItemCount = S::ItemCount; + type Creator = S::Creator; + type Purpose = S::Purpose; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type ItemCount = S::ItemCount; } - ///State transition - sets the `item_count` field to Set - pub struct SetItemCount(PhantomData S>); - impl sealed::Sealed for SetItemCount {} - impl State for SetItemCount { - type Purpose = S::Purpose; + ///State transition - sets the `creator` field to Set + pub struct SetCreator(PhantomData S>); + impl sealed::Sealed for SetCreator {} + impl State for SetCreator { type Uri = S::Uri; - type Creator = S::Creator; + type Cid = S::Cid; type Name = S::Name; - type ItemCount = Set; + type Creator = Set; + type Purpose = S::Purpose; type IndexedAt = S::IndexedAt; + type ItemCount = S::ItemCount; + } + ///State transition - sets the `purpose` field to Set + pub struct SetPurpose(PhantomData S>); + impl sealed::Sealed for SetPurpose {} + impl State for SetPurpose { + type Uri = S::Uri; type Cid = S::Cid; + type Name = S::Name; + type Creator = S::Creator; + type Purpose = Set; + type IndexedAt = S::IndexedAt; + type ItemCount = S::ItemCount; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Purpose = S::Purpose; type Uri = S::Uri; - type Creator = S::Creator; + type Cid = S::Cid; type Name = S::Name; - type ItemCount = S::ItemCount; + type Creator = S::Creator; + type Purpose = S::Purpose; type IndexedAt = Set; - type Cid = S::Cid; + type ItemCount = S::ItemCount; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Purpose = S::Purpose; + ///State transition - sets the `item_count` field to Set + pub struct SetItemCount(PhantomData S>); + impl sealed::Sealed for SetItemCount {} + impl State for SetItemCount { type Uri = S::Uri; - type Creator = S::Creator; + type Cid = S::Cid; type Name = S::Name; - type ItemCount = S::ItemCount; + type Creator = S::Creator; + type Purpose = S::Purpose; type IndexedAt = S::IndexedAt; - type Cid = Set; + type ItemCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `purpose` field - pub struct purpose(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `creator` field - pub struct creator(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `item_count` field - pub struct item_count(()); + ///Marker type for the `creator` field + pub struct creator(()); + ///Marker type for the `purpose` field + pub struct purpose(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `item_count` field + pub struct item_count(()); } } @@ -1570,13 +1576,13 @@ impl<'a, S: list_view_state::State> ListViewBuilder<'a, S> { impl<'a, S> ListViewBuilder<'a, S> where S: list_view_state::State, - S::Purpose: list_view_state::IsSet, S::Uri: list_view_state::IsSet, - S::Creator: list_view_state::IsSet, + S::Cid: list_view_state::IsSet, S::Name: list_view_state::IsSet, - S::ItemCount: list_view_state::IsSet, + S::Creator: list_view_state::IsSet, + S::Purpose: list_view_state::IsSet, S::IndexedAt: list_view_state::IsSet, - S::Cid: list_view_state::IsSet, + S::ItemCount: list_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ListView<'a> { @@ -1690,51 +1696,51 @@ pub mod resource_tags_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AuthorTags; type CommunityTags; type Resource; + type AuthorTags; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AuthorTags = Unset; type CommunityTags = Unset; type Resource = Unset; - } - ///State transition - sets the `author_tags` field to Set - pub struct SetAuthorTags(PhantomData S>); - impl sealed::Sealed for SetAuthorTags {} - impl State for SetAuthorTags { - type AuthorTags = Set; - type CommunityTags = S::CommunityTags; - type Resource = S::Resource; + type AuthorTags = Unset; } ///State transition - sets the `community_tags` field to Set pub struct SetCommunityTags(PhantomData S>); impl sealed::Sealed for SetCommunityTags {} impl State for SetCommunityTags { - type AuthorTags = S::AuthorTags; type CommunityTags = Set; type Resource = S::Resource; + type AuthorTags = S::AuthorTags; } ///State transition - sets the `resource` field to Set pub struct SetResource(PhantomData S>); impl sealed::Sealed for SetResource {} impl State for SetResource { - type AuthorTags = S::AuthorTags; type CommunityTags = S::CommunityTags; type Resource = Set; + type AuthorTags = S::AuthorTags; + } + ///State transition - sets the `author_tags` field to Set + pub struct SetAuthorTags(PhantomData S>); + impl sealed::Sealed for SetAuthorTags {} + impl State for SetAuthorTags { + type CommunityTags = S::CommunityTags; + type Resource = S::Resource; + type AuthorTags = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `author_tags` field - pub struct author_tags(()); ///Marker type for the `community_tags` field pub struct community_tags(()); ///Marker type for the `resource` field pub struct resource(()); + ///Marker type for the `author_tags` field + pub struct author_tags(()); } } @@ -1847,9 +1853,9 @@ impl<'a, S: resource_tags_view_state::State> ResourceTagsViewBuilder<'a, S> { impl<'a, S> ResourceTagsViewBuilder<'a, S> where S: resource_tags_view_state::State, - S::AuthorTags: resource_tags_view_state::IsSet, S::CommunityTags: resource_tags_view_state::IsSet, S::Resource: resource_tags_view_state::IsSet, + S::AuthorTags: resource_tags_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ResourceTagsView<'a> { @@ -1946,67 +1952,67 @@ pub mod tag_application_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Uri; - type AppliedBy; type Tag; + type CreatedAt; + type AppliedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Uri = Unset; - type AppliedBy = Unset; type Tag = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Uri = S::Uri; - type AppliedBy = S::AppliedBy; - type Tag = S::Tag; + type CreatedAt = Unset; + type AppliedBy = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type CreatedAt = S::CreatedAt; type Uri = Set; - type AppliedBy = S::AppliedBy; type Tag = S::Tag; - } - ///State transition - sets the `applied_by` field to Set - pub struct SetAppliedBy(PhantomData S>); - impl sealed::Sealed for SetAppliedBy {} - impl State for SetAppliedBy { type CreatedAt = S::CreatedAt; - type Uri = S::Uri; - type AppliedBy = Set; - type Tag = S::Tag; + type AppliedBy = S::AppliedBy; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { + type Uri = S::Uri; + type Tag = Set; type CreatedAt = S::CreatedAt; + type AppliedBy = S::AppliedBy; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Uri = S::Uri; + type Tag = S::Tag; + type CreatedAt = Set; type AppliedBy = S::AppliedBy; - type Tag = Set; + } + ///State transition - sets the `applied_by` field to Set + pub struct SetAppliedBy(PhantomData S>); + impl sealed::Sealed for SetAppliedBy {} + impl State for SetAppliedBy { + type Uri = S::Uri; + type Tag = S::Tag; + type CreatedAt = S::CreatedAt; + type AppliedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `applied_by` field - pub struct applied_by(()); ///Marker type for the `tag` field pub struct tag(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `applied_by` field + pub struct applied_by(()); } } @@ -2119,10 +2125,10 @@ where impl<'a, S> TagApplicationViewBuilder<'a, S> where S: tag_application_view_state::State, - S::CreatedAt: tag_application_view_state::IsSet, S::Uri: tag_application_view_state::IsSet, - S::AppliedBy: tag_application_view_state::IsSet, S::Tag: tag_application_view_state::IsSet, + S::CreatedAt: tag_application_view_state::IsSet, + S::AppliedBy: tag_application_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TagApplicationView<'a> { @@ -2208,37 +2214,37 @@ pub mod tag_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type UseCount; type Tag; + type UseCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type UseCount = Unset; type Tag = Unset; - } - ///State transition - sets the `use_count` field to Set - pub struct SetUseCount(PhantomData S>); - impl sealed::Sealed for SetUseCount {} - impl State for SetUseCount { - type UseCount = Set; - type Tag = S::Tag; + type UseCount = Unset; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { - type UseCount = S::UseCount; type Tag = Set; + type UseCount = S::UseCount; + } + ///State transition - sets the `use_count` field to Set + pub struct SetUseCount(PhantomData S>); + impl sealed::Sealed for SetUseCount {} + impl State for SetUseCount { + type Tag = S::Tag; + type UseCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `use_count` field - pub struct use_count(()); ///Marker type for the `tag` field pub struct tag(()); + ///Marker type for the `use_count` field + pub struct use_count(()); } } @@ -2367,8 +2373,8 @@ where impl<'a, S> TagViewBuilder<'a, S> where S: tag_view_state::State, - S::UseCount: tag_view_state::IsSet, S::Tag: tag_view_state::IsSet, + S::UseCount: tag_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TagView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_list.rs b/crates/jacquard-api/src/sh_weaver/graph/get_list.rs index 79f137e4..627a2b5e 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/get_list.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/get_list.rs @@ -190,8 +190,8 @@ pub enum GetListError<'a> { ListNotFound(std::option::Option>), } -impl std::fmt::Display for GetListError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetListError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ListNotFound(msg) => { write!(f, "ListNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/graph/list.rs b/crates/jacquard-api/src/sh_weaver/graph/list.rs index b4d847fd..63aa51de 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/list.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/list.rs @@ -48,6 +48,12 @@ impl<'a> AsRef for ListPurpose<'a> { } } +impl<'a> core::fmt::Display for ListPurpose<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ListPurpose<'a> { fn serialize(&self, serializer: S) -> Result where @@ -124,50 +130,50 @@ pub mod list_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Name; type Purpose; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Name = Unset; type Purpose = Unset; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Name = S::Name; - type Purpose = S::Purpose; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type CreatedAt = S::CreatedAt; - type Name = Set; type Purpose = S::Purpose; + type Name = S::Name; } ///State transition - sets the `purpose` field to Set pub struct SetPurpose(PhantomData S>); impl sealed::Sealed for SetPurpose {} impl State for SetPurpose { type CreatedAt = S::CreatedAt; - type Name = S::Name; type Purpose = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Purpose = S::Purpose; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `purpose` field pub struct purpose(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -301,8 +307,8 @@ impl<'a, S> ListBuilder<'a, S> where S: list_state::State, S::CreatedAt: list_state::IsSet, - S::Name: list_state::IsSet, S::Purpose: list_state::IsSet, + S::Name: list_state::IsSet, { /// Build the final struct pub fn build(self) -> List<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/graph/listitem.rs b/crates/jacquard-api/src/sh_weaver/graph/listitem.rs index 0c4f228d..a04b57d5 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/listitem.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/listitem.rs @@ -38,50 +38,50 @@ pub mod listitem_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Subject; type List; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Subject = Unset; type List = Unset; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Subject = S::Subject; - type List = S::List; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type CreatedAt = S::CreatedAt; - type Subject = Set; type List = S::List; + type Subject = S::Subject; } ///State transition - sets the `list` field to Set pub struct SetList(PhantomData S>); impl sealed::Sealed for SetList {} impl State for SetList { type CreatedAt = S::CreatedAt; - type Subject = S::Subject; type List = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type List = S::List; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `list` field pub struct list(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -175,8 +175,8 @@ impl<'a, S> ListitemBuilder<'a, S> where S: listitem_state::State, S::CreatedAt: listitem_state::IsSet, - S::Subject: listitem_state::IsSet, S::List: listitem_state::IsSet, + S::Subject: listitem_state::IsSet, { /// Build the final struct pub fn build(self) -> Listitem<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/graph/tag.rs b/crates/jacquard-api/src/sh_weaver/graph/tag.rs index 1fb1c047..ce8b34e3 100644 --- a/crates/jacquard-api/src/sh_weaver/graph/tag.rs +++ b/crates/jacquard-api/src/sh_weaver/graph/tag.rs @@ -37,51 +37,51 @@ pub mod tag_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Subject; type Tag; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Subject = Unset; type Tag = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Subject = S::Subject; + type Tag = S::Tag; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type CreatedAt = S::CreatedAt; type Subject = Set; type Tag = S::Tag; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `tag` field to Set pub struct SetTag(PhantomData S>); impl sealed::Sealed for SetTag {} impl State for SetTag { - type Subject = S::Subject; - type Tag = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Subject = S::Subject; - type Tag = S::Tag; - type CreatedAt = Set; + type Tag = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `tag` field pub struct tag(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> TagBuilder<'a, S> where S: tag_state::State, + S::CreatedAt: tag_state::IsSet, S::Subject: tag_state::IsSet, S::Tag: tag_state::IsSet, - S::CreatedAt: tag_state::IsSet, { /// Build the final struct pub fn build(self) -> Tag<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook.rs index 1fa0b819..6571eead 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook.rs @@ -67,37 +67,37 @@ pub mod author_list_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Index; type Record; + type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Index = Unset; type Record = Unset; - } - ///State transition - sets the `index` field to Set - pub struct SetIndex(PhantomData S>); - impl sealed::Sealed for SetIndex {} - impl State for SetIndex { - type Index = Set; - type Record = S::Record; + type Index = Unset; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Index = S::Index; type Record = Set; + type Index = S::Index; + } + ///State transition - sets the `index` field to Set + pub struct SetIndex(PhantomData S>); + impl sealed::Sealed for SetIndex {} + impl State for SetIndex { + type Record = S::Record; + type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `index` field - pub struct index(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `index` field + pub struct index(()); } } @@ -190,8 +190,8 @@ impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { impl<'a, S> AuthorListViewBuilder<'a, S> where S: author_list_view_state::State, - S::Index: author_list_view_state::IsSet, S::Record: author_list_view_state::IsSet, + S::Index: author_list_view_state::IsSet, { /// Build the final struct pub fn build(self) -> AuthorListView<'a> { @@ -2633,105 +2633,105 @@ pub mod chapter_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Notebook; - type Authors; type Cid; - type IndexedAt; - type Record; + type Authors; type Uri; + type Record; + type IndexedAt; + type Notebook; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Notebook = Unset; - type Authors = Unset; type Cid = Unset; - type IndexedAt = Unset; - type Record = Unset; + type Authors = Unset; type Uri = Unset; + type Record = Unset; + type IndexedAt = Unset; + type Notebook = Unset; } - ///State transition - sets the `notebook` field to Set - pub struct SetNotebook(PhantomData S>); - impl sealed::Sealed for SetNotebook {} - impl State for SetNotebook { - type Notebook = Set; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; type Authors = S::Authors; - type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = S::Record; type Uri = S::Uri; + type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Notebook = S::Notebook; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type Notebook = S::Notebook; - type Authors = Set; type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = S::Record; + type Authors = Set; type Uri = S::Uri; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Notebook = S::Notebook; - type Authors = S::Authors; - type Cid = Set; - type IndexedAt = S::IndexedAt; type Record = S::Record; - type Uri = S::Uri; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { + type IndexedAt = S::IndexedAt; type Notebook = S::Notebook; - type Authors = S::Authors; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { type Cid = S::Cid; - type IndexedAt = Set; + type Authors = S::Authors; + type Uri = Set; type Record = S::Record; - type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + type Notebook = S::Notebook; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Notebook = S::Notebook; - type Authors = S::Authors; type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = Set; + type Authors = S::Authors; type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { + type Record = Set; + type IndexedAt = S::IndexedAt; type Notebook = S::Notebook; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Cid = S::Cid; type Authors = S::Authors; + type Uri = S::Uri; + type Record = S::Record; + type IndexedAt = Set; + type Notebook = S::Notebook; + } + ///State transition - sets the `notebook` field to Set + pub struct SetNotebook(PhantomData S>); + impl sealed::Sealed for SetNotebook {} + impl State for SetNotebook { type Cid = S::Cid; - type IndexedAt = S::IndexedAt; + type Authors = S::Authors; + type Uri = S::Uri; type Record = S::Record; - type Uri = Set; + type IndexedAt = S::IndexedAt; + type Notebook = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `notebook` field - pub struct notebook(()); - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `record` field - pub struct record(()); + ///Marker type for the `authors` field + pub struct authors(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `record` field + pub struct record(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `notebook` field + pub struct notebook(()); } } @@ -2948,12 +2948,12 @@ where impl<'a, S> ChapterViewBuilder<'a, S> where S: chapter_view_state::State, - S::Notebook: chapter_view_state::IsSet, - S::Authors: chapter_view_state::IsSet, S::Cid: chapter_view_state::IsSet, - S::IndexedAt: chapter_view_state::IsSet, - S::Record: chapter_view_state::IsSet, + S::Authors: chapter_view_state::IsSet, S::Uri: chapter_view_state::IsSet, + S::Record: chapter_view_state::IsSet, + S::IndexedAt: chapter_view_state::IsSet, + S::Notebook: chapter_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ChapterView<'a> { @@ -3099,6 +3099,12 @@ impl<'a> AsRef for ContentRating<'a> { } } +impl<'a> core::fmt::Display for ContentRating<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ContentRating<'a> { fn serialize(&self, serializer: S) -> Result where @@ -3214,6 +3220,12 @@ impl<'a> AsRef for ContentWarning<'a> { } } +impl<'a> core::fmt::Display for ContentWarning<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ContentWarning<'a> { fn serialize(&self, serializer: S) -> Result where @@ -3325,85 +3337,85 @@ pub mod entry_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; - type IndexedAt; - type Authors; type Uri; type Cid; + type Record; + type Authors; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; - type IndexedAt = Unset; - type Authors = Unset; type Uri = Unset; type Cid = Unset; + type Record = Unset; + type Authors = Unset; + type IndexedAt = Unset; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Cid = S::Cid; + type Record = S::Record; + type Authors = S::Authors; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; + type Cid = Set; + type Record = S::Record; + type Authors = S::Authors; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Record = Set; - type IndexedAt = S::IndexedAt; - type Authors = S::Authors; type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Record = S::Record; - type IndexedAt = Set; + type Record = Set; type Authors = S::Authors; - type Uri = S::Uri; - type Cid = S::Cid; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type Record = S::Record; - type IndexedAt = S::IndexedAt; - type Authors = Set; type Uri = S::Uri; type Cid = S::Cid; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Record = S::Record; + type Authors = Set; type IndexedAt = S::IndexedAt; - type Authors = S::Authors; - type Uri = Set; - type Cid = S::Cid; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Uri = S::Uri; + type Cid = S::Cid; type Record = S::Record; - type IndexedAt = S::IndexedAt; type Authors = S::Authors; - type Uri = S::Uri; - type Cid = Set; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `authors` field - pub struct authors(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `record` field + pub struct record(()); + ///Marker type for the `authors` field + pub struct authors(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -3740,11 +3752,11 @@ impl<'a, S: entry_view_state::State> EntryViewBuilder<'a, S> { impl<'a, S> EntryViewBuilder<'a, S> where S: entry_view_state::State, - S::Record: entry_view_state::IsSet, - S::IndexedAt: entry_view_state::IsSet, - S::Authors: entry_view_state::IsSet, S::Uri: entry_view_state::IsSet, S::Cid: entry_view_state::IsSet, + S::Record: entry_view_state::IsSet, + S::Authors: entry_view_state::IsSet, + S::IndexedAt: entry_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EntryView<'a> { @@ -4036,37 +4048,37 @@ pub mod feed_notebook_context_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Title; type Uri; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Title = Unset; type Uri = Unset; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Title = Set; - type Uri = S::Uri; + type Title = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Title = S::Title; type Uri = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Uri = S::Uri; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -4156,8 +4168,8 @@ where impl<'a, S> FeedNotebookContextBuilder<'a, S> where S: feed_notebook_context_state::State, - S::Title: feed_notebook_context_state::IsSet, S::Uri: feed_notebook_context_state::IsSet, + S::Title: feed_notebook_context_state::IsSet, { /// Build the final struct pub fn build(self) -> FeedNotebookContext<'a> { @@ -4295,85 +4307,85 @@ pub mod notebook_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Record; + type Uri; type IndexedAt; + type Record; type Authors; - type Uri; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Record = Unset; + type Uri = Unset; type IndexedAt = Unset; + type Record = Unset; type Authors = Unset; - type Uri = Unset; + type Cid = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Record = S::Record; + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; type IndexedAt = S::IndexedAt; + type Record = S::Record; type Authors = S::Authors; - type Uri = S::Uri; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { type Cid = S::Cid; - type Record = Set; - type IndexedAt = S::IndexedAt; - type Authors = S::Authors; - type Uri = S::Uri; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Cid = S::Cid; - type Record = S::Record; + type Uri = S::Uri; type IndexedAt = Set; + type Record = S::Record; type Authors = S::Authors; + type Cid = S::Cid; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + type Record = Set; + type Authors = S::Authors; + type Cid = S::Cid; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type Cid = S::Cid; - type Record = S::Record; + type Uri = S::Uri; type IndexedAt = S::IndexedAt; + type Record = S::Record; type Authors = Set; - type Uri = S::Uri; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Cid = S::Cid; - type Record = S::Record; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Uri = S::Uri; type IndexedAt = S::IndexedAt; + type Record = S::Record; type Authors = S::Authors; - type Uri = Set; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `record` field - pub struct record(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `authors` field pub struct authors(()); - ///Marker type for the `uri` field - pub struct uri(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -4740,11 +4752,11 @@ impl<'a, S: notebook_view_state::State> NotebookViewBuilder<'a, S> { impl<'a, S> NotebookViewBuilder<'a, S> where S: notebook_view_state::State, - S::Cid: notebook_view_state::IsSet, - S::Record: notebook_view_state::IsSet, + S::Uri: notebook_view_state::IsSet, S::IndexedAt: notebook_view_state::IsSet, + S::Record: notebook_view_state::IsSet, S::Authors: notebook_view_state::IsSet, - S::Uri: notebook_view_state::IsSet, + S::Cid: notebook_view_state::IsSet, { /// Build the final struct pub fn build(self) -> NotebookView<'a> { @@ -4859,85 +4871,85 @@ pub mod page_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Uri; type Notebook; + type Uri; type Record; type IndexedAt; + type Cid; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Uri = Unset; type Notebook = Unset; + type Uri = Unset; type Record = Unset; type IndexedAt = Unset; + type Cid = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; + ///State transition - sets the `notebook` field to Set + pub struct SetNotebook(PhantomData S>); + impl sealed::Sealed for SetNotebook {} + impl State for SetNotebook { + type Notebook = Set; type Uri = S::Uri; - type Notebook = S::Notebook; type Record = S::Record; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Cid = S::Cid; - type Uri = Set; type Notebook = S::Notebook; + type Uri = Set; type Record = S::Record; type IndexedAt = S::IndexedAt; - } - ///State transition - sets the `notebook` field to Set - pub struct SetNotebook(PhantomData S>); - impl sealed::Sealed for SetNotebook {} - impl State for SetNotebook { type Cid = S::Cid; - type Uri = S::Uri; - type Notebook = Set; - type Record = S::Record; - type IndexedAt = S::IndexedAt; } ///State transition - sets the `record` field to Set pub struct SetRecord(PhantomData S>); impl sealed::Sealed for SetRecord {} impl State for SetRecord { - type Cid = S::Cid; - type Uri = S::Uri; type Notebook = S::Notebook; + type Uri = S::Uri; type Record = Set; type IndexedAt = S::IndexedAt; + type Cid = S::Cid; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Cid = S::Cid; - type Uri = S::Uri; type Notebook = S::Notebook; + type Uri = S::Uri; type Record = S::Record; type IndexedAt = Set; + type Cid = S::Cid; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Notebook = S::Notebook; + type Uri = S::Uri; + type Record = S::Record; + type IndexedAt = S::IndexedAt; + type Cid = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `notebook` field pub struct notebook(()); + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `record` field pub struct record(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); + ///Marker type for the `cid` field + pub struct cid(()); } } @@ -5124,11 +5136,11 @@ where impl<'a, S> PageViewBuilder<'a, S> where S: page_view_state::State, - S::Cid: page_view_state::IsSet, - S::Uri: page_view_state::IsSet, S::Notebook: page_view_state::IsSet, + S::Uri: page_view_state::IsSet, S::Record: page_view_state::IsSet, S::IndexedAt: page_view_state::IsSet, + S::Cid: page_view_state::IsSet, { /// Build the final struct pub fn build(self) -> PageView<'a> { @@ -5204,7 +5216,7 @@ pub struct PermissionGrant<'a> { pub granted_at: jacquard_common::types::string::Datetime, /// direct = this resource (includes authority), inherited = via notebook invite #[serde(borrow)] - pub scope: jacquard_common::CowStr<'a>, + pub scope: PermissionGrantScope<'a>, /// For authority: resource URI. For invitees: invite URI #[serde(borrow)] pub source: jacquard_common::types::string::AtUri<'a>, @@ -5221,8 +5233,8 @@ pub mod permission_grant_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type GrantedAt; - type Source; type Did; + type Source; type Scope; } /// Empty state - all required fields are unset @@ -5230,8 +5242,8 @@ pub mod permission_grant_state { impl sealed::Sealed for Empty {} impl State for Empty { type GrantedAt = Unset; - type Source = Unset; type Did = Unset; + type Source = Unset; type Scope = Unset; } ///State transition - sets the `granted_at` field to Set @@ -5239,17 +5251,8 @@ pub mod permission_grant_state { impl sealed::Sealed for SetGrantedAt {} impl State for SetGrantedAt { type GrantedAt = Set; - type Source = S::Source; - type Did = S::Did; - type Scope = S::Scope; - } - ///State transition - sets the `source` field to Set - pub struct SetSource(PhantomData S>); - impl sealed::Sealed for SetSource {} - impl State for SetSource { - type GrantedAt = S::GrantedAt; - type Source = Set; type Did = S::Did; + type Source = S::Source; type Scope = S::Scope; } ///State transition - sets the `did` field to Set @@ -5257,8 +5260,17 @@ pub mod permission_grant_state { impl sealed::Sealed for SetDid {} impl State for SetDid { type GrantedAt = S::GrantedAt; - type Source = S::Source; type Did = Set; + type Source = S::Source; + type Scope = S::Scope; + } + ///State transition - sets the `source` field to Set + pub struct SetSource(PhantomData S>); + impl sealed::Sealed for SetSource {} + impl State for SetSource { + type GrantedAt = S::GrantedAt; + type Did = S::Did; + type Source = Set; type Scope = S::Scope; } ///State transition - sets the `scope` field to Set @@ -5266,8 +5278,8 @@ pub mod permission_grant_state { impl sealed::Sealed for SetScope {} impl State for SetScope { type GrantedAt = S::GrantedAt; - type Source = S::Source; type Did = S::Did; + type Source = S::Source; type Scope = Set; } /// Marker types for field names @@ -5275,10 +5287,10 @@ pub mod permission_grant_state { pub mod members { ///Marker type for the `granted_at` field pub struct granted_at(()); - ///Marker type for the `source` field - pub struct source(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `source` field + pub struct source(()); ///Marker type for the `scope` field pub struct scope(()); } @@ -5290,7 +5302,7 @@ pub struct PermissionGrantBuilder<'a, S: permission_grant_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -5360,7 +5372,7 @@ where /// Set the `scope` field (required) pub fn scope( mut self, - value: impl Into>, + value: impl Into>, ) -> PermissionGrantBuilder<'a, permission_grant_state::SetScope> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); PermissionGrantBuilder { @@ -5394,8 +5406,8 @@ impl<'a, S> PermissionGrantBuilder<'a, S> where S: permission_grant_state::State, S::GrantedAt: permission_grant_state::IsSet, - S::Source: permission_grant_state::IsSet, S::Did: permission_grant_state::IsSet, + S::Source: permission_grant_state::IsSet, S::Scope: permission_grant_state::IsSet, { /// Build the final struct @@ -5426,6 +5438,97 @@ where } } +/// direct = this resource (includes authority), inherited = via notebook invite +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum PermissionGrantScope<'a> { + Direct, + Inherited, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> PermissionGrantScope<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Direct => "direct", + Self::Inherited => "inherited", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for PermissionGrantScope<'a> { + fn from(s: &'a str) -> Self { + match s { + "direct" => Self::Direct, + "inherited" => Self::Inherited, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for PermissionGrantScope<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "direct" => Self::Direct, + "inherited" => Self::Inherited, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for PermissionGrantScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for PermissionGrantScope<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for PermissionGrantScope<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for PermissionGrantScope<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for PermissionGrantScope<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for PermissionGrantScope<'_> { + type Output = PermissionGrantScope<'static>; + fn into_static(self) -> Self::Output { + match self { + PermissionGrantScope::Direct => PermissionGrantScope::Direct, + PermissionGrantScope::Inherited => PermissionGrantScope::Inherited, + PermissionGrantScope::Other(v) => { + PermissionGrantScope::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PermissionGrant<'a> { fn nsid() -> &'static str { "sh.weaver.notebook.defs" @@ -5655,8 +5758,8 @@ pub mod published_version_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Publisher; - type Cid; type PublishedAt; + type Cid; type Uri; } /// Empty state - all required fields are unset @@ -5664,8 +5767,8 @@ pub mod published_version_view_state { impl sealed::Sealed for Empty {} impl State for Empty { type Publisher = Unset; - type Cid = Unset; type PublishedAt = Unset; + type Cid = Unset; type Uri = Unset; } ///State transition - sets the `publisher` field to Set @@ -5673,17 +5776,8 @@ pub mod published_version_view_state { impl sealed::Sealed for SetPublisher {} impl State for SetPublisher { type Publisher = Set; - type Cid = S::Cid; - type PublishedAt = S::PublishedAt; - type Uri = S::Uri; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Publisher = S::Publisher; - type Cid = Set; type PublishedAt = S::PublishedAt; + type Cid = S::Cid; type Uri = S::Uri; } ///State transition - sets the `published_at` field to Set @@ -5691,8 +5785,17 @@ pub mod published_version_view_state { impl sealed::Sealed for SetPublishedAt {} impl State for SetPublishedAt { type Publisher = S::Publisher; - type Cid = S::Cid; type PublishedAt = Set; + type Cid = S::Cid; + type Uri = S::Uri; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Publisher = S::Publisher; + type PublishedAt = S::PublishedAt; + type Cid = Set; type Uri = S::Uri; } ///State transition - sets the `uri` field to Set @@ -5700,8 +5803,8 @@ pub mod published_version_view_state { impl sealed::Sealed for SetUri {} impl State for SetUri { type Publisher = S::Publisher; - type Cid = S::Cid; type PublishedAt = S::PublishedAt; + type Cid = S::Cid; type Uri = Set; } /// Marker types for field names @@ -5709,10 +5812,10 @@ pub mod published_version_view_state { pub mod members { ///Marker type for the `publisher` field pub struct publisher(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `published_at` field pub struct published_at(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); } @@ -5888,8 +5991,8 @@ impl<'a, S> PublishedVersionViewBuilder<'a, S> where S: published_version_view_state::State, S::Publisher: published_version_view_state::IsSet, - S::Cid: published_version_view_state::IsSet, S::PublishedAt: published_version_view_state::IsSet, + S::Cid: published_version_view_state::IsSet, S::Uri: published_version_view_state::IsSet, { /// Build the final struct @@ -5971,7 +6074,107 @@ pub struct ReadingProgress<'a> { pub started_at: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ReadingProgressStatus<'a> { + Reading, + Finished, + Abandoned, + WantToRead, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ReadingProgressStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Reading => "reading", + Self::Finished => "finished", + Self::Abandoned => "abandoned", + Self::WantToRead => "want-to-read", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ReadingProgressStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "reading" => Self::Reading, + "finished" => Self::Finished, + "abandoned" => Self::Abandoned, + "want-to-read" => Self::WantToRead, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ReadingProgressStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "reading" => Self::Reading, + "finished" => Self::Finished, + "abandoned" => Self::Abandoned, + "want-to-read" => Self::WantToRead, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ReadingProgressStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ReadingProgressStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ReadingProgressStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ReadingProgressStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ReadingProgressStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ReadingProgressStatus<'_> { + type Output = ReadingProgressStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + ReadingProgressStatus::Reading => ReadingProgressStatus::Reading, + ReadingProgressStatus::Finished => ReadingProgressStatus::Finished, + ReadingProgressStatus::Abandoned => ReadingProgressStatus::Abandoned, + ReadingProgressStatus::WantToRead => ReadingProgressStatus::WantToRead, + ReadingProgressStatus::Other(v) => { + ReadingProgressStatus::Other(v.into_static()) + } + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ReadingProgress<'a> { @@ -6040,37 +6243,37 @@ pub mod reason_bookmark_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; type By; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; type By = Unset; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; - type By = S::By; + type IndexedAt = Unset; } ///State transition - sets the `by` field to Set pub struct SetBy(PhantomData S>); impl sealed::Sealed for SetBy {} impl State for SetBy { - type IndexedAt = S::IndexedAt; type By = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type By = S::By; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `by` field pub struct by(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -6143,8 +6346,8 @@ where impl<'a, S> ReasonBookmarkBuilder<'a, S> where S: reason_bookmark_state::State, - S::IndexedAt: reason_bookmark_state::IsSet, S::By: reason_bookmark_state::IsSet, + S::IndexedAt: reason_bookmark_state::IsSet, { /// Build the final struct pub fn build(self) -> ReasonBookmark<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs index a54908b5..56948061 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs @@ -54,49 +54,49 @@ pub mod chapter_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type EntryList; type Notebook; + type EntryList; type Authors; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type EntryList = Unset; type Notebook = Unset; + type EntryList = Unset; type Authors = Unset; } - ///State transition - sets the `entry_list` field to Set - pub struct SetEntryList(PhantomData S>); - impl sealed::Sealed for SetEntryList {} - impl State for SetEntryList { - type EntryList = Set; - type Notebook = S::Notebook; - type Authors = S::Authors; - } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { - type EntryList = S::EntryList; type Notebook = Set; + type EntryList = S::EntryList; + type Authors = S::Authors; + } + ///State transition - sets the `entry_list` field to Set + pub struct SetEntryList(PhantomData S>); + impl sealed::Sealed for SetEntryList {} + impl State for SetEntryList { + type Notebook = S::Notebook; + type EntryList = Set; type Authors = S::Authors; } ///State transition - sets the `authors` field to Set pub struct SetAuthors(PhantomData S>); impl sealed::Sealed for SetAuthors {} impl State for SetAuthors { - type EntryList = S::EntryList; type Notebook = S::Notebook; + type EntryList = S::EntryList; type Authors = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `entry_list` field - pub struct entry_list(()); ///Marker type for the `notebook` field pub struct notebook(()); + ///Marker type for the `entry_list` field + pub struct entry_list(()); ///Marker type for the `authors` field pub struct authors(()); } @@ -291,8 +291,8 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { impl<'a, S> ChapterBuilder<'a, S> where S: chapter_state::State, - S::EntryList: chapter_state::IsSet, S::Notebook: chapter_state::IsSet, + S::EntryList: chapter_state::IsSet, S::Authors: chapter_state::IsSet, { /// Build the final struct diff --git a/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs index 4483a55e..5a9b8db1 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs @@ -39,50 +39,50 @@ pub mod colour_scheme_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Name; - type Variant; type Colours; + type Variant; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Name = Unset; - type Variant = Unset; type Colours = Unset; + type Variant = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type Name = Set; - type Variant = S::Variant; - type Colours = S::Colours; - } - ///State transition - sets the `variant` field to Set - pub struct SetVariant(PhantomData S>); - impl sealed::Sealed for SetVariant {} - impl State for SetVariant { - type Name = S::Name; - type Variant = Set; type Colours = S::Colours; + type Variant = S::Variant; } ///State transition - sets the `colours` field to Set pub struct SetColours(PhantomData S>); impl sealed::Sealed for SetColours {} impl State for SetColours { type Name = S::Name; - type Variant = S::Variant; type Colours = Set; + type Variant = S::Variant; + } + ///State transition - sets the `variant` field to Set + pub struct SetVariant(PhantomData S>); + impl sealed::Sealed for SetVariant {} + impl State for SetVariant { + type Name = S::Name; + type Colours = S::Colours; + type Variant = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `name` field pub struct name(()); - ///Marker type for the `variant` field - pub struct variant(()); ///Marker type for the `colours` field pub struct colours(()); + ///Marker type for the `variant` field + pub struct variant(()); } } @@ -176,8 +176,8 @@ impl<'a, S> ColourSchemeBuilder<'a, S> where S: colour_scheme_state::State, S::Name: colour_scheme_state::IsSet, - S::Variant: colour_scheme_state::IsSet, S::Colours: colour_scheme_state::IsSet, + S::Variant: colour_scheme_state::IsSet, { /// Build the final struct pub fn build(self) -> ColourScheme<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs index d8cd2a1c..3edc016c 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs @@ -60,67 +60,67 @@ pub mod entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Path; - type Content; type Title; + type Content; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Path = Unset; - type Content = Unset; type Title = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Path = S::Path; - type Content = S::Content; - type Title = S::Title; + type Content = Unset; + type CreatedAt = Unset; } ///State transition - sets the `path` field to Set pub struct SetPath(PhantomData S>); impl sealed::Sealed for SetPath {} impl State for SetPath { - type CreatedAt = S::CreatedAt; type Path = Set; - type Content = S::Content; type Title = S::Title; + type Content = S::Content; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Path = S::Path; + type Title = Set; + type Content = S::Content; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type CreatedAt = S::CreatedAt; type Path = S::Path; - type Content = Set; type Title = S::Title; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { + type Content = Set; type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type Path = S::Path; + type Title = S::Title; type Content = S::Content; - type Title = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `path` field pub struct path(()); - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `content` field + pub struct content(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -358,10 +358,10 @@ impl<'a, S: entry_state::State> EntryBuilder<'a, S> { impl<'a, S> EntryBuilder<'a, S> where S: entry_state::State, - S::CreatedAt: entry_state::IsSet, S::Path: entry_state::IsSet, - S::Content: entry_state::IsSet, S::Title: entry_state::IsSet, + S::Content: entry_state::IsSet, + S::CreatedAt: entry_state::IsSet, { /// Build the final struct pub fn build(self) -> Entry<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs index eb24119e..f6b86321 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs @@ -167,8 +167,8 @@ pub enum GetBookEntryError<'a> { EntryNotFound(std::option::Option>), } -impl std::fmt::Display for GetBookEntryError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetBookEntryError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotebookNotFound(msg) => { write!(f, "NotebookNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs index 54b36019..f87ba57d 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs @@ -193,8 +193,8 @@ pub enum GetChapterError<'a> { ChapterNotFound(std::option::Option>), } -impl std::fmt::Display for GetChapterError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetChapterError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ChapterNotFound(msg) => { write!(f, "ChapterNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs index c136610b..4f2513bf 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs @@ -147,8 +147,8 @@ pub enum GetEntryError<'a> { EntryNotFound(std::option::Option>), } -impl std::fmt::Display for GetEntryError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetEntryError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::EntryNotFound(msg) => { write!(f, "EntryNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs index 6893075f..3e4488d9 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs @@ -187,8 +187,8 @@ pub enum GetEntryByTitleError<'a> { EntryNotFound(std::option::Option>), } -impl std::fmt::Display for GetEntryByTitleError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetEntryByTitleError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotebookNotFound(msg) => { write!(f, "NotebookNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs index 8db1bf1a..0f4c285b 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs @@ -178,8 +178,8 @@ pub enum GetEntryDetailError<'a> { EntryNotFound(std::option::Option>), } -impl std::fmt::Display for GetEntryDetailError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetEntryDetailError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::EntryNotFound(msg) => { write!(f, "EntryNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs index 6ed8bedd..bc519e48 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs @@ -32,37 +32,37 @@ pub mod get_notebook_by_title_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Actor; type Title; + type Actor; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Actor = Unset; type Title = Unset; - } - ///State transition - sets the `actor` field to Set - pub struct SetActor(PhantomData S>); - impl sealed::Sealed for SetActor {} - impl State for SetActor { - type Actor = Set; - type Title = S::Title; + type Actor = Unset; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { - type Actor = S::Actor; type Title = Set; + type Actor = S::Actor; + } + ///State transition - sets the `actor` field to Set + pub struct SetActor(PhantomData S>); + impl sealed::Sealed for SetActor {} + impl State for SetActor { + type Title = S::Title; + type Actor = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `actor` field - pub struct actor(()); ///Marker type for the `title` field pub struct title(()); + ///Marker type for the `actor` field + pub struct actor(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> GetNotebookByTitleBuilder<'a, S> where S: get_notebook_by_title_state::State, - S::Actor: get_notebook_by_title_state::IsSet, S::Title: get_notebook_by_title_state::IsSet, + S::Actor: get_notebook_by_title_state::IsSet, { /// Build the final struct pub fn build(self) -> GetNotebookByTitle<'a> { @@ -184,8 +184,8 @@ pub enum GetNotebookByTitleError<'a> { NotebookNotFound(std::option::Option>), } -impl std::fmt::Display for GetNotebookByTitleError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetNotebookByTitleError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotebookNotFound(msg) => { write!(f, "NotebookNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs index b94fa6ee..6d73f079 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs @@ -193,8 +193,8 @@ pub enum GetNotebookDetailError<'a> { NotebookNotFound(std::option::Option>), } -impl std::fmt::Display for GetNotebookDetailError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetNotebookDetailError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotebookNotFound(msg) => { write!(f, "NotebookNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs index 6b2e10b4..b2973dd5 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs @@ -148,8 +148,8 @@ pub enum GetPageError<'a> { PageNotFound(std::option::Option>), } -impl std::fmt::Display for GetPageError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetPageError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::PageNotFound(msg) => { write!(f, "PageNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs index 40a14630..3258a705 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs @@ -552,7 +552,122 @@ pub struct SuggestionReason<'a> { #[serde(borrow)] pub related_tags: std::option::Option>>, #[serde(borrow)] - pub r#type: jacquard_common::CowStr<'a>, + pub r#type: SuggestionReasonType<'a>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum SuggestionReasonType<'a> { + SimilarTags, + SimilarToLiked, + SimilarToRead, + FollowedAuthor, + PopularInTag, + Trending, + FromList, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> SuggestionReasonType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::SimilarTags => "similar-tags", + Self::SimilarToLiked => "similar-to-liked", + Self::SimilarToRead => "similar-to-read", + Self::FollowedAuthor => "followed-author", + Self::PopularInTag => "popular-in-tag", + Self::Trending => "trending", + Self::FromList => "from-list", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for SuggestionReasonType<'a> { + fn from(s: &'a str) -> Self { + match s { + "similar-tags" => Self::SimilarTags, + "similar-to-liked" => Self::SimilarToLiked, + "similar-to-read" => Self::SimilarToRead, + "followed-author" => Self::FollowedAuthor, + "popular-in-tag" => Self::PopularInTag, + "trending" => Self::Trending, + "from-list" => Self::FromList, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for SuggestionReasonType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "similar-tags" => Self::SimilarTags, + "similar-to-liked" => Self::SimilarToLiked, + "similar-to-read" => Self::SimilarToRead, + "followed-author" => Self::FollowedAuthor, + "popular-in-tag" => Self::PopularInTag, + "trending" => Self::Trending, + "from-list" => Self::FromList, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for SuggestionReasonType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for SuggestionReasonType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for SuggestionReasonType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for SuggestionReasonType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for SuggestionReasonType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for SuggestionReasonType<'_> { + type Output = SuggestionReasonType<'static>; + fn into_static(self) -> Self::Output { + match self { + SuggestionReasonType::SimilarTags => SuggestionReasonType::SimilarTags, + SuggestionReasonType::SimilarToLiked => SuggestionReasonType::SimilarToLiked, + SuggestionReasonType::SimilarToRead => SuggestionReasonType::SimilarToRead, + SuggestionReasonType::FollowedAuthor => SuggestionReasonType::FollowedAuthor, + SuggestionReasonType::PopularInTag => SuggestionReasonType::PopularInTag, + SuggestionReasonType::Trending => SuggestionReasonType::Trending, + SuggestionReasonType::FromList => SuggestionReasonType::FromList, + SuggestionReasonType::Other(v) => { + SuggestionReasonType::Other(v.into_static()) + } + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SuggestionReason<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs index 8a1693cb..afce7726 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs @@ -34,51 +34,51 @@ pub mod resolve_entry_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Notebook; type Actor; type Entry; + type Notebook; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Notebook = Unset; type Actor = Unset; type Entry = Unset; - } - ///State transition - sets the `notebook` field to Set - pub struct SetNotebook(PhantomData S>); - impl sealed::Sealed for SetNotebook {} - impl State for SetNotebook { - type Notebook = Set; - type Actor = S::Actor; - type Entry = S::Entry; + type Notebook = Unset; } ///State transition - sets the `actor` field to Set pub struct SetActor(PhantomData S>); impl sealed::Sealed for SetActor {} impl State for SetActor { - type Notebook = S::Notebook; type Actor = Set; type Entry = S::Entry; + type Notebook = S::Notebook; } ///State transition - sets the `entry` field to Set pub struct SetEntry(PhantomData S>); impl sealed::Sealed for SetEntry {} impl State for SetEntry { - type Notebook = S::Notebook; type Actor = S::Actor; type Entry = Set; + type Notebook = S::Notebook; + } + ///State transition - sets the `notebook` field to Set + pub struct SetNotebook(PhantomData S>); + impl sealed::Sealed for SetNotebook {} + impl State for SetNotebook { + type Actor = S::Actor; + type Entry = S::Entry; + type Notebook = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `notebook` field - pub struct notebook(()); ///Marker type for the `actor` field pub struct actor(()); ///Marker type for the `entry` field pub struct entry(()); + ///Marker type for the `notebook` field + pub struct notebook(()); } } @@ -171,9 +171,9 @@ where impl<'a, S> ResolveEntryBuilder<'a, S> where S: resolve_entry_state::State, - S::Notebook: resolve_entry_state::IsSet, S::Actor: resolve_entry_state::IsSet, S::Entry: resolve_entry_state::IsSet, + S::Notebook: resolve_entry_state::IsSet, { /// Build the final struct pub fn build(self) -> ResolveEntry<'a> { @@ -230,8 +230,8 @@ pub enum ResolveEntryError<'a> { EntryNotFound(std::option::Option>), } -impl std::fmt::Display for ResolveEntryError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveEntryError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotebookNotFound(msg) => { write!(f, "NotebookNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs index ec3f393a..baed0457 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs @@ -38,37 +38,37 @@ pub mod resolve_notebook_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Actor; type Name; + type Actor; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Actor = Unset; type Name = Unset; - } - ///State transition - sets the `actor` field to Set - pub struct SetActor(PhantomData S>); - impl sealed::Sealed for SetActor {} - impl State for SetActor { - type Actor = Set; - type Name = S::Name; + type Actor = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Actor = S::Actor; type Name = Set; + type Actor = S::Actor; + } + ///State transition - sets the `actor` field to Set + pub struct SetActor(PhantomData S>); + impl sealed::Sealed for SetActor {} + impl State for SetActor { + type Name = S::Name; + type Actor = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `actor` field - pub struct actor(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `actor` field + pub struct actor(()); } } @@ -175,8 +175,8 @@ where impl<'a, S> ResolveNotebookBuilder<'a, S> where S: resolve_notebook_state::State, - S::Actor: resolve_notebook_state::IsSet, S::Name: resolve_notebook_state::IsSet, + S::Actor: resolve_notebook_state::IsSet, { /// Build the final struct pub fn build(self) -> ResolveNotebook<'a> { @@ -229,8 +229,8 @@ pub enum ResolveNotebookError<'a> { NotebookNotFound(std::option::Option>), } -impl std::fmt::Display for ResolveNotebookError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveNotebookError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NotebookNotFound(msg) => { write!(f, "NotebookNotFound")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs b/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs index baf47417..5115a5af 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs @@ -157,8 +157,8 @@ pub enum ResolveVersionConflictError<'a> { NoRelatedVersions(std::option::Option>), } -impl std::fmt::Display for ResolveVersionConflictError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for ResolveVersionConflictError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::NoRelatedVersions(msg) => { write!(f, "NoRelatedVersions")?; diff --git a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs index ef1d493d..588b068f 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs @@ -36,49 +36,49 @@ pub mod code_theme_file_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Did; type Name; + type Did; type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Did = Unset; type Name = Unset; + type Did = Unset; type Content = Unset; } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { - type Did = Set; - type Name = S::Name; - type Content = S::Content; - } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Did = S::Did; type Name = Set; + type Did = S::Did; + type Content = S::Content; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Name = S::Name; + type Did = Set; type Content = S::Content; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Did = S::Did; type Name = S::Name; + type Did = S::Did; type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `did` field - pub struct did(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `content` field pub struct content(()); } @@ -173,8 +173,8 @@ where impl<'a, S> CodeThemeFileBuilder<'a, S> where S: code_theme_file_state::State, - S::Did: code_theme_file_state::IsSet, S::Name: code_theme_file_state::IsSet, + S::Did: code_theme_file_state::IsSet, S::Content: code_theme_file_state::IsSet, { /// Build the final struct @@ -837,49 +837,49 @@ pub mod font_file_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Content; + type Name; type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Content = Unset; + type Name = Unset; type Did = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Content = S::Content; - type Did = S::Did; - } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Name = S::Name; type Content = Set; + type Name = S::Name; + type Did = S::Did; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Content = S::Content; + type Name = Set; type Did = S::Did; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Name = S::Name; type Content = S::Content; + type Name = S::Name; type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `content` field pub struct content(()); + ///Marker type for the `name` field + pub struct name(()); ///Marker type for the `did` field pub struct did(()); } @@ -974,8 +974,8 @@ where impl<'a, S> FontFileBuilder<'a, S> where S: font_file_state::State, - S::Name: font_file_state::IsSet, S::Content: font_file_state::IsSet, + S::Name: font_file_state::IsSet, S::Did: font_file_state::IsSet, { /// Build the final struct @@ -1067,105 +1067,105 @@ pub mod theme_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type DarkScheme; - type Fonts; type LightCodeTheme; + type DarkScheme; type LightScheme; - type DarkCodeTheme; type Spacing; + type Fonts; + type DarkCodeTheme; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type DarkScheme = Unset; - type Fonts = Unset; type LightCodeTheme = Unset; + type DarkScheme = Unset; type LightScheme = Unset; - type DarkCodeTheme = Unset; type Spacing = Unset; + type Fonts = Unset; + type DarkCodeTheme = Unset; + } + ///State transition - sets the `light_code_theme` field to Set + pub struct SetLightCodeTheme(PhantomData S>); + impl sealed::Sealed for SetLightCodeTheme {} + impl State for SetLightCodeTheme { + type LightCodeTheme = Set; + type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Spacing = S::Spacing; + type Fonts = S::Fonts; + type DarkCodeTheme = S::DarkCodeTheme; } ///State transition - sets the `dark_scheme` field to Set pub struct SetDarkScheme(PhantomData S>); impl sealed::Sealed for SetDarkScheme {} impl State for SetDarkScheme { - type DarkScheme = Set; - type Fonts = S::Fonts; - type LightCodeTheme = S::LightCodeTheme; - type LightScheme = S::LightScheme; - type DarkCodeTheme = S::DarkCodeTheme; - type Spacing = S::Spacing; - } - ///State transition - sets the `fonts` field to Set - pub struct SetFonts(PhantomData S>); - impl sealed::Sealed for SetFonts {} - impl State for SetFonts { - type DarkScheme = S::DarkScheme; - type Fonts = Set; type LightCodeTheme = S::LightCodeTheme; + type DarkScheme = Set; type LightScheme = S::LightScheme; - type DarkCodeTheme = S::DarkCodeTheme; type Spacing = S::Spacing; - } - ///State transition - sets the `light_code_theme` field to Set - pub struct SetLightCodeTheme(PhantomData S>); - impl sealed::Sealed for SetLightCodeTheme {} - impl State for SetLightCodeTheme { - type DarkScheme = S::DarkScheme; type Fonts = S::Fonts; - type LightCodeTheme = Set; - type LightScheme = S::LightScheme; type DarkCodeTheme = S::DarkCodeTheme; - type Spacing = S::Spacing; } ///State transition - sets the `light_scheme` field to Set pub struct SetLightScheme(PhantomData S>); impl sealed::Sealed for SetLightScheme {} impl State for SetLightScheme { - type DarkScheme = S::DarkScheme; - type Fonts = S::Fonts; type LightCodeTheme = S::LightCodeTheme; + type DarkScheme = S::DarkScheme; type LightScheme = Set; - type DarkCodeTheme = S::DarkCodeTheme; type Spacing = S::Spacing; - } - ///State transition - sets the `dark_code_theme` field to Set - pub struct SetDarkCodeTheme(PhantomData S>); - impl sealed::Sealed for SetDarkCodeTheme {} - impl State for SetDarkCodeTheme { - type DarkScheme = S::DarkScheme; type Fonts = S::Fonts; - type LightCodeTheme = S::LightCodeTheme; - type LightScheme = S::LightScheme; - type DarkCodeTheme = Set; - type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; } ///State transition - sets the `spacing` field to Set pub struct SetSpacing(PhantomData S>); impl sealed::Sealed for SetSpacing {} impl State for SetSpacing { + type LightCodeTheme = S::LightCodeTheme; type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Spacing = Set; type Fonts = S::Fonts; + type DarkCodeTheme = S::DarkCodeTheme; + } + ///State transition - sets the `fonts` field to Set + pub struct SetFonts(PhantomData S>); + impl sealed::Sealed for SetFonts {} + impl State for SetFonts { type LightCodeTheme = S::LightCodeTheme; + type DarkScheme = S::DarkScheme; type LightScheme = S::LightScheme; + type Spacing = S::Spacing; + type Fonts = Set; type DarkCodeTheme = S::DarkCodeTheme; - type Spacing = Set; + } + ///State transition - sets the `dark_code_theme` field to Set + pub struct SetDarkCodeTheme(PhantomData S>); + impl sealed::Sealed for SetDarkCodeTheme {} + impl State for SetDarkCodeTheme { + type LightCodeTheme = S::LightCodeTheme; + type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Spacing = S::Spacing; + type Fonts = S::Fonts; + type DarkCodeTheme = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `dark_scheme` field - pub struct dark_scheme(()); - ///Marker type for the `fonts` field - pub struct fonts(()); ///Marker type for the `light_code_theme` field pub struct light_code_theme(()); + ///Marker type for the `dark_scheme` field + pub struct dark_scheme(()); ///Marker type for the `light_scheme` field pub struct light_scheme(()); - ///Marker type for the `dark_code_theme` field - pub struct dark_code_theme(()); ///Marker type for the `spacing` field pub struct spacing(()); + ///Marker type for the `fonts` field + pub struct fonts(()); + ///Marker type for the `dark_code_theme` field + pub struct dark_code_theme(()); } } @@ -1338,12 +1338,12 @@ where impl<'a, S> ThemeBuilder<'a, S> where S: theme_state::State, - S::DarkScheme: theme_state::IsSet, - S::Fonts: theme_state::IsSet, S::LightCodeTheme: theme_state::IsSet, + S::DarkScheme: theme_state::IsSet, S::LightScheme: theme_state::IsSet, - S::DarkCodeTheme: theme_state::IsSet, S::Spacing: theme_state::IsSet, + S::Fonts: theme_state::IsSet, + S::DarkCodeTheme: theme_state::IsSet, { /// Build the final struct pub fn build(self) -> Theme<'a> { @@ -1442,51 +1442,51 @@ pub mod theme_fonts_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Monospace; type Body; type Heading; + type Monospace; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Monospace = Unset; type Body = Unset; type Heading = Unset; - } - ///State transition - sets the `monospace` field to Set - pub struct SetMonospace(PhantomData S>); - impl sealed::Sealed for SetMonospace {} - impl State for SetMonospace { - type Monospace = Set; - type Body = S::Body; - type Heading = S::Heading; + type Monospace = Unset; } ///State transition - sets the `body` field to Set pub struct SetBody(PhantomData S>); impl sealed::Sealed for SetBody {} impl State for SetBody { - type Monospace = S::Monospace; type Body = Set; type Heading = S::Heading; + type Monospace = S::Monospace; } ///State transition - sets the `heading` field to Set pub struct SetHeading(PhantomData S>); impl sealed::Sealed for SetHeading {} impl State for SetHeading { - type Monospace = S::Monospace; type Body = S::Body; type Heading = Set; + type Monospace = S::Monospace; + } + ///State transition - sets the `monospace` field to Set + pub struct SetMonospace(PhantomData S>); + impl sealed::Sealed for SetMonospace {} + impl State for SetMonospace { + type Body = S::Body; + type Heading = S::Heading; + type Monospace = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `monospace` field - pub struct monospace(()); ///Marker type for the `body` field pub struct body(()); ///Marker type for the `heading` field pub struct heading(()); + ///Marker type for the `monospace` field + pub struct monospace(()); } } @@ -1579,9 +1579,9 @@ where impl<'a, S> ThemeFontsBuilder<'a, S> where S: theme_fonts_state::State, - S::Monospace: theme_fonts_state::IsSet, S::Body: theme_fonts_state::IsSet, S::Heading: theme_fonts_state::IsSet, + S::Monospace: theme_fonts_state::IsSet, { /// Build the final struct pub fn build(self) -> ThemeFonts<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs b/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs index bcd866d9..1fce387d 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs @@ -27,7 +27,7 @@ pub struct UpdateReadingProgress<'a> { pub percent_complete: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, } pub mod update_reading_progress_state { @@ -69,7 +69,7 @@ pub struct UpdateReadingProgressBuilder<'a, S: update_reading_progress_state::St ::core::option::Option>, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -153,13 +153,16 @@ impl<'a, S: update_reading_progress_state::State> UpdateReadingProgressBuilder<' /// Set the `status` field (optional) pub fn status( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.3 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status( + mut self, + value: Option>, + ) -> Self { self.__unsafe_private_named.3 = value; self } @@ -198,6 +201,112 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UpdateReadingProgressStatus<'a> { + Reading, + Finished, + Abandoned, + WantToRead, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UpdateReadingProgressStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Reading => "reading", + Self::Finished => "finished", + Self::Abandoned => "abandoned", + Self::WantToRead => "want-to-read", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UpdateReadingProgressStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "reading" => Self::Reading, + "finished" => Self::Finished, + "abandoned" => Self::Abandoned, + "want-to-read" => Self::WantToRead, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UpdateReadingProgressStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "reading" => Self::Reading, + "finished" => Self::Finished, + "abandoned" => Self::Abandoned, + "want-to-read" => Self::WantToRead, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UpdateReadingProgressStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UpdateReadingProgressStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UpdateReadingProgressStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UpdateReadingProgressStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UpdateReadingProgressStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UpdateReadingProgressStatus<'_> { + type Output = UpdateReadingProgressStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + UpdateReadingProgressStatus::Reading => UpdateReadingProgressStatus::Reading, + UpdateReadingProgressStatus::Finished => { + UpdateReadingProgressStatus::Finished + } + UpdateReadingProgressStatus::Abandoned => { + UpdateReadingProgressStatus::Abandoned + } + UpdateReadingProgressStatus::WantToRead => { + UpdateReadingProgressStatus::WantToRead + } + UpdateReadingProgressStatus::Other(v) => { + UpdateReadingProgressStatus::Other(v.into_static()) + } + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/sh_weaver/notification.rs b/crates/jacquard-api/src/sh_weaver/notification.rs index 1731abbc..e6fd8a43 100644 --- a/crates/jacquard-api/src/sh_weaver/notification.rs +++ b/crates/jacquard-api/src/sh_weaver/notification.rs @@ -52,105 +52,105 @@ pub mod notification_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Uri; type Author; + type Cid; type Reason; - type IsRead; - type Uri; type IndexedAt; - type Cid; + type IsRead; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Uri = Unset; type Author = Unset; + type Cid = Unset; type Reason = Unset; - type IsRead = Unset; - type Uri = Unset; type IndexedAt = Unset; - type Cid = Unset; + type IsRead = Unset; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Uri = Set; + type Author = S::Author; + type Cid = S::Cid; + type Reason = S::Reason; + type IndexedAt = S::IndexedAt; + type IsRead = S::IsRead; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { + type Uri = S::Uri; type Author = Set; + type Cid = S::Cid; type Reason = S::Reason; + type IndexedAt = S::IndexedAt; type IsRead = S::IsRead; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { type Uri = S::Uri; + type Author = S::Author; + type Cid = Set; + type Reason = S::Reason; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type IsRead = S::IsRead; } ///State transition - sets the `reason` field to Set pub struct SetReason(PhantomData S>); impl sealed::Sealed for SetReason {} impl State for SetReason { - type Author = S::Author; - type Reason = Set; - type IsRead = S::IsRead; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - } - ///State transition - sets the `is_read` field to Set - pub struct SetIsRead(PhantomData S>); - impl sealed::Sealed for SetIsRead {} - impl State for SetIsRead { type Author = S::Author; - type Reason = S::Reason; - type IsRead = Set; - type Uri = S::Uri; - type IndexedAt = S::IndexedAt; type Cid = S::Cid; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Author = S::Author; - type Reason = S::Reason; - type IsRead = S::IsRead; - type Uri = Set; + type Reason = Set; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + type IsRead = S::IsRead; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { + type Uri = S::Uri; type Author = S::Author; + type Cid = S::Cid; type Reason = S::Reason; - type IsRead = S::IsRead; - type Uri = S::Uri; type IndexedAt = Set; - type Cid = S::Cid; + type IsRead = S::IsRead; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + ///State transition - sets the `is_read` field to Set + pub struct SetIsRead(PhantomData S>); + impl sealed::Sealed for SetIsRead {} + impl State for SetIsRead { + type Uri = S::Uri; type Author = S::Author; + type Cid = S::Cid; type Reason = S::Reason; - type IsRead = S::IsRead; - type Uri = S::Uri; type IndexedAt = S::IndexedAt; - type Cid = Set; + type IsRead = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `uri` field + pub struct uri(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `reason` field pub struct reason(()); - ///Marker type for the `is_read` field - pub struct is_read(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `cid` field - pub struct cid(()); + ///Marker type for the `is_read` field + pub struct is_read(()); } } @@ -343,12 +343,12 @@ where impl<'a, S> NotificationBuilder<'a, S> where S: notification_state::State, + S::Uri: notification_state::IsSet, S::Author: notification_state::IsSet, + S::Cid: notification_state::IsSet, S::Reason: notification_state::IsSet, - S::IsRead: notification_state::IsSet, - S::Uri: notification_state::IsSet, S::IndexedAt: notification_state::IsSet, - S::Cid: notification_state::IsSet, + S::IsRead: notification_state::IsSet, { /// Build the final struct pub fn build(self) -> Notification<'a> { @@ -801,83 +801,83 @@ pub mod notification_group_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; - type Reason; - type Actors; type Count; + type Actors; + type Reason; + type Subject; type MostRecentAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; - type Reason = Unset; - type Actors = Unset; type Count = Unset; + type Actors = Unset; + type Reason = Unset; + type Subject = Unset; type MostRecentAt = Unset; } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type Reason = S::Reason; + ///State transition - sets the `count` field to Set + pub struct SetCount(PhantomData S>); + impl sealed::Sealed for SetCount {} + impl State for SetCount { + type Count = Set; type Actors = S::Actors; - type Count = S::Count; - type MostRecentAt = S::MostRecentAt; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { + type Reason = S::Reason; type Subject = S::Subject; - type Reason = Set; - type Actors = S::Actors; - type Count = S::Count; type MostRecentAt = S::MostRecentAt; } ///State transition - sets the `actors` field to Set pub struct SetActors(PhantomData S>); impl sealed::Sealed for SetActors {} impl State for SetActors { - type Subject = S::Subject; - type Reason = S::Reason; - type Actors = Set; type Count = S::Count; + type Actors = Set; + type Reason = S::Reason; + type Subject = S::Subject; type MostRecentAt = S::MostRecentAt; } - ///State transition - sets the `count` field to Set - pub struct SetCount(PhantomData S>); - impl sealed::Sealed for SetCount {} - impl State for SetCount { + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Count = S::Count; + type Actors = S::Actors; + type Reason = Set; type Subject = S::Subject; - type Reason = S::Reason; + type MostRecentAt = S::MostRecentAt; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type Count = S::Count; type Actors = S::Actors; - type Count = Set; + type Reason = S::Reason; + type Subject = Set; type MostRecentAt = S::MostRecentAt; } ///State transition - sets the `most_recent_at` field to Set pub struct SetMostRecentAt(PhantomData S>); impl sealed::Sealed for SetMostRecentAt {} impl State for SetMostRecentAt { - type Subject = S::Subject; - type Reason = S::Reason; - type Actors = S::Actors; type Count = S::Count; + type Actors = S::Actors; + type Reason = S::Reason; + type Subject = S::Subject; type MostRecentAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); - ///Marker type for the `reason` field - pub struct reason(()); - ///Marker type for the `actors` field - pub struct actors(()); ///Marker type for the `count` field pub struct count(()); + ///Marker type for the `actors` field + pub struct actors(()); + ///Marker type for the `reason` field + pub struct reason(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `most_recent_at` field pub struct most_recent_at(()); } @@ -1026,10 +1026,10 @@ where impl<'a, S> NotificationGroupBuilder<'a, S> where S: notification_group_state::State, - S::Subject: notification_group_state::IsSet, - S::Reason: notification_group_state::IsSet, - S::Actors: notification_group_state::IsSet, S::Count: notification_group_state::IsSet, + S::Actors: notification_group_state::IsSet, + S::Reason: notification_group_state::IsSet, + S::Subject: notification_group_state::IsSet, S::MostRecentAt: notification_group_state::IsSet, { /// Build the final struct @@ -1201,6 +1201,12 @@ impl<'a> AsRef for NotificationReason<'a> { } } +impl<'a> core::fmt::Display for NotificationReason<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for NotificationReason<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1286,51 +1292,51 @@ pub mod subscription_update_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type NewEntries; type UpdatedAt; type Notebook; + type NewEntries; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type NewEntries = Unset; type UpdatedAt = Unset; type Notebook = Unset; - } - ///State transition - sets the `new_entries` field to Set - pub struct SetNewEntries(PhantomData S>); - impl sealed::Sealed for SetNewEntries {} - impl State for SetNewEntries { - type NewEntries = Set; - type UpdatedAt = S::UpdatedAt; - type Notebook = S::Notebook; + type NewEntries = Unset; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type NewEntries = S::NewEntries; type UpdatedAt = Set; type Notebook = S::Notebook; + type NewEntries = S::NewEntries; } ///State transition - sets the `notebook` field to Set pub struct SetNotebook(PhantomData S>); impl sealed::Sealed for SetNotebook {} impl State for SetNotebook { - type NewEntries = S::NewEntries; type UpdatedAt = S::UpdatedAt; type Notebook = Set; + type NewEntries = S::NewEntries; + } + ///State transition - sets the `new_entries` field to Set + pub struct SetNewEntries(PhantomData S>); + impl sealed::Sealed for SetNewEntries {} + impl State for SetNewEntries { + type UpdatedAt = S::UpdatedAt; + type Notebook = S::Notebook; + type NewEntries = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `new_entries` field - pub struct new_entries(()); ///Marker type for the `updated_at` field pub struct updated_at(()); ///Marker type for the `notebook` field pub struct notebook(()); + ///Marker type for the `new_entries` field + pub struct new_entries(()); } } @@ -1455,9 +1461,9 @@ impl<'a, S: subscription_update_view_state::State> SubscriptionUpdateViewBuilder impl<'a, S> SubscriptionUpdateViewBuilder<'a, S> where S: subscription_update_view_state::State, - S::NewEntries: subscription_update_view_state::IsSet, S::UpdatedAt: subscription_update_view_state::IsSet, S::Notebook: subscription_update_view_state::IsSet, + S::NewEntries: subscription_update_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SubscriptionUpdateView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/publish/blob.rs b/crates/jacquard-api/src/sh_weaver/publish/blob.rs index 51c6b5e7..b122ec28 100644 --- a/crates/jacquard-api/src/sh_weaver/publish/blob.rs +++ b/crates/jacquard-api/src/sh_weaver/publish/blob.rs @@ -36,37 +36,37 @@ pub mod blob_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Upload; type Path; + type Upload; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Upload = Unset; type Path = Unset; - } - ///State transition - sets the `upload` field to Set - pub struct SetUpload(PhantomData S>); - impl sealed::Sealed for SetUpload {} - impl State for SetUpload { - type Upload = Set; - type Path = S::Path; + type Upload = Unset; } ///State transition - sets the `path` field to Set pub struct SetPath(PhantomData S>); impl sealed::Sealed for SetPath {} impl State for SetPath { - type Upload = S::Upload; type Path = Set; + type Upload = S::Upload; + } + ///State transition - sets the `upload` field to Set + pub struct SetUpload(PhantomData S>); + impl sealed::Sealed for SetUpload {} + impl State for SetUpload { + type Path = S::Path; + type Upload = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `upload` field - pub struct upload(()); ///Marker type for the `path` field pub struct path(()); + ///Marker type for the `upload` field + pub struct upload(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> BlobBuilder<'a, S> where S: blob_state::State, - S::Upload: blob_state::IsSet, S::Path: blob_state::IsSet, + S::Upload: blob_state::IsSet, { /// Build the final struct pub fn build(self) -> Blob<'a> { diff --git a/crates/jacquard-api/src/site_standard/document.rs b/crates/jacquard-api/src/site_standard/document.rs index fee4a046..911c93f8 100644 --- a/crates/jacquard-api/src/site_standard/document.rs +++ b/crates/jacquard-api/src/site_standard/document.rs @@ -62,50 +62,50 @@ pub mod document_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Site; - type Title; type PublishedAt; + type Title; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Site = Unset; - type Title = Unset; type PublishedAt = Unset; + type Title = Unset; } ///State transition - sets the `site` field to Set pub struct SetSite(PhantomData S>); impl sealed::Sealed for SetSite {} impl State for SetSite { type Site = Set; - type Title = S::Title; - type PublishedAt = S::PublishedAt; - } - ///State transition - sets the `title` field to Set - pub struct SetTitle(PhantomData S>); - impl sealed::Sealed for SetTitle {} - impl State for SetTitle { - type Site = S::Site; - type Title = Set; type PublishedAt = S::PublishedAt; + type Title = S::Title; } ///State transition - sets the `published_at` field to Set pub struct SetPublishedAt(PhantomData S>); impl sealed::Sealed for SetPublishedAt {} impl State for SetPublishedAt { type Site = S::Site; - type Title = S::Title; type PublishedAt = Set; + type Title = S::Title; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Site = S::Site; + type PublishedAt = S::PublishedAt; + type Title = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `site` field pub struct site(()); - ///Marker type for the `title` field - pub struct title(()); ///Marker type for the `published_at` field pub struct published_at(()); + ///Marker type for the `title` field + pub struct title(()); } } @@ -368,8 +368,8 @@ impl<'a, S> DocumentBuilder<'a, S> where S: document_state::State, S::Site: document_state::IsSet, - S::Title: document_state::IsSet, S::PublishedAt: document_state::IsSet, + S::Title: document_state::IsSet, { /// Build the final struct pub fn build(self) -> Document<'a> { diff --git a/crates/jacquard-api/src/site_standard/publication.rs b/crates/jacquard-api/src/site_standard/publication.rs index e0910580..a0d2be8b 100644 --- a/crates/jacquard-api/src/site_standard/publication.rs +++ b/crates/jacquard-api/src/site_standard/publication.rs @@ -47,37 +47,37 @@ pub mod publication_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; type Name; + type Url; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; type Name = Unset; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; - type Name = S::Name; + type Url = Unset; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { - type Url = S::Url; type Name = Set; + type Url = S::Url; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Name = S::Name; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `url` field + pub struct url(()); } } @@ -230,8 +230,8 @@ where impl<'a, S> PublicationBuilder<'a, S> where S: publication_state::State, - S::Url: publication_state::IsSet, S::Name: publication_state::IsSet, + S::Url: publication_state::IsSet, { /// Build the final struct pub fn build(self) -> Publication<'a> { diff --git a/crates/jacquard-api/src/site_standard/theme/basic.rs b/crates/jacquard-api/src/site_standard/theme/basic.rs index ca6d77d7..8426cfa1 100644 --- a/crates/jacquard-api/src/site_standard/theme/basic.rs +++ b/crates/jacquard-api/src/site_standard/theme/basic.rs @@ -37,67 +37,67 @@ pub mod basic_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Background; type Foreground; type Accent; type AccentForeground; + type Background; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Background = Unset; type Foreground = Unset; type Accent = Unset; type AccentForeground = Unset; - } - ///State transition - sets the `background` field to Set - pub struct SetBackground(PhantomData S>); - impl sealed::Sealed for SetBackground {} - impl State for SetBackground { - type Background = Set; - type Foreground = S::Foreground; - type Accent = S::Accent; - type AccentForeground = S::AccentForeground; + type Background = Unset; } ///State transition - sets the `foreground` field to Set pub struct SetForeground(PhantomData S>); impl sealed::Sealed for SetForeground {} impl State for SetForeground { - type Background = S::Background; type Foreground = Set; type Accent = S::Accent; type AccentForeground = S::AccentForeground; + type Background = S::Background; } ///State transition - sets the `accent` field to Set pub struct SetAccent(PhantomData S>); impl sealed::Sealed for SetAccent {} impl State for SetAccent { - type Background = S::Background; type Foreground = S::Foreground; type Accent = Set; type AccentForeground = S::AccentForeground; + type Background = S::Background; } ///State transition - sets the `accent_foreground` field to Set pub struct SetAccentForeground(PhantomData S>); impl sealed::Sealed for SetAccentForeground {} impl State for SetAccentForeground { - type Background = S::Background; type Foreground = S::Foreground; type Accent = S::Accent; type AccentForeground = Set; + type Background = S::Background; + } + ///State transition - sets the `background` field to Set + pub struct SetBackground(PhantomData S>); + impl sealed::Sealed for SetBackground {} + impl State for SetBackground { + type Foreground = S::Foreground; + type Accent = S::Accent; + type AccentForeground = S::AccentForeground; + type Background = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `background` field - pub struct background(()); ///Marker type for the `foreground` field pub struct foreground(()); ///Marker type for the `accent` field pub struct accent(()); ///Marker type for the `accent_foreground` field pub struct accent_foreground(()); + ///Marker type for the `background` field + pub struct background(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> BasicBuilder<'a, S> where S: basic_state::State, - S::Background: basic_state::IsSet, S::Foreground: basic_state::IsSet, S::Accent: basic_state::IsSet, S::AccentForeground: basic_state::IsSet, + S::Background: basic_state::IsSet, { /// Build the final struct pub fn build(self) -> Basic<'a> { diff --git a/crates/jacquard-api/src/site_standard/theme/color.rs b/crates/jacquard-api/src/site_standard/theme/color.rs index beef0cfd..b8ea3771 100644 --- a/crates/jacquard-api/src/site_standard/theme/color.rs +++ b/crates/jacquard-api/src/site_standard/theme/color.rs @@ -32,51 +32,51 @@ pub mod rgb_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type G; type R; type B; + type G; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type G = Unset; type R = Unset; type B = Unset; - } - ///State transition - sets the `g` field to Set - pub struct SetG(PhantomData S>); - impl sealed::Sealed for SetG {} - impl State for SetG { - type G = Set; - type R = S::R; - type B = S::B; + type G = Unset; } ///State transition - sets the `r` field to Set pub struct SetR(PhantomData S>); impl sealed::Sealed for SetR {} impl State for SetR { - type G = S::G; type R = Set; type B = S::B; + type G = S::G; } ///State transition - sets the `b` field to Set pub struct SetB(PhantomData S>); impl sealed::Sealed for SetB {} impl State for SetB { - type G = S::G; type R = S::R; type B = Set; + type G = S::G; + } + ///State transition - sets the `g` field to Set + pub struct SetG(PhantomData S>); + impl sealed::Sealed for SetG {} + impl State for SetG { + type R = S::R; + type B = S::B; + type G = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `g` field - pub struct g(()); ///Marker type for the `r` field pub struct r(()); ///Marker type for the `b` field pub struct b(()); + ///Marker type for the `g` field + pub struct g(()); } } @@ -160,9 +160,9 @@ where impl<'a, S> RgbBuilder<'a, S> where S: rgb_state::State, - S::G: rgb_state::IsSet, S::R: rgb_state::IsSet, S::B: rgb_state::IsSet, + S::G: rgb_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgb<'a> { @@ -440,8 +440,8 @@ pub mod rgba_state { pub trait State: sealed::Sealed { type A; type R; - type B; type G; + type B; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -449,8 +449,8 @@ pub mod rgba_state { impl State for Empty { type A = Unset; type R = Unset; - type B = Unset; type G = Unset; + type B = Unset; } ///State transition - sets the `a` field to Set pub struct SetA(PhantomData S>); @@ -458,8 +458,8 @@ pub mod rgba_state { impl State for SetA { type A = Set; type R = S::R; - type B = S::B; type G = S::G; + type B = S::B; } ///State transition - sets the `r` field to Set pub struct SetR(PhantomData S>); @@ -467,17 +467,8 @@ pub mod rgba_state { impl State for SetR { type A = S::A; type R = Set; - type B = S::B; - type G = S::G; - } - ///State transition - sets the `b` field to Set - pub struct SetB(PhantomData S>); - impl sealed::Sealed for SetB {} - impl State for SetB { - type A = S::A; - type R = S::R; - type B = Set; type G = S::G; + type B = S::B; } ///State transition - sets the `g` field to Set pub struct SetG(PhantomData S>); @@ -485,8 +476,17 @@ pub mod rgba_state { impl State for SetG { type A = S::A; type R = S::R; - type B = S::B; type G = Set; + type B = S::B; + } + ///State transition - sets the `b` field to Set + pub struct SetB(PhantomData S>); + impl sealed::Sealed for SetB {} + impl State for SetB { + type A = S::A; + type R = S::R; + type G = S::G; + type B = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -495,10 +495,10 @@ pub mod rgba_state { pub struct a(()); ///Marker type for the `r` field pub struct r(()); - ///Marker type for the `b` field - pub struct b(()); ///Marker type for the `g` field pub struct g(()); + ///Marker type for the `b` field + pub struct b(()); } } @@ -601,8 +601,8 @@ where S: rgba_state::State, S::A: rgba_state::IsSet, S::R: rgba_state::IsSet, - S::B: rgba_state::IsSet, S::G: rgba_state::IsSet, + S::B: rgba_state::IsSet, { /// Build the final struct pub fn build(self) -> Rgba<'a> { diff --git a/crates/jacquard-api/src/social_clippr/actor.rs b/crates/jacquard-api/src/social_clippr/actor.rs index 8324b0cf..80b0e31c 100644 --- a/crates/jacquard-api/src/social_clippr/actor.rs +++ b/crates/jacquard-api/src/social_clippr/actor.rs @@ -77,51 +77,51 @@ pub mod profile_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Did; type Handle; type DisplayName; - type Did; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Did = Unset; type Handle = Unset; type DisplayName = Unset; - type Did = Unset; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Did = Set; + type Handle = S::Handle; + type DisplayName = S::DisplayName; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { + type Did = S::Did; type Handle = Set; type DisplayName = S::DisplayName; - type Did = S::Did; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Handle = S::Handle; - type DisplayName = Set; type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { type Handle = S::Handle; - type DisplayName = S::DisplayName; - type Did = Set; + type DisplayName = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `did` field + pub struct did(()); ///Marker type for the `handle` field pub struct handle(()); ///Marker type for the `display_name` field pub struct display_name(()); - ///Marker type for the `did` field - pub struct did(()); } } @@ -274,9 +274,9 @@ where impl<'a, S> ProfileViewBuilder<'a, S> where S: profile_view_state::State, + S::Did: profile_view_state::IsSet, S::Handle: profile_view_state::IsSet, S::DisplayName: profile_view_state::IsSet, - S::Did: profile_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ProfileView<'a> { @@ -628,7 +628,102 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ProfileView<'a> { pub struct PublishingScopesPref<'a> { /// What publishing scope to mark a clip as by default #[serde(borrow)] - pub default_scope: jacquard_common::CowStr<'a>, + pub default_scope: PublishingScopesPrefDefaultScope<'a>, +} + +/// What publishing scope to mark a clip as by default +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum PublishingScopesPrefDefaultScope<'a> { + Public, + Unlisted, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> PublishingScopesPrefDefaultScope<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Public => "public", + Self::Unlisted => "unlisted", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for PublishingScopesPrefDefaultScope<'a> { + fn from(s: &'a str) -> Self { + match s { + "public" => Self::Public, + "unlisted" => Self::Unlisted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for PublishingScopesPrefDefaultScope<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "public" => Self::Public, + "unlisted" => Self::Unlisted, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for PublishingScopesPrefDefaultScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for PublishingScopesPrefDefaultScope<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for PublishingScopesPrefDefaultScope<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for PublishingScopesPrefDefaultScope<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for PublishingScopesPrefDefaultScope<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for PublishingScopesPrefDefaultScope<'_> { + type Output = PublishingScopesPrefDefaultScope<'static>; + fn into_static(self) -> Self::Output { + match self { + PublishingScopesPrefDefaultScope::Public => { + PublishingScopesPrefDefaultScope::Public + } + PublishingScopesPrefDefaultScope::Unlisted => { + PublishingScopesPrefDefaultScope::Unlisted + } + PublishingScopesPrefDefaultScope::Other(v) => { + PublishingScopesPrefDefaultScope::Other(v.into_static()) + } + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PublishingScopesPref<'a> { diff --git a/crates/jacquard-api/src/social_clippr/feed.rs b/crates/jacquard-api/src/social_clippr/feed.rs index 062d042c..4ef59fb5 100644 --- a/crates/jacquard-api/src/social_clippr/feed.rs +++ b/crates/jacquard-api/src/social_clippr/feed.rs @@ -53,84 +53,84 @@ pub mod clip_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Cid; - type IndexedAt; - type Record; type Uri; type Author; + type Record; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Cid = Unset; - type IndexedAt = Unset; - type Record = Unset; type Uri = Unset; type Author = Unset; + type Record = Unset; + type IndexedAt = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { type Cid = Set; - type IndexedAt = S::IndexedAt; - type Record = S::Record; type Uri = S::Uri; type Author = S::Author; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Cid = S::Cid; - type IndexedAt = Set; type Record = S::Record; - type Uri = S::Uri; - type Author = S::Author; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Record = Set; - type Uri = S::Uri; - type Author = S::Author; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = S::Record; type Uri = Set; type Author = S::Author; + type Record = S::Record; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `author` field to Set pub struct SetAuthor(PhantomData S>); impl sealed::Sealed for SetAuthor {} impl State for SetAuthor { type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Record = S::Record; type Uri = S::Uri; type Author = Set; + type Record = S::Record; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Cid = S::Cid; + type Uri = S::Uri; + type Author = S::Author; + type Record = Set; + type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Cid = S::Cid; + type Uri = S::Uri; + type Author = S::Author; + type Record = S::Record; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `record` field - pub struct record(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `author` field pub struct author(()); + ///Marker type for the `record` field + pub struct record(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -264,10 +264,10 @@ impl<'a, S> ClipViewBuilder<'a, S> where S: clip_view_state::State, S::Cid: clip_view_state::IsSet, - S::IndexedAt: clip_view_state::IsSet, - S::Record: clip_view_state::IsSet, S::Uri: clip_view_state::IsSet, S::Author: clip_view_state::IsSet, + S::Record: clip_view_state::IsSet, + S::IndexedAt: clip_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ClipView<'a> { @@ -574,85 +574,85 @@ pub mod tag_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Author; type Uri; - type Record; - type Cid; type IndexedAt; - type Author; + type Cid; + type Record; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Author = Unset; type Uri = Unset; - type Record = Unset; - type Cid = Unset; type IndexedAt = Unset; - type Author = Unset; + type Cid = Unset; + type Record = Unset; + } + ///State transition - sets the `author` field to Set + pub struct SetAuthor(PhantomData S>); + impl sealed::Sealed for SetAuthor {} + impl State for SetAuthor { + type Author = Set; + type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + type Cid = S::Cid; + type Record = S::Record; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Author = S::Author; type Uri = Set; - type Record = S::Record; - type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Author = S::Author; + type Cid = S::Cid; + type Record = S::Record; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Author = S::Author; type Uri = S::Uri; - type Record = Set; + type IndexedAt = Set; type Cid = S::Cid; - type IndexedAt = S::IndexedAt; - type Author = S::Author; + type Record = S::Record; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Uri = S::Uri; - type Record = S::Record; - type Cid = Set; - type IndexedAt = S::IndexedAt; type Author = S::Author; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { type Uri = S::Uri; + type IndexedAt = S::IndexedAt; + type Cid = Set; type Record = S::Record; - type Cid = S::Cid; - type IndexedAt = Set; - type Author = S::Author; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Author = S::Author; type Uri = S::Uri; - type Record = S::Record; - type Cid = S::Cid; type IndexedAt = S::IndexedAt; - type Author = Set; + type Cid = S::Cid; + type Record = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `author` field + pub struct author(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `record` field - pub struct record(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); - ///Marker type for the `author` field - pub struct author(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `record` field + pub struct record(()); } } @@ -785,11 +785,11 @@ where impl<'a, S> TagViewBuilder<'a, S> where S: tag_view_state::State, + S::Author: tag_view_state::IsSet, S::Uri: tag_view_state::IsSet, - S::Record: tag_view_state::IsSet, - S::Cid: tag_view_state::IsSet, S::IndexedAt: tag_view_state::IsSet, - S::Author: tag_view_state::IsSet, + S::Cid: tag_view_state::IsSet, + S::Record: tag_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TagView<'a> { diff --git a/crates/jacquard-api/src/social_clippr/feed/clip.rs b/crates/jacquard-api/src/social_clippr/feed/clip.rs index c7acde5a..c91e58a9 100644 --- a/crates/jacquard-api/src/social_clippr/feed/clip.rs +++ b/crates/jacquard-api/src/social_clippr/feed/clip.rs @@ -60,84 +60,84 @@ pub mod clip_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedAt; - type Description; + type Unlisted; type Title; type Url; - type Unlisted; + type Description; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedAt = Unset; - type Description = Unset; + type Unlisted = Unset; type Title = Unset; type Url = Unset; - type Unlisted = Unset; + type Description = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type CreatedAt = Set; - type Description = S::Description; + type Unlisted = S::Unlisted; type Title = S::Title; type Url = S::Url; - type Unlisted = S::Unlisted; + type Description = S::Description; } - ///State transition - sets the `description` field to Set - pub struct SetDescription(PhantomData S>); - impl sealed::Sealed for SetDescription {} - impl State for SetDescription { + ///State transition - sets the `unlisted` field to Set + pub struct SetUnlisted(PhantomData S>); + impl sealed::Sealed for SetUnlisted {} + impl State for SetUnlisted { type CreatedAt = S::CreatedAt; - type Description = Set; + type Unlisted = Set; type Title = S::Title; type Url = S::Url; - type Unlisted = S::Unlisted; + type Description = S::Description; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { type CreatedAt = S::CreatedAt; - type Description = S::Description; + type Unlisted = S::Unlisted; type Title = Set; type Url = S::Url; - type Unlisted = S::Unlisted; + type Description = S::Description; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { type CreatedAt = S::CreatedAt; - type Description = S::Description; + type Unlisted = S::Unlisted; type Title = S::Title; type Url = Set; - type Unlisted = S::Unlisted; + type Description = S::Description; } - ///State transition - sets the `unlisted` field to Set - pub struct SetUnlisted(PhantomData S>); - impl sealed::Sealed for SetUnlisted {} - impl State for SetUnlisted { + ///State transition - sets the `description` field to Set + pub struct SetDescription(PhantomData S>); + impl sealed::Sealed for SetDescription {} + impl State for SetDescription { type CreatedAt = S::CreatedAt; - type Description = S::Description; + type Unlisted = S::Unlisted; type Title = S::Title; type Url = S::Url; - type Unlisted = Set; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `description` field - pub struct description(()); + ///Marker type for the `unlisted` field + pub struct unlisted(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `unlisted` field - pub struct unlisted(()); + ///Marker type for the `description` field + pub struct description(()); } } @@ -354,10 +354,10 @@ impl<'a, S> ClipBuilder<'a, S> where S: clip_state::State, S::CreatedAt: clip_state::IsSet, - S::Description: clip_state::IsSet, + S::Unlisted: clip_state::IsSet, S::Title: clip_state::IsSet, S::Url: clip_state::IsSet, - S::Unlisted: clip_state::IsSet, + S::Description: clip_state::IsSet, { /// Build the final struct pub fn build(self) -> Clip<'a> { diff --git a/crates/jacquard-api/src/social_clippr/feed/tag.rs b/crates/jacquard-api/src/social_clippr/feed/tag.rs index de184c11..ff9c59a0 100644 --- a/crates/jacquard-api/src/social_clippr/feed/tag.rs +++ b/crates/jacquard-api/src/social_clippr/feed/tag.rs @@ -43,37 +43,37 @@ pub mod tag_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type CreatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type CreatedAt = S::CreatedAt; + type Name = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Name = S::Name; type CreatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type CreatedAt = S::CreatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -183,8 +183,8 @@ where impl<'a, S> TagBuilder<'a, S> where S: tag_state::State, - S::Name: tag_state::IsSet, S::CreatedAt: tag_state::IsSet, + S::Name: tag_state::IsSet, { /// Build the final struct pub fn build(self) -> Tag<'a> { diff --git a/crates/jacquard-api/src/social_flockfeeds.rs b/crates/jacquard-api/src/social_flockfeeds.rs new file mode 100644 index 00000000..72ed742c --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod lexical; \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical.rs b/crates/jacquard-api/src/social_flockfeeds/lexical.rs new file mode 100644 index 00000000..c73d5831 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod r#type; \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs new file mode 100644 index 00000000..87e91f8f --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs @@ -0,0 +1,30 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod api_reference; +pub mod article; +pub mod book; +pub mod brand; +pub mod episode; +pub mod event; +pub mod hotel; +pub mod image_object; +pub mod local_business; +pub mod movie; +pub mod music_event; +pub mod music_group; +pub mod news_article; +pub mod offer; +pub mod organization; +pub mod person; +pub mod podcast_series; +pub mod product; +pub mod recipe; +pub mod social_media_posting; +pub mod store; +pub mod tv_episode; +pub mod tv_season; +pub mod tv_series; +pub mod web_site; \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs new file mode 100644 index 00000000..ca0a634a --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs @@ -0,0 +1,11710 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.APIReference +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Reference documentation for application programming interfaces (APIs). +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assembly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assembly_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dependencies: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub executable_library_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub proficiency_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub programming_model: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub target_platform: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssembly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssemblyVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDependencies<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExecutableLibraryName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProficiencyLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProgrammingModel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTargetPlatform<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.APIReference", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Reference documentation for application programming interfaces (APIs).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assembly"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assemblyVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dependencies", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dependenciesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dependenciesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "executableLibraryName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#executableLibraryNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#executableLibraryNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "proficiencyLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#proficiencyLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#proficiencyLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "programmingModel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#programmingModelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#programmingModelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "targetPlatform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#targetPlatformScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#targetPlatformList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Reference documentation for application programming interfaces (APIs).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assembly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assemblyVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assemblyVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dependencies", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dependenciesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#dependenciesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "executableLibraryName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#executableLibraryNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#executableLibraryNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "proficiencyLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#proficiencyLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#proficiencyLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "programmingModel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#programmingModelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#programmingModelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "targetPlatform", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#targetPlatformScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#targetPlatformList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.aPIReference#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.APIReference" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_APIReference() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ApiReference<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option< + ApiReferenceAccessModeSufficient<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assembly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assembly_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option< + ApiReferenceContentReferenceTime<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dependencies: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + ApiReferenceDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub executable_library_name: std::option::Option< + ApiReferenceExecutableLibraryName<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option< + ApiReferenceLearningResourceType<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub proficiency_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub programming_model: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub target_platform: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod api_reference_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 ApiReferenceBuilder<'a, S: api_reference_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ApiReference<'a> { + /// Create a new builder for this type + pub fn new() -> ApiReferenceBuilder<'a, api_reference_state::Empty> { + ApiReferenceBuilder::new() + } +} + +impl<'a> ApiReferenceBuilder<'a, api_reference_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ApiReferenceBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `articleBody` field (optional) + pub fn article_body( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `articleBody` field to an Option value (optional) + pub fn maybe_article_body( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `articleSection` field (optional) + pub fn article_section( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `articleSection` field to an Option value (optional) + pub fn maybe_article_section( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `assembly` field (optional) + pub fn assembly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `assembly` field to an Option value (optional) + pub fn maybe_assembly(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `assemblyVersion` field (optional) + pub fn assembly_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `assemblyVersion` field to an Option value (optional) + pub fn maybe_assembly_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `backstory` field (optional) + pub fn backstory( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `backstory` field to an Option value (optional) + pub fn maybe_backstory(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `dependencies` field (optional) + pub fn dependencies( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `dependencies` field to an Option value (optional) + pub fn maybe_dependencies( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `executableLibraryName` field (optional) + pub fn executable_library_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `executableLibraryName` field to an Option value (optional) + pub fn maybe_executable_library_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `pageEnd` field (optional) + pub fn page_end( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `pageEnd` field to an Option value (optional) + pub fn maybe_page_end(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `pageStart` field (optional) + pub fn page_start( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `pageStart` field to an Option value (optional) + pub fn maybe_page_start(mut self, value: Option>) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `pagination` field (optional) + pub fn pagination( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `pagination` field to an Option value (optional) + pub fn maybe_pagination( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `proficiencyLevel` field (optional) + pub fn proficiency_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `proficiencyLevel` field to an Option value (optional) + pub fn maybe_proficiency_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `programmingModel` field (optional) + pub fn programming_model( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `programmingModel` field to an Option value (optional) + pub fn maybe_programming_model( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `speakable` field (optional) + pub fn speakable( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `speakable` field to an Option value (optional) + pub fn maybe_speakable(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `targetPlatform` field (optional) + pub fn target_platform( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `targetPlatform` field to an Option value (optional) + pub fn maybe_target_platform( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.137 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.137 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.138 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.138 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.139 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.139 = value; + self + } +} + +impl<'a, S: api_reference_state::State> ApiReferenceBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.140 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.140 = value; + self + } +} + +impl<'a, S> ApiReferenceBuilder<'a, S> +where + S: api_reference_state::State, +{ + /// Build the final struct + pub fn build(self) -> ApiReference<'a> { + ApiReference { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + article_body: self.__unsafe_private_named.16, + article_section: self.__unsafe_private_named.17, + assembly: self.__unsafe_private_named.18, + assembly_version: self.__unsafe_private_named.19, + assesses: self.__unsafe_private_named.20, + associated_media: self.__unsafe_private_named.21, + audience: self.__unsafe_private_named.22, + audio: self.__unsafe_private_named.23, + author: self.__unsafe_private_named.24, + award: self.__unsafe_private_named.25, + awards: self.__unsafe_private_named.26, + backstory: self.__unsafe_private_named.27, + character: self.__unsafe_private_named.28, + citation: self.__unsafe_private_named.29, + comment: self.__unsafe_private_named.30, + comment_count: self.__unsafe_private_named.31, + conditions_of_access: self.__unsafe_private_named.32, + content_location: self.__unsafe_private_named.33, + content_rating: self.__unsafe_private_named.34, + content_reference_time: self.__unsafe_private_named.35, + contributor: self.__unsafe_private_named.36, + copyright_holder: self.__unsafe_private_named.37, + copyright_notice: self.__unsafe_private_named.38, + copyright_year: self.__unsafe_private_named.39, + correction: self.__unsafe_private_named.40, + country_of_origin: self.__unsafe_private_named.41, + creative_work_status: self.__unsafe_private_named.42, + creator: self.__unsafe_private_named.43, + credit_text: self.__unsafe_private_named.44, + date_created: self.__unsafe_private_named.45, + date_modified: self.__unsafe_private_named.46, + date_published: self.__unsafe_private_named.47, + dependencies: self.__unsafe_private_named.48, + description: self.__unsafe_private_named.49, + digital_source_type: self.__unsafe_private_named.50, + disambiguating_description: self.__unsafe_private_named.51, + discussion_url: self.__unsafe_private_named.52, + edit_eidr: self.__unsafe_private_named.53, + editor: self.__unsafe_private_named.54, + educational_alignment: self.__unsafe_private_named.55, + educational_level: self.__unsafe_private_named.56, + educational_use: self.__unsafe_private_named.57, + encoding: self.__unsafe_private_named.58, + encoding_format: self.__unsafe_private_named.59, + encodings: self.__unsafe_private_named.60, + example_of_work: self.__unsafe_private_named.61, + executable_library_name: self.__unsafe_private_named.62, + expires: self.__unsafe_private_named.63, + file_format: self.__unsafe_private_named.64, + funder: self.__unsafe_private_named.65, + funding: self.__unsafe_private_named.66, + genre: self.__unsafe_private_named.67, + has_part: self.__unsafe_private_named.68, + headline: self.__unsafe_private_named.69, + identifier: self.__unsafe_private_named.70, + image: self.__unsafe_private_named.71, + in_language: self.__unsafe_private_named.72, + interaction_statistic: self.__unsafe_private_named.73, + interactivity_type: self.__unsafe_private_named.74, + interpreted_as_claim: self.__unsafe_private_named.75, + is_accessible_for_free: self.__unsafe_private_named.76, + is_based_on: self.__unsafe_private_named.77, + is_based_on_url: self.__unsafe_private_named.78, + is_family_friendly: self.__unsafe_private_named.79, + is_part_of: self.__unsafe_private_named.80, + keywords: self.__unsafe_private_named.81, + learning_resource_type: self.__unsafe_private_named.82, + license: self.__unsafe_private_named.83, + location_created: self.__unsafe_private_named.84, + main_entity: self.__unsafe_private_named.85, + main_entity_of_page: self.__unsafe_private_named.86, + maintainer: self.__unsafe_private_named.87, + material: self.__unsafe_private_named.88, + material_extent: self.__unsafe_private_named.89, + mentions: self.__unsafe_private_named.90, + name: self.__unsafe_private_named.91, + offers: self.__unsafe_private_named.92, + page_end: self.__unsafe_private_named.93, + page_start: self.__unsafe_private_named.94, + pagination: self.__unsafe_private_named.95, + pattern: self.__unsafe_private_named.96, + position: self.__unsafe_private_named.97, + potential_action: self.__unsafe_private_named.98, + producer: self.__unsafe_private_named.99, + proficiency_level: self.__unsafe_private_named.100, + programming_model: self.__unsafe_private_named.101, + provider: self.__unsafe_private_named.102, + publication: self.__unsafe_private_named.103, + publisher: self.__unsafe_private_named.104, + publisher_imprint: self.__unsafe_private_named.105, + publishing_principles: self.__unsafe_private_named.106, + recorded_at: self.__unsafe_private_named.107, + released_event: self.__unsafe_private_named.108, + review: self.__unsafe_private_named.109, + reviews: self.__unsafe_private_named.110, + same_as: self.__unsafe_private_named.111, + schema_version: self.__unsafe_private_named.112, + sd_date_published: self.__unsafe_private_named.113, + sd_license: self.__unsafe_private_named.114, + sd_publisher: self.__unsafe_private_named.115, + size: self.__unsafe_private_named.116, + source_organization: self.__unsafe_private_named.117, + spatial: self.__unsafe_private_named.118, + spatial_coverage: self.__unsafe_private_named.119, + speakable: self.__unsafe_private_named.120, + sponsor: self.__unsafe_private_named.121, + subject_of: self.__unsafe_private_named.122, + target_platform: self.__unsafe_private_named.123, + teaches: self.__unsafe_private_named.124, + temporal: self.__unsafe_private_named.125, + temporal_coverage: self.__unsafe_private_named.126, + text: self.__unsafe_private_named.127, + thumbnail: self.__unsafe_private_named.128, + thumbnail_url: self.__unsafe_private_named.129, + time_required: self.__unsafe_private_named.130, + translation_of_work: self.__unsafe_private_named.131, + translator: self.__unsafe_private_named.132, + typical_age_range: self.__unsafe_private_named.133, + url: self.__unsafe_private_named.134, + usage_info: self.__unsafe_private_named.135, + version: self.__unsafe_private_named.136, + video: self.__unsafe_private_named.137, + word_count: self.__unsafe_private_named.138, + work_example: self.__unsafe_private_named.139, + work_translation: self.__unsafe_private_named.140, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ApiReference<'a> { + ApiReference { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + article_body: self.__unsafe_private_named.16, + article_section: self.__unsafe_private_named.17, + assembly: self.__unsafe_private_named.18, + assembly_version: self.__unsafe_private_named.19, + assesses: self.__unsafe_private_named.20, + associated_media: self.__unsafe_private_named.21, + audience: self.__unsafe_private_named.22, + audio: self.__unsafe_private_named.23, + author: self.__unsafe_private_named.24, + award: self.__unsafe_private_named.25, + awards: self.__unsafe_private_named.26, + backstory: self.__unsafe_private_named.27, + character: self.__unsafe_private_named.28, + citation: self.__unsafe_private_named.29, + comment: self.__unsafe_private_named.30, + comment_count: self.__unsafe_private_named.31, + conditions_of_access: self.__unsafe_private_named.32, + content_location: self.__unsafe_private_named.33, + content_rating: self.__unsafe_private_named.34, + content_reference_time: self.__unsafe_private_named.35, + contributor: self.__unsafe_private_named.36, + copyright_holder: self.__unsafe_private_named.37, + copyright_notice: self.__unsafe_private_named.38, + copyright_year: self.__unsafe_private_named.39, + correction: self.__unsafe_private_named.40, + country_of_origin: self.__unsafe_private_named.41, + creative_work_status: self.__unsafe_private_named.42, + creator: self.__unsafe_private_named.43, + credit_text: self.__unsafe_private_named.44, + date_created: self.__unsafe_private_named.45, + date_modified: self.__unsafe_private_named.46, + date_published: self.__unsafe_private_named.47, + dependencies: self.__unsafe_private_named.48, + description: self.__unsafe_private_named.49, + digital_source_type: self.__unsafe_private_named.50, + disambiguating_description: self.__unsafe_private_named.51, + discussion_url: self.__unsafe_private_named.52, + edit_eidr: self.__unsafe_private_named.53, + editor: self.__unsafe_private_named.54, + educational_alignment: self.__unsafe_private_named.55, + educational_level: self.__unsafe_private_named.56, + educational_use: self.__unsafe_private_named.57, + encoding: self.__unsafe_private_named.58, + encoding_format: self.__unsafe_private_named.59, + encodings: self.__unsafe_private_named.60, + example_of_work: self.__unsafe_private_named.61, + executable_library_name: self.__unsafe_private_named.62, + expires: self.__unsafe_private_named.63, + file_format: self.__unsafe_private_named.64, + funder: self.__unsafe_private_named.65, + funding: self.__unsafe_private_named.66, + genre: self.__unsafe_private_named.67, + has_part: self.__unsafe_private_named.68, + headline: self.__unsafe_private_named.69, + identifier: self.__unsafe_private_named.70, + image: self.__unsafe_private_named.71, + in_language: self.__unsafe_private_named.72, + interaction_statistic: self.__unsafe_private_named.73, + interactivity_type: self.__unsafe_private_named.74, + interpreted_as_claim: self.__unsafe_private_named.75, + is_accessible_for_free: self.__unsafe_private_named.76, + is_based_on: self.__unsafe_private_named.77, + is_based_on_url: self.__unsafe_private_named.78, + is_family_friendly: self.__unsafe_private_named.79, + is_part_of: self.__unsafe_private_named.80, + keywords: self.__unsafe_private_named.81, + learning_resource_type: self.__unsafe_private_named.82, + license: self.__unsafe_private_named.83, + location_created: self.__unsafe_private_named.84, + main_entity: self.__unsafe_private_named.85, + main_entity_of_page: self.__unsafe_private_named.86, + maintainer: self.__unsafe_private_named.87, + material: self.__unsafe_private_named.88, + material_extent: self.__unsafe_private_named.89, + mentions: self.__unsafe_private_named.90, + name: self.__unsafe_private_named.91, + offers: self.__unsafe_private_named.92, + page_end: self.__unsafe_private_named.93, + page_start: self.__unsafe_private_named.94, + pagination: self.__unsafe_private_named.95, + pattern: self.__unsafe_private_named.96, + position: self.__unsafe_private_named.97, + potential_action: self.__unsafe_private_named.98, + producer: self.__unsafe_private_named.99, + proficiency_level: self.__unsafe_private_named.100, + programming_model: self.__unsafe_private_named.101, + provider: self.__unsafe_private_named.102, + publication: self.__unsafe_private_named.103, + publisher: self.__unsafe_private_named.104, + publisher_imprint: self.__unsafe_private_named.105, + publishing_principles: self.__unsafe_private_named.106, + recorded_at: self.__unsafe_private_named.107, + released_event: self.__unsafe_private_named.108, + review: self.__unsafe_private_named.109, + reviews: self.__unsafe_private_named.110, + same_as: self.__unsafe_private_named.111, + schema_version: self.__unsafe_private_named.112, + sd_date_published: self.__unsafe_private_named.113, + sd_license: self.__unsafe_private_named.114, + sd_publisher: self.__unsafe_private_named.115, + size: self.__unsafe_private_named.116, + source_organization: self.__unsafe_private_named.117, + spatial: self.__unsafe_private_named.118, + spatial_coverage: self.__unsafe_private_named.119, + speakable: self.__unsafe_private_named.120, + sponsor: self.__unsafe_private_named.121, + subject_of: self.__unsafe_private_named.122, + target_platform: self.__unsafe_private_named.123, + teaches: self.__unsafe_private_named.124, + temporal: self.__unsafe_private_named.125, + temporal_coverage: self.__unsafe_private_named.126, + text: self.__unsafe_private_named.127, + thumbnail: self.__unsafe_private_named.128, + thumbnail_url: self.__unsafe_private_named.129, + time_required: self.__unsafe_private_named.130, + translation_of_work: self.__unsafe_private_named.131, + translator: self.__unsafe_private_named.132, + typical_age_range: self.__unsafe_private_named.133, + url: self.__unsafe_private_named.134, + usage_info: self.__unsafe_private_named.135, + version: self.__unsafe_private_named.136, + video: self.__unsafe_private_named.137, + word_count: self.__unsafe_private_named.138, + work_example: self.__unsafe_private_named.139, + work_translation: self.__unsafe_private_named.140, + extra_data: Some(extra_data), + } + } +} + +impl<'a> ApiReference<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ApiReferenceRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAssembly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAssemblyVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDependencies<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceExecutableLibraryName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceProficiencyLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceProgrammingModel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferencePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTargetPlatform<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ApiReferenceWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ApiReferenceGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: ApiReference<'a>, +} + +impl From> for ApiReference<'_> { + fn from(output: ApiReferenceGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for ApiReference<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.APIReference"; + type Record = ApiReferenceRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ApiReferenceRecord; +impl jacquard_common::xrpc::XrpcResp for ApiReferenceRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.APIReference"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ApiReferenceGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ApiReferenceRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.APIReference"; + type Record = ApiReferenceRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ApiReference<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.APIReference" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_APIReference() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs new file mode 100644 index 00000000..1d88450c --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs @@ -0,0 +1,10996 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Article +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// An article, such as a news article or piece of investigative report. Newspapers and magazines have articles of many different types and this is intended to cover them all.\n\nSee also [blog post](https://blog.schema.org/2014/09/02/schema-org-support-for-bibliographic-relationships-and-periodicals/). +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Article", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "An article, such as a news article or piece of investigative report. Newspapers and magazines have articles of many different types and this is intended to cover them all.\\n\\nSee also [blog post](https://blog.schema.org/2014/09/02/schema-org-support-for-bibliographic-relationships-and-periodicals/).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "An article, such as a news article or piece of investigative report. Newspapers and magazines have articles of many different types and this is intended to cover them all.\\n\\nSee also [blog post](https://blog.schema.org/2014/09/02/schema-org-support-for-bibliographic-relationships-and-periodicals/).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.article#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Article" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Article() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Article<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + ArticleDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod article_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 ArticleBuilder<'a, S: article_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Article<'a> { + /// Create a new builder for this type + pub fn new() -> ArticleBuilder<'a, article_state::Empty> { + ArticleBuilder::new() + } +} + +impl<'a> ArticleBuilder<'a, article_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ArticleBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `articleBody` field (optional) + pub fn article_body( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `articleBody` field to an Option value (optional) + pub fn maybe_article_body(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `articleSection` field (optional) + pub fn article_section( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `articleSection` field to an Option value (optional) + pub fn maybe_article_section( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `backstory` field (optional) + pub fn backstory(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `backstory` field to an Option value (optional) + pub fn maybe_backstory(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `pageEnd` field (optional) + pub fn page_end(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `pageEnd` field to an Option value (optional) + pub fn maybe_page_end(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `pageStart` field (optional) + pub fn page_start(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `pageStart` field to an Option value (optional) + pub fn maybe_page_start(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `pagination` field (optional) + pub fn pagination( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `pagination` field to an Option value (optional) + pub fn maybe_pagination(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `speakable` field (optional) + pub fn speakable(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `speakable` field to an Option value (optional) + pub fn maybe_speakable(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: article_state::State> ArticleBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S> ArticleBuilder<'a, S> +where + S: article_state::State, +{ + /// Build the final struct + pub fn build(self) -> Article<'a> { + Article { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + article_body: self.__unsafe_private_named.16, + article_section: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + backstory: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + disambiguating_description: self.__unsafe_private_named.48, + discussion_url: self.__unsafe_private_named.49, + edit_eidr: self.__unsafe_private_named.50, + editor: self.__unsafe_private_named.51, + educational_alignment: self.__unsafe_private_named.52, + educational_level: self.__unsafe_private_named.53, + educational_use: self.__unsafe_private_named.54, + encoding: self.__unsafe_private_named.55, + encoding_format: self.__unsafe_private_named.56, + encodings: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + image: self.__unsafe_private_named.67, + in_language: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + interactivity_type: self.__unsafe_private_named.70, + interpreted_as_claim: self.__unsafe_private_named.71, + is_accessible_for_free: self.__unsafe_private_named.72, + is_based_on: self.__unsafe_private_named.73, + is_based_on_url: self.__unsafe_private_named.74, + is_family_friendly: self.__unsafe_private_named.75, + is_part_of: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + learning_resource_type: self.__unsafe_private_named.78, + license: self.__unsafe_private_named.79, + location_created: self.__unsafe_private_named.80, + main_entity: self.__unsafe_private_named.81, + main_entity_of_page: self.__unsafe_private_named.82, + maintainer: self.__unsafe_private_named.83, + material: self.__unsafe_private_named.84, + material_extent: self.__unsafe_private_named.85, + mentions: self.__unsafe_private_named.86, + name: self.__unsafe_private_named.87, + offers: self.__unsafe_private_named.88, + page_end: self.__unsafe_private_named.89, + page_start: self.__unsafe_private_named.90, + pagination: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + provider: self.__unsafe_private_named.96, + publication: self.__unsafe_private_named.97, + publisher: self.__unsafe_private_named.98, + publisher_imprint: self.__unsafe_private_named.99, + publishing_principles: self.__unsafe_private_named.100, + recorded_at: self.__unsafe_private_named.101, + released_event: self.__unsafe_private_named.102, + review: self.__unsafe_private_named.103, + reviews: self.__unsafe_private_named.104, + same_as: self.__unsafe_private_named.105, + schema_version: self.__unsafe_private_named.106, + sd_date_published: self.__unsafe_private_named.107, + sd_license: self.__unsafe_private_named.108, + sd_publisher: self.__unsafe_private_named.109, + size: self.__unsafe_private_named.110, + source_organization: self.__unsafe_private_named.111, + spatial: self.__unsafe_private_named.112, + spatial_coverage: self.__unsafe_private_named.113, + speakable: self.__unsafe_private_named.114, + sponsor: self.__unsafe_private_named.115, + subject_of: self.__unsafe_private_named.116, + teaches: self.__unsafe_private_named.117, + temporal: self.__unsafe_private_named.118, + temporal_coverage: self.__unsafe_private_named.119, + text: self.__unsafe_private_named.120, + thumbnail: self.__unsafe_private_named.121, + thumbnail_url: self.__unsafe_private_named.122, + time_required: self.__unsafe_private_named.123, + translation_of_work: self.__unsafe_private_named.124, + translator: self.__unsafe_private_named.125, + typical_age_range: self.__unsafe_private_named.126, + url: self.__unsafe_private_named.127, + usage_info: self.__unsafe_private_named.128, + version: self.__unsafe_private_named.129, + video: self.__unsafe_private_named.130, + word_count: self.__unsafe_private_named.131, + work_example: self.__unsafe_private_named.132, + work_translation: self.__unsafe_private_named.133, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Article<'a> { + Article { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + article_body: self.__unsafe_private_named.16, + article_section: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + backstory: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + disambiguating_description: self.__unsafe_private_named.48, + discussion_url: self.__unsafe_private_named.49, + edit_eidr: self.__unsafe_private_named.50, + editor: self.__unsafe_private_named.51, + educational_alignment: self.__unsafe_private_named.52, + educational_level: self.__unsafe_private_named.53, + educational_use: self.__unsafe_private_named.54, + encoding: self.__unsafe_private_named.55, + encoding_format: self.__unsafe_private_named.56, + encodings: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + image: self.__unsafe_private_named.67, + in_language: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + interactivity_type: self.__unsafe_private_named.70, + interpreted_as_claim: self.__unsafe_private_named.71, + is_accessible_for_free: self.__unsafe_private_named.72, + is_based_on: self.__unsafe_private_named.73, + is_based_on_url: self.__unsafe_private_named.74, + is_family_friendly: self.__unsafe_private_named.75, + is_part_of: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + learning_resource_type: self.__unsafe_private_named.78, + license: self.__unsafe_private_named.79, + location_created: self.__unsafe_private_named.80, + main_entity: self.__unsafe_private_named.81, + main_entity_of_page: self.__unsafe_private_named.82, + maintainer: self.__unsafe_private_named.83, + material: self.__unsafe_private_named.84, + material_extent: self.__unsafe_private_named.85, + mentions: self.__unsafe_private_named.86, + name: self.__unsafe_private_named.87, + offers: self.__unsafe_private_named.88, + page_end: self.__unsafe_private_named.89, + page_start: self.__unsafe_private_named.90, + pagination: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + provider: self.__unsafe_private_named.96, + publication: self.__unsafe_private_named.97, + publisher: self.__unsafe_private_named.98, + publisher_imprint: self.__unsafe_private_named.99, + publishing_principles: self.__unsafe_private_named.100, + recorded_at: self.__unsafe_private_named.101, + released_event: self.__unsafe_private_named.102, + review: self.__unsafe_private_named.103, + reviews: self.__unsafe_private_named.104, + same_as: self.__unsafe_private_named.105, + schema_version: self.__unsafe_private_named.106, + sd_date_published: self.__unsafe_private_named.107, + sd_license: self.__unsafe_private_named.108, + sd_publisher: self.__unsafe_private_named.109, + size: self.__unsafe_private_named.110, + source_organization: self.__unsafe_private_named.111, + spatial: self.__unsafe_private_named.112, + spatial_coverage: self.__unsafe_private_named.113, + speakable: self.__unsafe_private_named.114, + sponsor: self.__unsafe_private_named.115, + subject_of: self.__unsafe_private_named.116, + teaches: self.__unsafe_private_named.117, + temporal: self.__unsafe_private_named.118, + temporal_coverage: self.__unsafe_private_named.119, + text: self.__unsafe_private_named.120, + thumbnail: self.__unsafe_private_named.121, + thumbnail_url: self.__unsafe_private_named.122, + time_required: self.__unsafe_private_named.123, + translation_of_work: self.__unsafe_private_named.124, + translator: self.__unsafe_private_named.125, + typical_age_range: self.__unsafe_private_named.126, + url: self.__unsafe_private_named.127, + usage_info: self.__unsafe_private_named.128, + version: self.__unsafe_private_named.129, + video: self.__unsafe_private_named.130, + word_count: self.__unsafe_private_named.131, + work_example: self.__unsafe_private_named.132, + work_translation: self.__unsafe_private_named.133, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Article<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ArticleRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticlePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ArticleWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ArticleGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Article<'a>, +} + +impl From> for Article<'_> { + fn from(output: ArticleGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Article<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Article"; + type Record = ArticleRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ArticleRecord; +impl jacquard_common::xrpc::XrpcResp for ArticleRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Article"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ArticleGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ArticleRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Article"; + type Record = ArticleRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Article<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Article" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Article() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs new file mode 100644 index 00000000..479554c7 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs @@ -0,0 +1,10833 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Book +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A book. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub abridged: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub book_edition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub book_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub illustrator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isbn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_pages: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbridged<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBookEdition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBookFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIllustrator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsbn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfPages<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Book"), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some(::jacquard_common::CowStr::new_static("A book.")), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abridged"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abridgedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abridgedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bookEdition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookEditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookEditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bookFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.BookFormatType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "illustrator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#illustratorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isbn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isbnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isbnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfPages", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#numberOfPagesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#numberOfPagesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("A book."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abridged", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abridgedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abridgedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bookEdition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookEditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookEditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bookFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.BookFormatType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#bookFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "illustrator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#illustratorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isbn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isbnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#isbnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfPages", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#numberOfPagesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#numberOfPagesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.book#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Book" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Book() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Book<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub abridged: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub book_edition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub book_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + BookDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub illustrator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isbn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_pages: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod book_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 BookBuilder<'a, S: book_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Book<'a> { + /// Create a new builder for this type + pub fn new() -> BookBuilder<'a, book_state::Empty> { + BookBuilder::new() + } +} + +impl<'a> BookBuilder<'a, book_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BookBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `abridged` field (optional) + pub fn abridged(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abridged` field to an Option value (optional) + pub fn maybe_abridged(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `bookEdition` field (optional) + pub fn book_edition( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `bookEdition` field to an Option value (optional) + pub fn maybe_book_edition(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `bookFormat` field (optional) + pub fn book_format(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `bookFormat` field to an Option value (optional) + pub fn maybe_book_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `illustrator` field (optional) + pub fn illustrator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `illustrator` field to an Option value (optional) + pub fn maybe_illustrator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `isbn` field (optional) + pub fn isbn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `isbn` field to an Option value (optional) + pub fn maybe_isbn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `numberOfPages` field (optional) + pub fn number_of_pages( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `numberOfPages` field to an Option value (optional) + pub fn maybe_number_of_pages( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S> BookBuilder<'a, S> +where + S: book_state::State, +{ + /// Build the final struct + pub fn build(self) -> Book<'a> { + Book { + about: self.__unsafe_private_named.0, + abridged: self.__unsafe_private_named.1, + r#abstract: self.__unsafe_private_named.2, + access_mode: self.__unsafe_private_named.3, + access_mode_sufficient: self.__unsafe_private_named.4, + accessibility_api: self.__unsafe_private_named.5, + accessibility_control: self.__unsafe_private_named.6, + accessibility_feature: self.__unsafe_private_named.7, + accessibility_hazard: self.__unsafe_private_named.8, + accessibility_summary: self.__unsafe_private_named.9, + accountable_person: self.__unsafe_private_named.10, + acquire_license_page: self.__unsafe_private_named.11, + additional_type: self.__unsafe_private_named.12, + aggregate_rating: self.__unsafe_private_named.13, + alternate_name: self.__unsafe_private_named.14, + alternative_headline: self.__unsafe_private_named.15, + archived_at: self.__unsafe_private_named.16, + assesses: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + book_edition: self.__unsafe_private_named.24, + book_format: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + disambiguating_description: self.__unsafe_private_named.48, + discussion_url: self.__unsafe_private_named.49, + edit_eidr: self.__unsafe_private_named.50, + editor: self.__unsafe_private_named.51, + educational_alignment: self.__unsafe_private_named.52, + educational_level: self.__unsafe_private_named.53, + educational_use: self.__unsafe_private_named.54, + encoding: self.__unsafe_private_named.55, + encoding_format: self.__unsafe_private_named.56, + encodings: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + illustrator: self.__unsafe_private_named.67, + image: self.__unsafe_private_named.68, + in_language: self.__unsafe_private_named.69, + interaction_statistic: self.__unsafe_private_named.70, + interactivity_type: self.__unsafe_private_named.71, + interpreted_as_claim: self.__unsafe_private_named.72, + is_accessible_for_free: self.__unsafe_private_named.73, + is_based_on: self.__unsafe_private_named.74, + is_based_on_url: self.__unsafe_private_named.75, + is_family_friendly: self.__unsafe_private_named.76, + is_part_of: self.__unsafe_private_named.77, + isbn: self.__unsafe_private_named.78, + keywords: self.__unsafe_private_named.79, + learning_resource_type: self.__unsafe_private_named.80, + license: self.__unsafe_private_named.81, + location_created: self.__unsafe_private_named.82, + main_entity: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + maintainer: self.__unsafe_private_named.85, + material: self.__unsafe_private_named.86, + material_extent: self.__unsafe_private_named.87, + mentions: self.__unsafe_private_named.88, + name: self.__unsafe_private_named.89, + number_of_pages: self.__unsafe_private_named.90, + offers: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + provider: self.__unsafe_private_named.96, + publication: self.__unsafe_private_named.97, + publisher: self.__unsafe_private_named.98, + publisher_imprint: self.__unsafe_private_named.99, + publishing_principles: self.__unsafe_private_named.100, + recorded_at: self.__unsafe_private_named.101, + released_event: self.__unsafe_private_named.102, + review: self.__unsafe_private_named.103, + reviews: self.__unsafe_private_named.104, + same_as: self.__unsafe_private_named.105, + schema_version: self.__unsafe_private_named.106, + sd_date_published: self.__unsafe_private_named.107, + sd_license: self.__unsafe_private_named.108, + sd_publisher: self.__unsafe_private_named.109, + size: self.__unsafe_private_named.110, + source_organization: self.__unsafe_private_named.111, + spatial: self.__unsafe_private_named.112, + spatial_coverage: self.__unsafe_private_named.113, + sponsor: self.__unsafe_private_named.114, + subject_of: self.__unsafe_private_named.115, + teaches: self.__unsafe_private_named.116, + temporal: self.__unsafe_private_named.117, + temporal_coverage: self.__unsafe_private_named.118, + text: self.__unsafe_private_named.119, + thumbnail: self.__unsafe_private_named.120, + thumbnail_url: self.__unsafe_private_named.121, + time_required: self.__unsafe_private_named.122, + translation_of_work: self.__unsafe_private_named.123, + translator: self.__unsafe_private_named.124, + typical_age_range: self.__unsafe_private_named.125, + url: self.__unsafe_private_named.126, + usage_info: self.__unsafe_private_named.127, + version: self.__unsafe_private_named.128, + video: self.__unsafe_private_named.129, + word_count: self.__unsafe_private_named.130, + work_example: self.__unsafe_private_named.131, + work_translation: self.__unsafe_private_named.132, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Book<'a> { + Book { + about: self.__unsafe_private_named.0, + abridged: self.__unsafe_private_named.1, + r#abstract: self.__unsafe_private_named.2, + access_mode: self.__unsafe_private_named.3, + access_mode_sufficient: self.__unsafe_private_named.4, + accessibility_api: self.__unsafe_private_named.5, + accessibility_control: self.__unsafe_private_named.6, + accessibility_feature: self.__unsafe_private_named.7, + accessibility_hazard: self.__unsafe_private_named.8, + accessibility_summary: self.__unsafe_private_named.9, + accountable_person: self.__unsafe_private_named.10, + acquire_license_page: self.__unsafe_private_named.11, + additional_type: self.__unsafe_private_named.12, + aggregate_rating: self.__unsafe_private_named.13, + alternate_name: self.__unsafe_private_named.14, + alternative_headline: self.__unsafe_private_named.15, + archived_at: self.__unsafe_private_named.16, + assesses: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + book_edition: self.__unsafe_private_named.24, + book_format: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + disambiguating_description: self.__unsafe_private_named.48, + discussion_url: self.__unsafe_private_named.49, + edit_eidr: self.__unsafe_private_named.50, + editor: self.__unsafe_private_named.51, + educational_alignment: self.__unsafe_private_named.52, + educational_level: self.__unsafe_private_named.53, + educational_use: self.__unsafe_private_named.54, + encoding: self.__unsafe_private_named.55, + encoding_format: self.__unsafe_private_named.56, + encodings: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + illustrator: self.__unsafe_private_named.67, + image: self.__unsafe_private_named.68, + in_language: self.__unsafe_private_named.69, + interaction_statistic: self.__unsafe_private_named.70, + interactivity_type: self.__unsafe_private_named.71, + interpreted_as_claim: self.__unsafe_private_named.72, + is_accessible_for_free: self.__unsafe_private_named.73, + is_based_on: self.__unsafe_private_named.74, + is_based_on_url: self.__unsafe_private_named.75, + is_family_friendly: self.__unsafe_private_named.76, + is_part_of: self.__unsafe_private_named.77, + isbn: self.__unsafe_private_named.78, + keywords: self.__unsafe_private_named.79, + learning_resource_type: self.__unsafe_private_named.80, + license: self.__unsafe_private_named.81, + location_created: self.__unsafe_private_named.82, + main_entity: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + maintainer: self.__unsafe_private_named.85, + material: self.__unsafe_private_named.86, + material_extent: self.__unsafe_private_named.87, + mentions: self.__unsafe_private_named.88, + name: self.__unsafe_private_named.89, + number_of_pages: self.__unsafe_private_named.90, + offers: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + provider: self.__unsafe_private_named.96, + publication: self.__unsafe_private_named.97, + publisher: self.__unsafe_private_named.98, + publisher_imprint: self.__unsafe_private_named.99, + publishing_principles: self.__unsafe_private_named.100, + recorded_at: self.__unsafe_private_named.101, + released_event: self.__unsafe_private_named.102, + review: self.__unsafe_private_named.103, + reviews: self.__unsafe_private_named.104, + same_as: self.__unsafe_private_named.105, + schema_version: self.__unsafe_private_named.106, + sd_date_published: self.__unsafe_private_named.107, + sd_license: self.__unsafe_private_named.108, + sd_publisher: self.__unsafe_private_named.109, + size: self.__unsafe_private_named.110, + source_organization: self.__unsafe_private_named.111, + spatial: self.__unsafe_private_named.112, + spatial_coverage: self.__unsafe_private_named.113, + sponsor: self.__unsafe_private_named.114, + subject_of: self.__unsafe_private_named.115, + teaches: self.__unsafe_private_named.116, + temporal: self.__unsafe_private_named.117, + temporal_coverage: self.__unsafe_private_named.118, + text: self.__unsafe_private_named.119, + thumbnail: self.__unsafe_private_named.120, + thumbnail_url: self.__unsafe_private_named.121, + time_required: self.__unsafe_private_named.122, + translation_of_work: self.__unsafe_private_named.123, + translator: self.__unsafe_private_named.124, + typical_age_range: self.__unsafe_private_named.125, + url: self.__unsafe_private_named.126, + usage_info: self.__unsafe_private_named.127, + version: self.__unsafe_private_named.128, + video: self.__unsafe_private_named.129, + word_count: self.__unsafe_private_named.130, + work_example: self.__unsafe_private_named.131, + work_translation: self.__unsafe_private_named.132, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Book<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, BookRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAbridged<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookBookEdition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookBookFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIllustrator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookIsbn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookNumberOfPages<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BookWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct BookGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Book<'a>, +} + +impl From> for Book<'_> { + fn from(output: BookGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Book<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Book"; + type Record = BookRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct BookRecord; +impl jacquard_common::xrpc::XrpcResp for BookRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Book"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = BookGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for BookRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Book"; + type Record = BookRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Book<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Book" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Book() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs new file mode 100644 index 00000000..7a7a009f --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs @@ -0,0 +1,1515 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Brand +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A brand is a name used by an organization or business person for labeling a product, product group, or similar. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Brand", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A brand is a name used by an organization or business person for labeling a product, product group, or similar.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#urlList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A brand is a name used by an organization or business person for labeling a product, product group, or similar.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.brand#urlList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Brand" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Brand() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Brand<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + BrandDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, +} + +pub mod brand_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 BrandBuilder<'a, S: brand_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Brand<'a> { + /// Create a new builder for this type + pub fn new() -> BrandBuilder<'a, brand_state::Empty> { + BrandBuilder::new() + } +} + +impl<'a> BrandBuilder<'a, brand_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BrandBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: brand_state::State> BrandBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S> BrandBuilder<'a, S> +where + S: brand_state::State, +{ + /// Build the final struct + pub fn build(self) -> Brand<'a> { + Brand { + additional_type: self.__unsafe_private_named.0, + aggregate_rating: self.__unsafe_private_named.1, + alternate_name: self.__unsafe_private_named.2, + description: self.__unsafe_private_named.3, + disambiguating_description: self.__unsafe_private_named.4, + identifier: self.__unsafe_private_named.5, + image: self.__unsafe_private_named.6, + logo: self.__unsafe_private_named.7, + main_entity_of_page: self.__unsafe_private_named.8, + name: self.__unsafe_private_named.9, + potential_action: self.__unsafe_private_named.10, + review: self.__unsafe_private_named.11, + same_as: self.__unsafe_private_named.12, + slogan: self.__unsafe_private_named.13, + subject_of: self.__unsafe_private_named.14, + url: self.__unsafe_private_named.15, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Brand<'a> { + Brand { + additional_type: self.__unsafe_private_named.0, + aggregate_rating: self.__unsafe_private_named.1, + alternate_name: self.__unsafe_private_named.2, + description: self.__unsafe_private_named.3, + disambiguating_description: self.__unsafe_private_named.4, + identifier: self.__unsafe_private_named.5, + image: self.__unsafe_private_named.6, + logo: self.__unsafe_private_named.7, + main_entity_of_page: self.__unsafe_private_named.8, + name: self.__unsafe_private_named.9, + potential_action: self.__unsafe_private_named.10, + review: self.__unsafe_private_named.11, + same_as: self.__unsafe_private_named.12, + slogan: self.__unsafe_private_named.13, + subject_of: self.__unsafe_private_named.14, + url: self.__unsafe_private_named.15, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Brand<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, BrandRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum BrandUrl<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct BrandGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Brand<'a>, +} + +impl From> for Brand<'_> { + fn from(output: BrandGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Brand<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Brand"; + type Record = BrandRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct BrandRecord; +impl jacquard_common::xrpc::XrpcResp for BrandRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Brand"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = BrandGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for BrandRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Brand"; + type Record = BrandRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Brand<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Brand" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Brand() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs new file mode 100644 index 00000000..370c0861 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs @@ -0,0 +1,8421 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Episode +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A media episode (e.g. TV, radio, video game) which can be part of a series or season. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEpisodeNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfSeries<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Episode", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A media episode (e.g. TV, radio, video game) which can be part of a series or season.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "episodeNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#episodeNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#episodeNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeason", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#partOfSeasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#partOfSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A media episode (e.g. TV, radio, video game) which can be part of a series or season.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "episodeNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#episodeNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#episodeNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeason", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#partOfSeasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#partOfSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.episode#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Episode" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Episode() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// A media episode (e.g. TV, radio, video game) which can be part of a series or season. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Episode<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EpisodeDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeEpisodeNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePartOfSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePartOfSeries<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EpisodeWorkTranslation<'a> {} +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Episode<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Episode" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Episode() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs new file mode 100644 index 00000000..fff4047c --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs @@ -0,0 +1,4569 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Event +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub composer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub door_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_attendance_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_schedule: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + EmbeddedMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_physical_attendee_capacity: std::option::Option< + EmbeddedMaximumPhysicalAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_virtual_attendee_capacity: std::option::Option< + EmbeddedMaximumVirtualAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub organizer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub previous_start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub remaining_attendee_capacity: std::option::Option< + EmbeddedRemainingAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub super_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_featured: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_performed: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAttendee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAttendees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComposer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDoorTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEventAttendanceMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEventSchedule<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEventStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumPhysicalAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumVirtualAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOrganizer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPerformer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPerformers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPreviousStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRemainingAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSuperEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkFeatured<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkPerformed<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Event", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attendee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#attendeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "attendees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#attendeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("composer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#composerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("doorTime"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#doorTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#doorTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventAttendanceMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventAttendanceModeEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventAttendanceModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventAttendanceModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventSchedule", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Schedule#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventScheduleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventStatusType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumPhysicalAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumPhysicalAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumPhysicalAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumVirtualAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumVirtualAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumVirtualAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "organizer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#organizerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#performerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#performersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "previousStartDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#previousStartDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#previousStartDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#recordedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "remainingAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#remainingAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#remainingAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("subEvent"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#subEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subEvents", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#subEventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "superEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#superEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workFeatured", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#workFeaturedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workPerformed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#workPerformedList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "attendee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#attendeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "attendees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#attendeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "composer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#composerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "director", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "doorTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#doorTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#doorTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "duration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventAttendanceMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventAttendanceModeEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventAttendanceModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventAttendanceModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventSchedule", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Schedule#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventScheduleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventStatusType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#eventStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumPhysicalAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumPhysicalAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumPhysicalAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumVirtualAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumVirtualAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#maximumVirtualAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "organizer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#organizerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#performerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#performersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "previousStartDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#previousStartDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#previousStartDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#recordedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "remainingAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#remainingAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#remainingAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#subEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subEvents", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#subEventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "superEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#superEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workFeatured", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#workFeaturedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workPerformed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.event#workPerformedList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Event" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Event() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Event<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub composer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EventDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub door_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_attendance_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_schedule: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_physical_attendee_capacity: std::option::Option< + EventMaximumPhysicalAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_virtual_attendee_capacity: std::option::Option< + EventMaximumVirtualAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub organizer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub previous_start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub remaining_attendee_capacity: std::option::Option< + EventRemainingAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub super_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_featured: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_performed: std::option::Option>, +} + +pub mod event_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 EventBuilder<'a, S: event_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Event<'a> { + /// Create a new builder for this type + pub fn new() -> EventBuilder<'a, event_state::Empty> { + EventBuilder::new() + } +} + +impl<'a> EventBuilder<'a, event_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + EventBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `attendee` field (optional) + pub fn attendee(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `attendee` field to an Option value (optional) + pub fn maybe_attendee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `attendees` field (optional) + pub fn attendees(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `attendees` field to an Option value (optional) + pub fn maybe_attendees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `composer` field (optional) + pub fn composer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `composer` field to an Option value (optional) + pub fn maybe_composer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `director` field (optional) + pub fn director(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `director` field to an Option value (optional) + pub fn maybe_director(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `doorTime` field (optional) + pub fn door_time(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `doorTime` field to an Option value (optional) + pub fn maybe_door_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `duration` field (optional) + pub fn duration(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `duration` field to an Option value (optional) + pub fn maybe_duration(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `endDate` field (optional) + pub fn end_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `endDate` field to an Option value (optional) + pub fn maybe_end_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `eventAttendanceMode` field (optional) + pub fn event_attendance_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `eventAttendanceMode` field to an Option value (optional) + pub fn maybe_event_attendance_mode( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `eventSchedule` field (optional) + pub fn event_schedule( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `eventSchedule` field to an Option value (optional) + pub fn maybe_event_schedule( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `eventStatus` field (optional) + pub fn event_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `eventStatus` field to an Option value (optional) + pub fn maybe_event_status(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `maximumAttendeeCapacity` field (optional) + pub fn maximum_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `maximumAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `maximumPhysicalAttendeeCapacity` field (optional) + pub fn maximum_physical_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `maximumPhysicalAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_physical_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `maximumVirtualAttendeeCapacity` field (optional) + pub fn maximum_virtual_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `maximumVirtualAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_virtual_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `organizer` field (optional) + pub fn organizer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `organizer` field to an Option value (optional) + pub fn maybe_organizer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `performer` field (optional) + pub fn performer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `performer` field to an Option value (optional) + pub fn maybe_performer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `performers` field (optional) + pub fn performers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `performers` field to an Option value (optional) + pub fn maybe_performers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `previousStartDate` field (optional) + pub fn previous_start_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `previousStartDate` field to an Option value (optional) + pub fn maybe_previous_start_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `recordedIn` field (optional) + pub fn recorded_in(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `recordedIn` field to an Option value (optional) + pub fn maybe_recorded_in(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `remainingAttendeeCapacity` field (optional) + pub fn remaining_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `remainingAttendeeCapacity` field to an Option value (optional) + pub fn maybe_remaining_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `startDate` field (optional) + pub fn start_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `startDate` field to an Option value (optional) + pub fn maybe_start_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `subEvent` field (optional) + pub fn sub_event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `subEvent` field to an Option value (optional) + pub fn maybe_sub_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `subEvents` field (optional) + pub fn sub_events(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `subEvents` field to an Option value (optional) + pub fn maybe_sub_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `superEvent` field (optional) + pub fn super_event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `superEvent` field to an Option value (optional) + pub fn maybe_super_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `workFeatured` field (optional) + pub fn work_featured( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `workFeatured` field to an Option value (optional) + pub fn maybe_work_featured(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: event_state::State> EventBuilder<'a, S> { + /// Set the `workPerformed` field (optional) + pub fn work_performed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `workPerformed` field to an Option value (optional) + pub fn maybe_work_performed( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S> EventBuilder<'a, S> +where + S: event_state::State, +{ + /// Build the final struct + pub fn build(self) -> Event<'a> { + Event { + about: self.__unsafe_private_named.0, + actor: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + aggregate_rating: self.__unsafe_private_named.3, + alternate_name: self.__unsafe_private_named.4, + attendee: self.__unsafe_private_named.5, + attendees: self.__unsafe_private_named.6, + audience: self.__unsafe_private_named.7, + composer: self.__unsafe_private_named.8, + contributor: self.__unsafe_private_named.9, + description: self.__unsafe_private_named.10, + director: self.__unsafe_private_named.11, + disambiguating_description: self.__unsafe_private_named.12, + door_time: self.__unsafe_private_named.13, + duration: self.__unsafe_private_named.14, + end_date: self.__unsafe_private_named.15, + event_attendance_mode: self.__unsafe_private_named.16, + event_schedule: self.__unsafe_private_named.17, + event_status: self.__unsafe_private_named.18, + funder: self.__unsafe_private_named.19, + funding: self.__unsafe_private_named.20, + identifier: self.__unsafe_private_named.21, + image: self.__unsafe_private_named.22, + in_language: self.__unsafe_private_named.23, + is_accessible_for_free: self.__unsafe_private_named.24, + keywords: self.__unsafe_private_named.25, + location: self.__unsafe_private_named.26, + main_entity_of_page: self.__unsafe_private_named.27, + maximum_attendee_capacity: self.__unsafe_private_named.28, + maximum_physical_attendee_capacity: self.__unsafe_private_named.29, + maximum_virtual_attendee_capacity: self.__unsafe_private_named.30, + name: self.__unsafe_private_named.31, + offers: self.__unsafe_private_named.32, + organizer: self.__unsafe_private_named.33, + performer: self.__unsafe_private_named.34, + performers: self.__unsafe_private_named.35, + potential_action: self.__unsafe_private_named.36, + previous_start_date: self.__unsafe_private_named.37, + recorded_in: self.__unsafe_private_named.38, + remaining_attendee_capacity: self.__unsafe_private_named.39, + review: self.__unsafe_private_named.40, + same_as: self.__unsafe_private_named.41, + sponsor: self.__unsafe_private_named.42, + start_date: self.__unsafe_private_named.43, + sub_event: self.__unsafe_private_named.44, + sub_events: self.__unsafe_private_named.45, + subject_of: self.__unsafe_private_named.46, + super_event: self.__unsafe_private_named.47, + translator: self.__unsafe_private_named.48, + typical_age_range: self.__unsafe_private_named.49, + url: self.__unsafe_private_named.50, + work_featured: self.__unsafe_private_named.51, + work_performed: self.__unsafe_private_named.52, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Event<'a> { + Event { + about: self.__unsafe_private_named.0, + actor: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + aggregate_rating: self.__unsafe_private_named.3, + alternate_name: self.__unsafe_private_named.4, + attendee: self.__unsafe_private_named.5, + attendees: self.__unsafe_private_named.6, + audience: self.__unsafe_private_named.7, + composer: self.__unsafe_private_named.8, + contributor: self.__unsafe_private_named.9, + description: self.__unsafe_private_named.10, + director: self.__unsafe_private_named.11, + disambiguating_description: self.__unsafe_private_named.12, + door_time: self.__unsafe_private_named.13, + duration: self.__unsafe_private_named.14, + end_date: self.__unsafe_private_named.15, + event_attendance_mode: self.__unsafe_private_named.16, + event_schedule: self.__unsafe_private_named.17, + event_status: self.__unsafe_private_named.18, + funder: self.__unsafe_private_named.19, + funding: self.__unsafe_private_named.20, + identifier: self.__unsafe_private_named.21, + image: self.__unsafe_private_named.22, + in_language: self.__unsafe_private_named.23, + is_accessible_for_free: self.__unsafe_private_named.24, + keywords: self.__unsafe_private_named.25, + location: self.__unsafe_private_named.26, + main_entity_of_page: self.__unsafe_private_named.27, + maximum_attendee_capacity: self.__unsafe_private_named.28, + maximum_physical_attendee_capacity: self.__unsafe_private_named.29, + maximum_virtual_attendee_capacity: self.__unsafe_private_named.30, + name: self.__unsafe_private_named.31, + offers: self.__unsafe_private_named.32, + organizer: self.__unsafe_private_named.33, + performer: self.__unsafe_private_named.34, + performers: self.__unsafe_private_named.35, + potential_action: self.__unsafe_private_named.36, + previous_start_date: self.__unsafe_private_named.37, + recorded_in: self.__unsafe_private_named.38, + remaining_attendee_capacity: self.__unsafe_private_named.39, + review: self.__unsafe_private_named.40, + same_as: self.__unsafe_private_named.41, + sponsor: self.__unsafe_private_named.42, + start_date: self.__unsafe_private_named.43, + sub_event: self.__unsafe_private_named.44, + sub_events: self.__unsafe_private_named.45, + subject_of: self.__unsafe_private_named.46, + super_event: self.__unsafe_private_named.47, + translator: self.__unsafe_private_named.48, + typical_age_range: self.__unsafe_private_named.49, + url: self.__unsafe_private_named.50, + work_featured: self.__unsafe_private_named.51, + work_performed: self.__unsafe_private_named.52, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Event<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, EventRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAttendee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAttendees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventComposer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventDoorTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventEventAttendanceMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventEventSchedule<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventEventStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventMaximumPhysicalAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventMaximumVirtualAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventOrganizer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventPerformer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventPerformers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventPreviousStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventRecordedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventRemainingAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventSubEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventSubEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventSuperEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventWorkFeatured<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EventWorkPerformed<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct EventGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Event<'a>, +} + +impl From> for Event<'_> { + fn from(output: EventGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Event<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Event"; + type Record = EventRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct EventRecord; +impl jacquard_common::xrpc::XrpcResp for EventRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Event"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = EventGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for EventRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Event"; + type Record = EventRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Event<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Event" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Event() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs new file mode 100644 index 00000000..61df5892 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs @@ -0,0 +1,10866 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Hotel +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/** A hotel is an establishment that provides lodging paid on a short-term basis (source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Hotel). +

+See also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.*/ +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + EmbeddedActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + EmbeddedAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub amenity_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub available_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub checkin_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub checkout_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub currencies_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + EmbeddedDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_contains: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_crosses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_disjoint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_equals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_intersects: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_overlaps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_touches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_within: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_drive_through_service: std::option::Option< + EmbeddedHasDriveThroughService<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + EmbeddedHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub latitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub longitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + EmbeddedMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_rooms: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours_specification: std::option::Option< + EmbeddedOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub payment_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pets_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub public_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub smoking_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub special_opening_hours_specification: std::option::Option< + EmbeddedSpecialOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub star_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tour_booking_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAmenityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAvailableLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBranchCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBranchOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCheckinTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCheckoutTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainedInPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainsPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCurrenciesAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoContains<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCoveredBy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCovers<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCrosses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoDisjoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoEquals<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoIntersects<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoOverlaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoTouches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoWithin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasDriveThroughService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLatitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLongitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfRooms<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOpeningHours<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPaymentAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPetsAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPhoto<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPhotos<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPriceRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublicAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSmokingAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpecialOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStarRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTourBookingPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVatId<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Hotel", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A hotel is an establishment that provides lodging paid on a short-term basis (source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Hotel).\n

\nSee also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "amenityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LocationFeatureSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#amenityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availableLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#availableLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#availableLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchCode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#branchCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#branchCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("branchOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#branchOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "checkinTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkinTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkinTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "checkoutTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkoutTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkoutTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#containedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedInPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#containedInPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#containsPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "currenciesAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#currenciesAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#currenciesAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoCoordinates#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoContains", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoContainsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCoveredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoCoveredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCovers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoCoversList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCrosses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoCrossesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoDisjoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoDisjointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoEquals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoEqualsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoIntersects", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoIntersectsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoOverlaps", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoOverlapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoTouches", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoTouchesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoWithin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoWithinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasDriveThroughService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasDriveThroughServiceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasDriveThroughServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Map#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#latitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#latitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "longitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#longitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#longitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfRooms", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#numberOfRoomsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#numberOfRoomsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHours", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#openingHoursScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#openingHoursList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#openingHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "paymentAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#paymentAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#paymentAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "petsAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#petsAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#petsAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#photoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#photosList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#priceRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#priceRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publicAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publicAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publicAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "smokingAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#smokingAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#smokingAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "specialOpeningHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#specialOpeningHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "starRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#starRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tourBookingPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#tourBookingPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#tourBookingPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A hotel is an establishment that provides lodging paid on a short-term basis (source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Hotel).\n

\nSee also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "amenityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LocationFeatureSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#amenityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availableLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#availableLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#availableLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchCode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#branchCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#branchCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#branchOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "checkinTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkinTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkinTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "checkoutTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkoutTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#checkoutTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#containedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedInPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#containedInPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#containsPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "currenciesAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#currenciesAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#currenciesAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "founders", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoCoordinates#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoContains", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoContainsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCoveredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoCoveredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCovers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoCoversList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCrosses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoCrossesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoDisjoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoDisjointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoEquals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoEqualsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoIntersects", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoIntersectsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoOverlaps", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoOverlapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoTouches", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoTouchesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoWithin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#geoWithinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasDriveThroughService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasDriveThroughServiceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasDriveThroughServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Map#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "latitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#latitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#latitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "longitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#longitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#longitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#mapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "memberOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfRooms", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#numberOfRoomsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#numberOfRoomsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHours", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#openingHoursScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#openingHoursList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#openingHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "paymentAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#paymentAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#paymentAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "petsAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#petsAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#petsAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#photoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#photosList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#priceRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#priceRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publicAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publicAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publicAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "smokingAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#smokingAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#smokingAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "specialOpeningHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#specialOpeningHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "starRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#starRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tourBookingPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#tourBookingPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#tourBookingPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.hotel#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Hotel" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Hotel() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Hotel<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + HotelActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + HotelAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub amenity_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub available_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub checkin_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub checkout_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub currencies_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + HotelDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_contains: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_crosses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_disjoint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_equals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_intersects: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_overlaps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_touches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_within: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_drive_through_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + HotelHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub latitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub longitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_rooms: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours_specification: std::option::Option< + HotelOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub payment_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pets_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub public_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub smoking_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub special_opening_hours_specification: std::option::Option< + HotelSpecialOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub star_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tour_booking_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +pub mod hotel_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 HotelBuilder<'a, S: hotel_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Hotel<'a> { + /// Create a new builder for this type + pub fn new() -> HotelBuilder<'a, hotel_state::Empty> { + HotelBuilder::new() + } +} + +impl<'a> HotelBuilder<'a, hotel_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + HotelBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `acceptedPaymentMethod` field (optional) + pub fn accepted_payment_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `acceptedPaymentMethod` field to an Option value (optional) + pub fn maybe_accepted_payment_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `actionableFeedbackPolicy` field (optional) + pub fn actionable_feedback_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actionableFeedbackPolicy` field to an Option value (optional) + pub fn maybe_actionable_feedback_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `additionalProperty` field (optional) + pub fn additional_property( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalProperty` field to an Option value (optional) + pub fn maybe_additional_property( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `address` field (optional) + pub fn address(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `address` field to an Option value (optional) + pub fn maybe_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `agentInteractionStatistic` field (optional) + pub fn agent_interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `agentInteractionStatistic` field to an Option value (optional) + pub fn maybe_agent_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `alumni` field (optional) + pub fn alumni(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `alumni` field to an Option value (optional) + pub fn maybe_alumni(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `amenityFeature` field (optional) + pub fn amenity_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `amenityFeature` field to an Option value (optional) + pub fn maybe_amenity_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `areaServed` field (optional) + pub fn area_served(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `areaServed` field to an Option value (optional) + pub fn maybe_area_served(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `availableLanguage` field (optional) + pub fn available_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `availableLanguage` field to an Option value (optional) + pub fn maybe_available_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `branchCode` field (optional) + pub fn branch_code(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `branchCode` field to an Option value (optional) + pub fn maybe_branch_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `branchOf` field (optional) + pub fn branch_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `branchOf` field to an Option value (optional) + pub fn maybe_branch_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `checkinTime` field (optional) + pub fn checkin_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `checkinTime` field to an Option value (optional) + pub fn maybe_checkin_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `checkoutTime` field (optional) + pub fn checkout_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `checkoutTime` field to an Option value (optional) + pub fn maybe_checkout_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `companyRegistration` field (optional) + pub fn company_registration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `companyRegistration` field to an Option value (optional) + pub fn maybe_company_registration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `contactPoint` field (optional) + pub fn contact_point( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `contactPoint` field to an Option value (optional) + pub fn maybe_contact_point(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `contactPoints` field (optional) + pub fn contact_points( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `contactPoints` field to an Option value (optional) + pub fn maybe_contact_points( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `containedIn` field (optional) + pub fn contained_in( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `containedIn` field to an Option value (optional) + pub fn maybe_contained_in(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `containedInPlace` field (optional) + pub fn contained_in_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `containedInPlace` field to an Option value (optional) + pub fn maybe_contained_in_place( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `containsPlace` field (optional) + pub fn contains_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `containsPlace` field to an Option value (optional) + pub fn maybe_contains_place( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `correctionsPolicy` field (optional) + pub fn corrections_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `correctionsPolicy` field to an Option value (optional) + pub fn maybe_corrections_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `currenciesAccepted` field (optional) + pub fn currencies_accepted( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `currenciesAccepted` field to an Option value (optional) + pub fn maybe_currencies_accepted( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `department` field (optional) + pub fn department(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `department` field to an Option value (optional) + pub fn maybe_department(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `dissolutionDate` field (optional) + pub fn dissolution_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `dissolutionDate` field to an Option value (optional) + pub fn maybe_dissolution_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `diversityPolicy` field (optional) + pub fn diversity_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `diversityPolicy` field to an Option value (optional) + pub fn maybe_diversity_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `diversityStaffingReport` field (optional) + pub fn diversity_staffing_report( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `diversityStaffingReport` field to an Option value (optional) + pub fn maybe_diversity_staffing_report( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `duns` field (optional) + pub fn duns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `duns` field to an Option value (optional) + pub fn maybe_duns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `email` field (optional) + pub fn email(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `email` field to an Option value (optional) + pub fn maybe_email(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `employee` field (optional) + pub fn employee(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `employee` field to an Option value (optional) + pub fn maybe_employee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `employees` field (optional) + pub fn employees(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `employees` field to an Option value (optional) + pub fn maybe_employees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `ethicsPolicy` field (optional) + pub fn ethics_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `ethicsPolicy` field to an Option value (optional) + pub fn maybe_ethics_policy(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `event` field (optional) + pub fn event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `event` field to an Option value (optional) + pub fn maybe_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `events` field (optional) + pub fn events(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `events` field to an Option value (optional) + pub fn maybe_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `faxNumber` field (optional) + pub fn fax_number(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `faxNumber` field to an Option value (optional) + pub fn maybe_fax_number(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `founder` field (optional) + pub fn founder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `founder` field to an Option value (optional) + pub fn maybe_founder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `founders` field (optional) + pub fn founders(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `founders` field to an Option value (optional) + pub fn maybe_founders(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `foundingDate` field (optional) + pub fn founding_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `foundingDate` field to an Option value (optional) + pub fn maybe_founding_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `foundingLocation` field (optional) + pub fn founding_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `foundingLocation` field to an Option value (optional) + pub fn maybe_founding_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geo` field (optional) + pub fn geo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `geo` field to an Option value (optional) + pub fn maybe_geo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoContains` field (optional) + pub fn geo_contains( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `geoContains` field to an Option value (optional) + pub fn maybe_geo_contains(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoCoveredBy` field (optional) + pub fn geo_covered_by( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `geoCoveredBy` field to an Option value (optional) + pub fn maybe_geo_covered_by(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoCovers` field (optional) + pub fn geo_covers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `geoCovers` field to an Option value (optional) + pub fn maybe_geo_covers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoCrosses` field (optional) + pub fn geo_crosses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `geoCrosses` field to an Option value (optional) + pub fn maybe_geo_crosses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoDisjoint` field (optional) + pub fn geo_disjoint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `geoDisjoint` field to an Option value (optional) + pub fn maybe_geo_disjoint(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoEquals` field (optional) + pub fn geo_equals(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `geoEquals` field to an Option value (optional) + pub fn maybe_geo_equals(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoIntersects` field (optional) + pub fn geo_intersects( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `geoIntersects` field to an Option value (optional) + pub fn maybe_geo_intersects( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoOverlaps` field (optional) + pub fn geo_overlaps( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `geoOverlaps` field to an Option value (optional) + pub fn maybe_geo_overlaps(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoTouches` field (optional) + pub fn geo_touches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `geoTouches` field to an Option value (optional) + pub fn maybe_geo_touches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `geoWithin` field (optional) + pub fn geo_within(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `geoWithin` field to an Option value (optional) + pub fn maybe_geo_within(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `globalLocationNumber` field (optional) + pub fn global_location_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `globalLocationNumber` field to an Option value (optional) + pub fn maybe_global_location_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasCredential` field (optional) + pub fn has_credential( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `hasCredential` field to an Option value (optional) + pub fn maybe_has_credential( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasDriveThroughService` field (optional) + pub fn has_drive_through_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `hasDriveThroughService` field to an Option value (optional) + pub fn maybe_has_drive_through_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasMap` field (optional) + pub fn has_map(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasMap` field to an Option value (optional) + pub fn maybe_has_map(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasMemberProgram` field (optional) + pub fn has_member_program( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `hasMemberProgram` field to an Option value (optional) + pub fn maybe_has_member_program( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasOfferCatalog` field (optional) + pub fn has_offer_catalog( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `hasOfferCatalog` field to an Option value (optional) + pub fn maybe_has_offer_catalog( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasPOS` field (optional) + pub fn has_pos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `hasPOS` field to an Option value (optional) + pub fn maybe_has_pos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasProductReturnPolicy` field (optional) + pub fn has_product_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `hasProductReturnPolicy` field to an Option value (optional) + pub fn maybe_has_product_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `hasShippingService` field (optional) + pub fn has_shipping_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `hasShippingService` field to an Option value (optional) + pub fn maybe_has_shipping_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `isicV4` field (optional) + pub fn isic_v4(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isicV4` field to an Option value (optional) + pub fn maybe_isic_v4(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `iso6523Code` field (optional) + pub fn iso6523_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `iso6523Code` field to an Option value (optional) + pub fn maybe_iso6523_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `knowsAbout` field (optional) + pub fn knows_about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `knowsAbout` field to an Option value (optional) + pub fn maybe_knows_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `knowsLanguage` field (optional) + pub fn knows_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `knowsLanguage` field to an Option value (optional) + pub fn maybe_knows_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `latitude` field (optional) + pub fn latitude(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `latitude` field to an Option value (optional) + pub fn maybe_latitude(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `legalAddress` field (optional) + pub fn legal_address( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `legalAddress` field to an Option value (optional) + pub fn maybe_legal_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `legalName` field (optional) + pub fn legal_name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `legalName` field to an Option value (optional) + pub fn maybe_legal_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `legalRepresentative` field (optional) + pub fn legal_representative( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `legalRepresentative` field to an Option value (optional) + pub fn maybe_legal_representative( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `leiCode` field (optional) + pub fn lei_code(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `leiCode` field to an Option value (optional) + pub fn maybe_lei_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `longitude` field (optional) + pub fn longitude(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `longitude` field to an Option value (optional) + pub fn maybe_longitude(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `makesOffer` field (optional) + pub fn makes_offer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `makesOffer` field to an Option value (optional) + pub fn maybe_makes_offer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `map` field (optional) + pub fn map(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `map` field to an Option value (optional) + pub fn maybe_map(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `maps` field (optional) + pub fn maps(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `maps` field to an Option value (optional) + pub fn maybe_maps(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `maximumAttendeeCapacity` field (optional) + pub fn maximum_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `maximumAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `member` field (optional) + pub fn member(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `member` field to an Option value (optional) + pub fn maybe_member(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `memberOf` field (optional) + pub fn member_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `memberOf` field to an Option value (optional) + pub fn maybe_member_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `members` field (optional) + pub fn members(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `members` field to an Option value (optional) + pub fn maybe_members(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `naics` field (optional) + pub fn naics(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `naics` field to an Option value (optional) + pub fn maybe_naics(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `nonprofitStatus` field (optional) + pub fn nonprofit_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `nonprofitStatus` field to an Option value (optional) + pub fn maybe_nonprofit_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `numberOfEmployees` field (optional) + pub fn number_of_employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `numberOfEmployees` field to an Option value (optional) + pub fn maybe_number_of_employees( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `numberOfRooms` field (optional) + pub fn number_of_rooms( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `numberOfRooms` field to an Option value (optional) + pub fn maybe_number_of_rooms( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `openingHours` field (optional) + pub fn opening_hours( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `openingHours` field to an Option value (optional) + pub fn maybe_opening_hours(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `openingHoursSpecification` field (optional) + pub fn opening_hours_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `openingHoursSpecification` field to an Option value (optional) + pub fn maybe_opening_hours_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `ownershipFundingInfo` field (optional) + pub fn ownership_funding_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `ownershipFundingInfo` field to an Option value (optional) + pub fn maybe_ownership_funding_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `owns` field (optional) + pub fn owns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `owns` field to an Option value (optional) + pub fn maybe_owns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `parentOrganization` field (optional) + pub fn parent_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `parentOrganization` field to an Option value (optional) + pub fn maybe_parent_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `paymentAccepted` field (optional) + pub fn payment_accepted( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `paymentAccepted` field to an Option value (optional) + pub fn maybe_payment_accepted( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `petsAllowed` field (optional) + pub fn pets_allowed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `petsAllowed` field to an Option value (optional) + pub fn maybe_pets_allowed(mut self, value: Option>) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `photo` field (optional) + pub fn photo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `photo` field to an Option value (optional) + pub fn maybe_photo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `photos` field (optional) + pub fn photos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `photos` field to an Option value (optional) + pub fn maybe_photos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `priceRange` field (optional) + pub fn price_range(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `priceRange` field to an Option value (optional) + pub fn maybe_price_range(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `publicAccess` field (optional) + pub fn public_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `publicAccess` field to an Option value (optional) + pub fn maybe_public_access(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `seeks` field (optional) + pub fn seeks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `seeks` field to an Option value (optional) + pub fn maybe_seeks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `serviceArea` field (optional) + pub fn service_area( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `serviceArea` field to an Option value (optional) + pub fn maybe_service_area(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `skills` field (optional) + pub fn skills(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `skills` field to an Option value (optional) + pub fn maybe_skills(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `smokingAllowed` field (optional) + pub fn smoking_allowed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `smokingAllowed` field to an Option value (optional) + pub fn maybe_smoking_allowed( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `specialOpeningHoursSpecification` field (optional) + pub fn special_opening_hours_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `specialOpeningHoursSpecification` field to an Option value (optional) + pub fn maybe_special_opening_hours_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `starRating` field (optional) + pub fn star_rating(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `starRating` field to an Option value (optional) + pub fn maybe_star_rating(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `subOrganization` field (optional) + pub fn sub_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `subOrganization` field to an Option value (optional) + pub fn maybe_sub_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `taxID` field (optional) + pub fn tax_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `taxID` field to an Option value (optional) + pub fn maybe_tax_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `telephone` field (optional) + pub fn telephone(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `telephone` field to an Option value (optional) + pub fn maybe_telephone(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `tourBookingPage` field (optional) + pub fn tour_booking_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `tourBookingPage` field to an Option value (optional) + pub fn maybe_tour_booking_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `unnamedSourcesPolicy` field (optional) + pub fn unnamed_sources_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `unnamedSourcesPolicy` field to an Option value (optional) + pub fn maybe_unnamed_sources_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: hotel_state::State> HotelBuilder<'a, S> { + /// Set the `vatID` field (optional) + pub fn vat_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `vatID` field to an Option value (optional) + pub fn maybe_vat_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S> HotelBuilder<'a, S> +where + S: hotel_state::State, +{ + /// Build the final struct + pub fn build(self) -> Hotel<'a> { + Hotel { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + address: self.__unsafe_private_named.4, + agent_interaction_statistic: self.__unsafe_private_named.5, + aggregate_rating: self.__unsafe_private_named.6, + alternate_name: self.__unsafe_private_named.7, + alumni: self.__unsafe_private_named.8, + amenity_feature: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + audience: self.__unsafe_private_named.11, + available_language: self.__unsafe_private_named.12, + award: self.__unsafe_private_named.13, + awards: self.__unsafe_private_named.14, + branch_code: self.__unsafe_private_named.15, + branch_of: self.__unsafe_private_named.16, + brand: self.__unsafe_private_named.17, + checkin_time: self.__unsafe_private_named.18, + checkout_time: self.__unsafe_private_named.19, + company_registration: self.__unsafe_private_named.20, + contact_point: self.__unsafe_private_named.21, + contact_points: self.__unsafe_private_named.22, + contained_in: self.__unsafe_private_named.23, + contained_in_place: self.__unsafe_private_named.24, + contains_place: self.__unsafe_private_named.25, + corrections_policy: self.__unsafe_private_named.26, + currencies_accepted: self.__unsafe_private_named.27, + department: self.__unsafe_private_named.28, + description: self.__unsafe_private_named.29, + disambiguating_description: self.__unsafe_private_named.30, + dissolution_date: self.__unsafe_private_named.31, + diversity_policy: self.__unsafe_private_named.32, + diversity_staffing_report: self.__unsafe_private_named.33, + duns: self.__unsafe_private_named.34, + email: self.__unsafe_private_named.35, + employee: self.__unsafe_private_named.36, + employees: self.__unsafe_private_named.37, + ethics_policy: self.__unsafe_private_named.38, + event: self.__unsafe_private_named.39, + events: self.__unsafe_private_named.40, + fax_number: self.__unsafe_private_named.41, + founder: self.__unsafe_private_named.42, + founders: self.__unsafe_private_named.43, + founding_date: self.__unsafe_private_named.44, + founding_location: self.__unsafe_private_named.45, + funder: self.__unsafe_private_named.46, + funding: self.__unsafe_private_named.47, + geo: self.__unsafe_private_named.48, + geo_contains: self.__unsafe_private_named.49, + geo_covered_by: self.__unsafe_private_named.50, + geo_covers: self.__unsafe_private_named.51, + geo_crosses: self.__unsafe_private_named.52, + geo_disjoint: self.__unsafe_private_named.53, + geo_equals: self.__unsafe_private_named.54, + geo_intersects: self.__unsafe_private_named.55, + geo_overlaps: self.__unsafe_private_named.56, + geo_touches: self.__unsafe_private_named.57, + geo_within: self.__unsafe_private_named.58, + global_location_number: self.__unsafe_private_named.59, + has_certification: self.__unsafe_private_named.60, + has_credential: self.__unsafe_private_named.61, + has_drive_through_service: self.__unsafe_private_named.62, + has_gs1_digital_link: self.__unsafe_private_named.63, + has_map: self.__unsafe_private_named.64, + has_member_program: self.__unsafe_private_named.65, + has_merchant_return_policy: self.__unsafe_private_named.66, + has_offer_catalog: self.__unsafe_private_named.67, + has_pos: self.__unsafe_private_named.68, + has_product_return_policy: self.__unsafe_private_named.69, + has_shipping_service: self.__unsafe_private_named.70, + identifier: self.__unsafe_private_named.71, + image: self.__unsafe_private_named.72, + interaction_statistic: self.__unsafe_private_named.73, + is_accessible_for_free: self.__unsafe_private_named.74, + isic_v4: self.__unsafe_private_named.75, + iso6523_code: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + knows_about: self.__unsafe_private_named.78, + knows_language: self.__unsafe_private_named.79, + latitude: self.__unsafe_private_named.80, + legal_address: self.__unsafe_private_named.81, + legal_name: self.__unsafe_private_named.82, + legal_representative: self.__unsafe_private_named.83, + lei_code: self.__unsafe_private_named.84, + location: self.__unsafe_private_named.85, + logo: self.__unsafe_private_named.86, + longitude: self.__unsafe_private_named.87, + main_entity_of_page: self.__unsafe_private_named.88, + makes_offer: self.__unsafe_private_named.89, + map: self.__unsafe_private_named.90, + maps: self.__unsafe_private_named.91, + maximum_attendee_capacity: self.__unsafe_private_named.92, + member: self.__unsafe_private_named.93, + member_of: self.__unsafe_private_named.94, + members: self.__unsafe_private_named.95, + naics: self.__unsafe_private_named.96, + name: self.__unsafe_private_named.97, + nonprofit_status: self.__unsafe_private_named.98, + number_of_employees: self.__unsafe_private_named.99, + number_of_rooms: self.__unsafe_private_named.100, + opening_hours: self.__unsafe_private_named.101, + opening_hours_specification: self.__unsafe_private_named.102, + ownership_funding_info: self.__unsafe_private_named.103, + owns: self.__unsafe_private_named.104, + parent_organization: self.__unsafe_private_named.105, + payment_accepted: self.__unsafe_private_named.106, + pets_allowed: self.__unsafe_private_named.107, + photo: self.__unsafe_private_named.108, + photos: self.__unsafe_private_named.109, + potential_action: self.__unsafe_private_named.110, + price_range: self.__unsafe_private_named.111, + public_access: self.__unsafe_private_named.112, + publishing_principles: self.__unsafe_private_named.113, + review: self.__unsafe_private_named.114, + reviews: self.__unsafe_private_named.115, + same_as: self.__unsafe_private_named.116, + seeks: self.__unsafe_private_named.117, + service_area: self.__unsafe_private_named.118, + skills: self.__unsafe_private_named.119, + slogan: self.__unsafe_private_named.120, + smoking_allowed: self.__unsafe_private_named.121, + special_opening_hours_specification: self.__unsafe_private_named.122, + sponsor: self.__unsafe_private_named.123, + star_rating: self.__unsafe_private_named.124, + sub_organization: self.__unsafe_private_named.125, + subject_of: self.__unsafe_private_named.126, + tax_id: self.__unsafe_private_named.127, + telephone: self.__unsafe_private_named.128, + tour_booking_page: self.__unsafe_private_named.129, + unnamed_sources_policy: self.__unsafe_private_named.130, + url: self.__unsafe_private_named.131, + vat_id: self.__unsafe_private_named.132, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Hotel<'a> { + Hotel { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + address: self.__unsafe_private_named.4, + agent_interaction_statistic: self.__unsafe_private_named.5, + aggregate_rating: self.__unsafe_private_named.6, + alternate_name: self.__unsafe_private_named.7, + alumni: self.__unsafe_private_named.8, + amenity_feature: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + audience: self.__unsafe_private_named.11, + available_language: self.__unsafe_private_named.12, + award: self.__unsafe_private_named.13, + awards: self.__unsafe_private_named.14, + branch_code: self.__unsafe_private_named.15, + branch_of: self.__unsafe_private_named.16, + brand: self.__unsafe_private_named.17, + checkin_time: self.__unsafe_private_named.18, + checkout_time: self.__unsafe_private_named.19, + company_registration: self.__unsafe_private_named.20, + contact_point: self.__unsafe_private_named.21, + contact_points: self.__unsafe_private_named.22, + contained_in: self.__unsafe_private_named.23, + contained_in_place: self.__unsafe_private_named.24, + contains_place: self.__unsafe_private_named.25, + corrections_policy: self.__unsafe_private_named.26, + currencies_accepted: self.__unsafe_private_named.27, + department: self.__unsafe_private_named.28, + description: self.__unsafe_private_named.29, + disambiguating_description: self.__unsafe_private_named.30, + dissolution_date: self.__unsafe_private_named.31, + diversity_policy: self.__unsafe_private_named.32, + diversity_staffing_report: self.__unsafe_private_named.33, + duns: self.__unsafe_private_named.34, + email: self.__unsafe_private_named.35, + employee: self.__unsafe_private_named.36, + employees: self.__unsafe_private_named.37, + ethics_policy: self.__unsafe_private_named.38, + event: self.__unsafe_private_named.39, + events: self.__unsafe_private_named.40, + fax_number: self.__unsafe_private_named.41, + founder: self.__unsafe_private_named.42, + founders: self.__unsafe_private_named.43, + founding_date: self.__unsafe_private_named.44, + founding_location: self.__unsafe_private_named.45, + funder: self.__unsafe_private_named.46, + funding: self.__unsafe_private_named.47, + geo: self.__unsafe_private_named.48, + geo_contains: self.__unsafe_private_named.49, + geo_covered_by: self.__unsafe_private_named.50, + geo_covers: self.__unsafe_private_named.51, + geo_crosses: self.__unsafe_private_named.52, + geo_disjoint: self.__unsafe_private_named.53, + geo_equals: self.__unsafe_private_named.54, + geo_intersects: self.__unsafe_private_named.55, + geo_overlaps: self.__unsafe_private_named.56, + geo_touches: self.__unsafe_private_named.57, + geo_within: self.__unsafe_private_named.58, + global_location_number: self.__unsafe_private_named.59, + has_certification: self.__unsafe_private_named.60, + has_credential: self.__unsafe_private_named.61, + has_drive_through_service: self.__unsafe_private_named.62, + has_gs1_digital_link: self.__unsafe_private_named.63, + has_map: self.__unsafe_private_named.64, + has_member_program: self.__unsafe_private_named.65, + has_merchant_return_policy: self.__unsafe_private_named.66, + has_offer_catalog: self.__unsafe_private_named.67, + has_pos: self.__unsafe_private_named.68, + has_product_return_policy: self.__unsafe_private_named.69, + has_shipping_service: self.__unsafe_private_named.70, + identifier: self.__unsafe_private_named.71, + image: self.__unsafe_private_named.72, + interaction_statistic: self.__unsafe_private_named.73, + is_accessible_for_free: self.__unsafe_private_named.74, + isic_v4: self.__unsafe_private_named.75, + iso6523_code: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + knows_about: self.__unsafe_private_named.78, + knows_language: self.__unsafe_private_named.79, + latitude: self.__unsafe_private_named.80, + legal_address: self.__unsafe_private_named.81, + legal_name: self.__unsafe_private_named.82, + legal_representative: self.__unsafe_private_named.83, + lei_code: self.__unsafe_private_named.84, + location: self.__unsafe_private_named.85, + logo: self.__unsafe_private_named.86, + longitude: self.__unsafe_private_named.87, + main_entity_of_page: self.__unsafe_private_named.88, + makes_offer: self.__unsafe_private_named.89, + map: self.__unsafe_private_named.90, + maps: self.__unsafe_private_named.91, + maximum_attendee_capacity: self.__unsafe_private_named.92, + member: self.__unsafe_private_named.93, + member_of: self.__unsafe_private_named.94, + members: self.__unsafe_private_named.95, + naics: self.__unsafe_private_named.96, + name: self.__unsafe_private_named.97, + nonprofit_status: self.__unsafe_private_named.98, + number_of_employees: self.__unsafe_private_named.99, + number_of_rooms: self.__unsafe_private_named.100, + opening_hours: self.__unsafe_private_named.101, + opening_hours_specification: self.__unsafe_private_named.102, + ownership_funding_info: self.__unsafe_private_named.103, + owns: self.__unsafe_private_named.104, + parent_organization: self.__unsafe_private_named.105, + payment_accepted: self.__unsafe_private_named.106, + pets_allowed: self.__unsafe_private_named.107, + photo: self.__unsafe_private_named.108, + photos: self.__unsafe_private_named.109, + potential_action: self.__unsafe_private_named.110, + price_range: self.__unsafe_private_named.111, + public_access: self.__unsafe_private_named.112, + publishing_principles: self.__unsafe_private_named.113, + review: self.__unsafe_private_named.114, + reviews: self.__unsafe_private_named.115, + same_as: self.__unsafe_private_named.116, + seeks: self.__unsafe_private_named.117, + service_area: self.__unsafe_private_named.118, + skills: self.__unsafe_private_named.119, + slogan: self.__unsafe_private_named.120, + smoking_allowed: self.__unsafe_private_named.121, + special_opening_hours_specification: self.__unsafe_private_named.122, + sponsor: self.__unsafe_private_named.123, + star_rating: self.__unsafe_private_named.124, + sub_organization: self.__unsafe_private_named.125, + subject_of: self.__unsafe_private_named.126, + tax_id: self.__unsafe_private_named.127, + telephone: self.__unsafe_private_named.128, + tour_booking_page: self.__unsafe_private_named.129, + unnamed_sources_policy: self.__unsafe_private_named.130, + url: self.__unsafe_private_named.131, + vat_id: self.__unsafe_private_named.132, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Hotel<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, HotelRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAmenityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAvailableLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelBranchCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelBranchOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelCheckinTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelCheckoutTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelContainedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelContainedInPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelContainsPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelCurrenciesAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoContains<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoCoveredBy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoCovers<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoCrosses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoDisjoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoEquals<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoIntersects<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoOverlaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoTouches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGeoWithin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasDriveThroughService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLatitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelLongitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelNumberOfRooms<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelOpeningHours<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPaymentAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPetsAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPhoto<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPhotos<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPriceRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPublicAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSmokingAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSpecialOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelStarRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelTourBookingPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HotelVatId<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct HotelGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Hotel<'a>, +} + +impl From> for Hotel<'_> { + fn from(output: HotelGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Hotel<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Hotel"; + type Record = HotelRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct HotelRecord; +impl jacquard_common::xrpc::XrpcResp for HotelRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Hotel"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = HotelGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for HotelRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Hotel"; + type Record = HotelRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Hotel<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Hotel" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Hotel() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs new file mode 100644 index 00000000..210818f7 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs @@ -0,0 +1,12303 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.ImageObject +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// An image file. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_article: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub bitrate: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub caption: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embed_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embedded_text_caption: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodes_creative_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub exif_data: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub height: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ineligible_region: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub player_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub regions_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub representative_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub requires_subscription: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sha256: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub upload_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub width: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedArticle<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.NewsArticle#embedded")] + NewsArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBitrate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCaption<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmbedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmbeddedTextCaption<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodesCreativeWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEndTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExifData<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIneligibleRegion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPlayerType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRegionsAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRepresentativeOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRequiresSubscription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSha256<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStartTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUploadDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWidth<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.ImageObject", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("An image file."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedArticle", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NewsArticle#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#associatedArticleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("bitrate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#bitrateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#bitrateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#captionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#captionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentSize", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentSizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentSizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedUrl"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embedUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embedUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "embeddedTextCaption", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embeddedTextCaptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embeddedTextCaptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodesCreativeWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodesCreativeWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endTime"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#endTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#endTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("exifData"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#exifDataScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#exifDataList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#heightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#heightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ineligibleRegion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#ineligibleRegionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#ineligibleRegionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "playerType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#playerTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#playerTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "regionsAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#regionsAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "representativeOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#representativeOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#representativeOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "requiresSubscription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaSubscription#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#requiresSubscriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#requiresSubscriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sha256Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sha256List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#startTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#startTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "uploadDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#uploadDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#uploadDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#widthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#widthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("An image file."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedArticle", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NewsArticle#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#associatedArticleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("bitrate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#bitrateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#bitrateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("caption"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#captionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#captionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentSize", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentSizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentSizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contentUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "duration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "embedUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embedUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embedUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "embeddedTextCaption", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embeddedTextCaptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#embeddedTextCaptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodesCreativeWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodesCreativeWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endTime"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#endTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#endTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exifData", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#exifDataScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#exifDataList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#heightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#heightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ineligibleRegion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#ineligibleRegionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#ineligibleRegionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "playerType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#playerTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#playerTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "regionsAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#regionsAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "representativeOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#representativeOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#representativeOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "requiresSubscription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaSubscription#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#requiresSubscriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#requiresSubscriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sha256"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sha256Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sha256List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#startTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#startTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "uploadDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#uploadDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#uploadDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#widthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#widthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.imageObject#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.ImageObject" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_ImageObject() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ImageObject<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_article: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub bitrate: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub caption: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + ImageObjectDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embed_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub embedded_text_caption: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodes_creative_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub exif_data: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub height: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ineligible_region: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub player_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub regions_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub representative_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub requires_subscription: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sha256: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub upload_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub width: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod image_object_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 ImageObjectBuilder<'a, S: image_object_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ImageObject<'a> { + /// Create a new builder for this type + pub fn new() -> ImageObjectBuilder<'a, image_object_state::Empty> { + ImageObjectBuilder::new() + } +} + +impl<'a> ImageObjectBuilder<'a, image_object_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ImageObjectBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `associatedArticle` field (optional) + pub fn associated_article( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `associatedArticle` field to an Option value (optional) + pub fn maybe_associated_article( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `bitrate` field (optional) + pub fn bitrate(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `bitrate` field to an Option value (optional) + pub fn maybe_bitrate(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `caption` field (optional) + pub fn caption(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `caption` field to an Option value (optional) + pub fn maybe_caption(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `contentSize` field (optional) + pub fn content_size( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `contentSize` field to an Option value (optional) + pub fn maybe_content_size( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `contentUrl` field (optional) + pub fn content_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `contentUrl` field to an Option value (optional) + pub fn maybe_content_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `duration` field (optional) + pub fn duration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `duration` field to an Option value (optional) + pub fn maybe_duration(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `embedUrl` field (optional) + pub fn embed_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `embedUrl` field to an Option value (optional) + pub fn maybe_embed_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `embeddedTextCaption` field (optional) + pub fn embedded_text_caption( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `embeddedTextCaption` field to an Option value (optional) + pub fn maybe_embedded_text_caption( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `encodesCreativeWork` field (optional) + pub fn encodes_creative_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `encodesCreativeWork` field to an Option value (optional) + pub fn maybe_encodes_creative_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `endTime` field (optional) + pub fn end_time(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `endTime` field to an Option value (optional) + pub fn maybe_end_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `exifData` field (optional) + pub fn exif_data( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `exifData` field to an Option value (optional) + pub fn maybe_exif_data(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `height` field (optional) + pub fn height(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `height` field to an Option value (optional) + pub fn maybe_height(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `ineligibleRegion` field (optional) + pub fn ineligible_region( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `ineligibleRegion` field to an Option value (optional) + pub fn maybe_ineligible_region( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `playerType` field (optional) + pub fn player_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `playerType` field to an Option value (optional) + pub fn maybe_player_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `productionCompany` field (optional) + pub fn production_company( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `productionCompany` field to an Option value (optional) + pub fn maybe_production_company( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `regionsAllowed` field (optional) + pub fn regions_allowed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `regionsAllowed` field to an Option value (optional) + pub fn maybe_regions_allowed( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `representativeOfPage` field (optional) + pub fn representative_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `representativeOfPage` field to an Option value (optional) + pub fn maybe_representative_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `requiresSubscription` field (optional) + pub fn requires_subscription( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `requiresSubscription` field to an Option value (optional) + pub fn maybe_requires_subscription( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sha256` field (optional) + pub fn sha256(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `sha256` field to an Option value (optional) + pub fn maybe_sha256(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `startTime` field (optional) + pub fn start_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `startTime` field to an Option value (optional) + pub fn maybe_start_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.137 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.137 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.138 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.138 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.139 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.139 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `uploadDate` field (optional) + pub fn upload_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.140 = value.into(); + self + } + /// Set the `uploadDate` field to an Option value (optional) + pub fn maybe_upload_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.140 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.141 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.141 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.142 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.142 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.143 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.143 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.144 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.144 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `width` field (optional) + pub fn width(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.145 = value.into(); + self + } + /// Set the `width` field to an Option value (optional) + pub fn maybe_width(mut self, value: Option>) -> Self { + self.__unsafe_private_named.145 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.146 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.146 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.147 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.147 = value; + self + } +} + +impl<'a, S: image_object_state::State> ImageObjectBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.148 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.148 = value; + self + } +} + +impl<'a, S> ImageObjectBuilder<'a, S> +where + S: image_object_state::State, +{ + /// Build the final struct + pub fn build(self) -> ImageObject<'a> { + ImageObject { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + assesses: self.__unsafe_private_named.16, + associated_article: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + bitrate: self.__unsafe_private_named.24, + caption: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + content_size: self.__unsafe_private_named.34, + content_url: self.__unsafe_private_named.35, + contributor: self.__unsafe_private_named.36, + copyright_holder: self.__unsafe_private_named.37, + copyright_notice: self.__unsafe_private_named.38, + copyright_year: self.__unsafe_private_named.39, + correction: self.__unsafe_private_named.40, + country_of_origin: self.__unsafe_private_named.41, + creative_work_status: self.__unsafe_private_named.42, + creator: self.__unsafe_private_named.43, + credit_text: self.__unsafe_private_named.44, + date_created: self.__unsafe_private_named.45, + date_modified: self.__unsafe_private_named.46, + date_published: self.__unsafe_private_named.47, + description: self.__unsafe_private_named.48, + digital_source_type: self.__unsafe_private_named.49, + disambiguating_description: self.__unsafe_private_named.50, + discussion_url: self.__unsafe_private_named.51, + duration: self.__unsafe_private_named.52, + edit_eidr: self.__unsafe_private_named.53, + editor: self.__unsafe_private_named.54, + educational_alignment: self.__unsafe_private_named.55, + educational_level: self.__unsafe_private_named.56, + educational_use: self.__unsafe_private_named.57, + embed_url: self.__unsafe_private_named.58, + embedded_text_caption: self.__unsafe_private_named.59, + encodes_creative_work: self.__unsafe_private_named.60, + encoding: self.__unsafe_private_named.61, + encoding_format: self.__unsafe_private_named.62, + encodings: self.__unsafe_private_named.63, + end_time: self.__unsafe_private_named.64, + example_of_work: self.__unsafe_private_named.65, + exif_data: self.__unsafe_private_named.66, + expires: self.__unsafe_private_named.67, + file_format: self.__unsafe_private_named.68, + funder: self.__unsafe_private_named.69, + funding: self.__unsafe_private_named.70, + genre: self.__unsafe_private_named.71, + has_part: self.__unsafe_private_named.72, + headline: self.__unsafe_private_named.73, + height: self.__unsafe_private_named.74, + identifier: self.__unsafe_private_named.75, + image: self.__unsafe_private_named.76, + in_language: self.__unsafe_private_named.77, + ineligible_region: self.__unsafe_private_named.78, + interaction_statistic: self.__unsafe_private_named.79, + interactivity_type: self.__unsafe_private_named.80, + interpreted_as_claim: self.__unsafe_private_named.81, + is_accessible_for_free: self.__unsafe_private_named.82, + is_based_on: self.__unsafe_private_named.83, + is_based_on_url: self.__unsafe_private_named.84, + is_family_friendly: self.__unsafe_private_named.85, + is_part_of: self.__unsafe_private_named.86, + keywords: self.__unsafe_private_named.87, + learning_resource_type: self.__unsafe_private_named.88, + license: self.__unsafe_private_named.89, + location_created: self.__unsafe_private_named.90, + main_entity: self.__unsafe_private_named.91, + main_entity_of_page: self.__unsafe_private_named.92, + maintainer: self.__unsafe_private_named.93, + material: self.__unsafe_private_named.94, + material_extent: self.__unsafe_private_named.95, + mentions: self.__unsafe_private_named.96, + name: self.__unsafe_private_named.97, + offers: self.__unsafe_private_named.98, + pattern: self.__unsafe_private_named.99, + player_type: self.__unsafe_private_named.100, + position: self.__unsafe_private_named.101, + potential_action: self.__unsafe_private_named.102, + producer: self.__unsafe_private_named.103, + production_company: self.__unsafe_private_named.104, + provider: self.__unsafe_private_named.105, + publication: self.__unsafe_private_named.106, + publisher: self.__unsafe_private_named.107, + publisher_imprint: self.__unsafe_private_named.108, + publishing_principles: self.__unsafe_private_named.109, + recorded_at: self.__unsafe_private_named.110, + regions_allowed: self.__unsafe_private_named.111, + released_event: self.__unsafe_private_named.112, + representative_of_page: self.__unsafe_private_named.113, + requires_subscription: self.__unsafe_private_named.114, + review: self.__unsafe_private_named.115, + reviews: self.__unsafe_private_named.116, + same_as: self.__unsafe_private_named.117, + schema_version: self.__unsafe_private_named.118, + sd_date_published: self.__unsafe_private_named.119, + sd_license: self.__unsafe_private_named.120, + sd_publisher: self.__unsafe_private_named.121, + sha256: self.__unsafe_private_named.122, + size: self.__unsafe_private_named.123, + source_organization: self.__unsafe_private_named.124, + spatial: self.__unsafe_private_named.125, + spatial_coverage: self.__unsafe_private_named.126, + sponsor: self.__unsafe_private_named.127, + start_time: self.__unsafe_private_named.128, + subject_of: self.__unsafe_private_named.129, + teaches: self.__unsafe_private_named.130, + temporal: self.__unsafe_private_named.131, + temporal_coverage: self.__unsafe_private_named.132, + text: self.__unsafe_private_named.133, + thumbnail: self.__unsafe_private_named.134, + thumbnail_url: self.__unsafe_private_named.135, + time_required: self.__unsafe_private_named.136, + translation_of_work: self.__unsafe_private_named.137, + translator: self.__unsafe_private_named.138, + typical_age_range: self.__unsafe_private_named.139, + upload_date: self.__unsafe_private_named.140, + url: self.__unsafe_private_named.141, + usage_info: self.__unsafe_private_named.142, + version: self.__unsafe_private_named.143, + video: self.__unsafe_private_named.144, + width: self.__unsafe_private_named.145, + word_count: self.__unsafe_private_named.146, + work_example: self.__unsafe_private_named.147, + work_translation: self.__unsafe_private_named.148, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ImageObject<'a> { + ImageObject { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + assesses: self.__unsafe_private_named.16, + associated_article: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + bitrate: self.__unsafe_private_named.24, + caption: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + content_size: self.__unsafe_private_named.34, + content_url: self.__unsafe_private_named.35, + contributor: self.__unsafe_private_named.36, + copyright_holder: self.__unsafe_private_named.37, + copyright_notice: self.__unsafe_private_named.38, + copyright_year: self.__unsafe_private_named.39, + correction: self.__unsafe_private_named.40, + country_of_origin: self.__unsafe_private_named.41, + creative_work_status: self.__unsafe_private_named.42, + creator: self.__unsafe_private_named.43, + credit_text: self.__unsafe_private_named.44, + date_created: self.__unsafe_private_named.45, + date_modified: self.__unsafe_private_named.46, + date_published: self.__unsafe_private_named.47, + description: self.__unsafe_private_named.48, + digital_source_type: self.__unsafe_private_named.49, + disambiguating_description: self.__unsafe_private_named.50, + discussion_url: self.__unsafe_private_named.51, + duration: self.__unsafe_private_named.52, + edit_eidr: self.__unsafe_private_named.53, + editor: self.__unsafe_private_named.54, + educational_alignment: self.__unsafe_private_named.55, + educational_level: self.__unsafe_private_named.56, + educational_use: self.__unsafe_private_named.57, + embed_url: self.__unsafe_private_named.58, + embedded_text_caption: self.__unsafe_private_named.59, + encodes_creative_work: self.__unsafe_private_named.60, + encoding: self.__unsafe_private_named.61, + encoding_format: self.__unsafe_private_named.62, + encodings: self.__unsafe_private_named.63, + end_time: self.__unsafe_private_named.64, + example_of_work: self.__unsafe_private_named.65, + exif_data: self.__unsafe_private_named.66, + expires: self.__unsafe_private_named.67, + file_format: self.__unsafe_private_named.68, + funder: self.__unsafe_private_named.69, + funding: self.__unsafe_private_named.70, + genre: self.__unsafe_private_named.71, + has_part: self.__unsafe_private_named.72, + headline: self.__unsafe_private_named.73, + height: self.__unsafe_private_named.74, + identifier: self.__unsafe_private_named.75, + image: self.__unsafe_private_named.76, + in_language: self.__unsafe_private_named.77, + ineligible_region: self.__unsafe_private_named.78, + interaction_statistic: self.__unsafe_private_named.79, + interactivity_type: self.__unsafe_private_named.80, + interpreted_as_claim: self.__unsafe_private_named.81, + is_accessible_for_free: self.__unsafe_private_named.82, + is_based_on: self.__unsafe_private_named.83, + is_based_on_url: self.__unsafe_private_named.84, + is_family_friendly: self.__unsafe_private_named.85, + is_part_of: self.__unsafe_private_named.86, + keywords: self.__unsafe_private_named.87, + learning_resource_type: self.__unsafe_private_named.88, + license: self.__unsafe_private_named.89, + location_created: self.__unsafe_private_named.90, + main_entity: self.__unsafe_private_named.91, + main_entity_of_page: self.__unsafe_private_named.92, + maintainer: self.__unsafe_private_named.93, + material: self.__unsafe_private_named.94, + material_extent: self.__unsafe_private_named.95, + mentions: self.__unsafe_private_named.96, + name: self.__unsafe_private_named.97, + offers: self.__unsafe_private_named.98, + pattern: self.__unsafe_private_named.99, + player_type: self.__unsafe_private_named.100, + position: self.__unsafe_private_named.101, + potential_action: self.__unsafe_private_named.102, + producer: self.__unsafe_private_named.103, + production_company: self.__unsafe_private_named.104, + provider: self.__unsafe_private_named.105, + publication: self.__unsafe_private_named.106, + publisher: self.__unsafe_private_named.107, + publisher_imprint: self.__unsafe_private_named.108, + publishing_principles: self.__unsafe_private_named.109, + recorded_at: self.__unsafe_private_named.110, + regions_allowed: self.__unsafe_private_named.111, + released_event: self.__unsafe_private_named.112, + representative_of_page: self.__unsafe_private_named.113, + requires_subscription: self.__unsafe_private_named.114, + review: self.__unsafe_private_named.115, + reviews: self.__unsafe_private_named.116, + same_as: self.__unsafe_private_named.117, + schema_version: self.__unsafe_private_named.118, + sd_date_published: self.__unsafe_private_named.119, + sd_license: self.__unsafe_private_named.120, + sd_publisher: self.__unsafe_private_named.121, + sha256: self.__unsafe_private_named.122, + size: self.__unsafe_private_named.123, + source_organization: self.__unsafe_private_named.124, + spatial: self.__unsafe_private_named.125, + spatial_coverage: self.__unsafe_private_named.126, + sponsor: self.__unsafe_private_named.127, + start_time: self.__unsafe_private_named.128, + subject_of: self.__unsafe_private_named.129, + teaches: self.__unsafe_private_named.130, + temporal: self.__unsafe_private_named.131, + temporal_coverage: self.__unsafe_private_named.132, + text: self.__unsafe_private_named.133, + thumbnail: self.__unsafe_private_named.134, + thumbnail_url: self.__unsafe_private_named.135, + time_required: self.__unsafe_private_named.136, + translation_of_work: self.__unsafe_private_named.137, + translator: self.__unsafe_private_named.138, + typical_age_range: self.__unsafe_private_named.139, + upload_date: self.__unsafe_private_named.140, + url: self.__unsafe_private_named.141, + usage_info: self.__unsafe_private_named.142, + version: self.__unsafe_private_named.143, + video: self.__unsafe_private_named.144, + width: self.__unsafe_private_named.145, + word_count: self.__unsafe_private_named.146, + work_example: self.__unsafe_private_named.147, + work_translation: self.__unsafe_private_named.148, + extra_data: Some(extra_data), + } + } +} + +impl<'a> ImageObject<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ImageObjectRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAssociatedArticle<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.NewsArticle#embedded")] + NewsArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectBitrate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCaption<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectContentSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectContentUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEmbedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEmbeddedTextCaption<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEncodesCreativeWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectEndTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectExifData<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectHeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIneligibleRegion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPlayerType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectRegionsAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectRepresentativeOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectRequiresSubscription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSha256<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectStartTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectUploadDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectWidth<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ImageObjectWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ImageObjectGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: ImageObject<'a>, +} + +impl From> for ImageObject<'_> { + fn from(output: ImageObjectGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for ImageObject<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.ImageObject"; + type Record = ImageObjectRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ImageObjectRecord; +impl jacquard_common::xrpc::XrpcResp for ImageObjectRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.ImageObject"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ImageObjectGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ImageObjectRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.ImageObject"; + type Record = ImageObjectRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageObject<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.ImageObject" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_ImageObject() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs new file mode 100644 index 00000000..d76bfcfa --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs @@ -0,0 +1,10521 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.LocalBusiness +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A particular physical business or branch of an organization. Examples of LocalBusiness include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley, etc. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + EmbeddedActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + EmbeddedAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub amenity_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub currencies_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + EmbeddedDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_contains: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_crosses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_disjoint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_equals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_intersects: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_overlaps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_touches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_within: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_drive_through_service: std::option::Option< + EmbeddedHasDriveThroughService<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + EmbeddedHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub latitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub longitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + EmbeddedMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours_specification: std::option::Option< + EmbeddedOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub payment_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub public_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub smoking_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub special_opening_hours_specification: std::option::Option< + EmbeddedSpecialOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tour_booking_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAmenityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBranchCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBranchOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainedInPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainsPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCurrenciesAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoContains<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCoveredBy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCovers<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCrosses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoDisjoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoEquals<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoIntersects<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoOverlaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoTouches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoWithin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasDriveThroughService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLatitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLongitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOpeningHours<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPaymentAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPhoto<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPhotos<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPriceRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublicAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSmokingAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpecialOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTourBookingPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVatId<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.LocalBusiness", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A particular physical business or branch of an organization. Examples of LocalBusiness include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley, etc.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "amenityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LocationFeatureSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#amenityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchCode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#branchCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#branchCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("branchOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#branchOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#containedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedInPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#containedInPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#containsPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "currenciesAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#currenciesAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#currenciesAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoCoordinates#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoContains", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoContainsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCoveredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoCoveredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCovers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoCoversList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCrosses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoCrossesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoDisjoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoDisjointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoEquals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoEqualsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoIntersects", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoIntersectsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoOverlaps", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoOverlapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoTouches", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoTouchesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoWithin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoWithinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasDriveThroughService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasDriveThroughServiceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasDriveThroughServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Map#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#latitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#latitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "longitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#longitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#longitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHours", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#openingHoursScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#openingHoursList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#openingHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "paymentAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#paymentAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#paymentAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#photoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#photosList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#priceRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#priceRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publicAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publicAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publicAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "smokingAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#smokingAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#smokingAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "specialOpeningHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#specialOpeningHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tourBookingPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#tourBookingPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#tourBookingPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A particular physical business or branch of an organization. Examples of LocalBusiness include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley, etc.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "amenityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LocationFeatureSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#amenityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchCode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#branchCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#branchCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#branchOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#containedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedInPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#containedInPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#containsPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "currenciesAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#currenciesAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#currenciesAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "founders", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoCoordinates#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoContains", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoContainsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCoveredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoCoveredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCovers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoCoversList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCrosses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoCrossesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoDisjoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoDisjointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoEquals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoEqualsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoIntersects", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoIntersectsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoOverlaps", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoOverlapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoTouches", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoTouchesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoWithin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#geoWithinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasDriveThroughService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasDriveThroughServiceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasDriveThroughServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Map#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "latitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#latitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#latitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "longitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#longitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#longitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#mapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "memberOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHours", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#openingHoursScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#openingHoursList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#openingHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "paymentAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#paymentAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#paymentAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#photoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#photosList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#priceRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#priceRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publicAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publicAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publicAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "smokingAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#smokingAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#smokingAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "specialOpeningHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#specialOpeningHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tourBookingPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#tourBookingPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#tourBookingPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.localBusiness#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.LocalBusiness" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct LocalBusiness<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option< + LocalBusinessAcceptedPaymentMethod<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + LocalBusinessActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + LocalBusinessAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub amenity_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub currencies_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + LocalBusinessDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + LocalBusinessDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_contains: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_crosses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_disjoint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_equals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_intersects: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_overlaps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_touches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_within: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option< + LocalBusinessGlobalLocationNumber<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_drive_through_service: std::option::Option< + LocalBusinessHasDriveThroughService<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + LocalBusinessHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + LocalBusinessHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option< + LocalBusinessInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option< + LocalBusinessIsAccessibleForFree<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub latitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub longitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + LocalBusinessMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours_specification: std::option::Option< + LocalBusinessOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option< + LocalBusinessOwnershipFundingInfo<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub payment_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub public_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option< + LocalBusinessPublishingPrinciples<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub smoking_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub special_opening_hours_specification: std::option::Option< + LocalBusinessSpecialOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tour_booking_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option< + LocalBusinessUnnamedSourcesPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +pub mod local_business_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 LocalBusinessBuilder<'a, S: local_business_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> LocalBusiness<'a> { + /// Create a new builder for this type + pub fn new() -> LocalBusinessBuilder<'a, local_business_state::Empty> { + LocalBusinessBuilder::new() + } +} + +impl<'a> LocalBusinessBuilder<'a, local_business_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + LocalBusinessBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `acceptedPaymentMethod` field (optional) + pub fn accepted_payment_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `acceptedPaymentMethod` field to an Option value (optional) + pub fn maybe_accepted_payment_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `actionableFeedbackPolicy` field (optional) + pub fn actionable_feedback_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actionableFeedbackPolicy` field to an Option value (optional) + pub fn maybe_actionable_feedback_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `additionalProperty` field (optional) + pub fn additional_property( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalProperty` field to an Option value (optional) + pub fn maybe_additional_property( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `address` field (optional) + pub fn address( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `address` field to an Option value (optional) + pub fn maybe_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `agentInteractionStatistic` field (optional) + pub fn agent_interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `agentInteractionStatistic` field to an Option value (optional) + pub fn maybe_agent_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `alumni` field (optional) + pub fn alumni(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `alumni` field to an Option value (optional) + pub fn maybe_alumni(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `amenityFeature` field (optional) + pub fn amenity_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `amenityFeature` field to an Option value (optional) + pub fn maybe_amenity_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `areaServed` field (optional) + pub fn area_served( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `areaServed` field to an Option value (optional) + pub fn maybe_area_served( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `branchCode` field (optional) + pub fn branch_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `branchCode` field to an Option value (optional) + pub fn maybe_branch_code( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `branchOf` field (optional) + pub fn branch_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `branchOf` field to an Option value (optional) + pub fn maybe_branch_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `companyRegistration` field (optional) + pub fn company_registration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `companyRegistration` field to an Option value (optional) + pub fn maybe_company_registration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `contactPoint` field (optional) + pub fn contact_point( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `contactPoint` field to an Option value (optional) + pub fn maybe_contact_point( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `contactPoints` field (optional) + pub fn contact_points( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `contactPoints` field to an Option value (optional) + pub fn maybe_contact_points( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `containedIn` field (optional) + pub fn contained_in( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `containedIn` field to an Option value (optional) + pub fn maybe_contained_in( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `containedInPlace` field (optional) + pub fn contained_in_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `containedInPlace` field to an Option value (optional) + pub fn maybe_contained_in_place( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `containsPlace` field (optional) + pub fn contains_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `containsPlace` field to an Option value (optional) + pub fn maybe_contains_place( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `correctionsPolicy` field (optional) + pub fn corrections_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `correctionsPolicy` field to an Option value (optional) + pub fn maybe_corrections_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `currenciesAccepted` field (optional) + pub fn currencies_accepted( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `currenciesAccepted` field to an Option value (optional) + pub fn maybe_currencies_accepted( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `department` field (optional) + pub fn department( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `department` field to an Option value (optional) + pub fn maybe_department( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `dissolutionDate` field (optional) + pub fn dissolution_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `dissolutionDate` field to an Option value (optional) + pub fn maybe_dissolution_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `diversityPolicy` field (optional) + pub fn diversity_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `diversityPolicy` field to an Option value (optional) + pub fn maybe_diversity_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `diversityStaffingReport` field (optional) + pub fn diversity_staffing_report( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `diversityStaffingReport` field to an Option value (optional) + pub fn maybe_diversity_staffing_report( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `duns` field (optional) + pub fn duns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `duns` field to an Option value (optional) + pub fn maybe_duns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `email` field (optional) + pub fn email(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `email` field to an Option value (optional) + pub fn maybe_email(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `employee` field (optional) + pub fn employee( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `employee` field to an Option value (optional) + pub fn maybe_employee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `employees` field (optional) + pub fn employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `employees` field to an Option value (optional) + pub fn maybe_employees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `ethicsPolicy` field (optional) + pub fn ethics_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `ethicsPolicy` field to an Option value (optional) + pub fn maybe_ethics_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `event` field (optional) + pub fn event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `event` field to an Option value (optional) + pub fn maybe_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `events` field (optional) + pub fn events(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `events` field to an Option value (optional) + pub fn maybe_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `faxNumber` field (optional) + pub fn fax_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `faxNumber` field to an Option value (optional) + pub fn maybe_fax_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `founder` field (optional) + pub fn founder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `founder` field to an Option value (optional) + pub fn maybe_founder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `founders` field (optional) + pub fn founders( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `founders` field to an Option value (optional) + pub fn maybe_founders(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `foundingDate` field (optional) + pub fn founding_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `foundingDate` field to an Option value (optional) + pub fn maybe_founding_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `foundingLocation` field (optional) + pub fn founding_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `foundingLocation` field to an Option value (optional) + pub fn maybe_founding_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geo` field (optional) + pub fn geo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `geo` field to an Option value (optional) + pub fn maybe_geo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoContains` field (optional) + pub fn geo_contains( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `geoContains` field to an Option value (optional) + pub fn maybe_geo_contains( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoCoveredBy` field (optional) + pub fn geo_covered_by( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `geoCoveredBy` field to an Option value (optional) + pub fn maybe_geo_covered_by( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoCovers` field (optional) + pub fn geo_covers( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `geoCovers` field to an Option value (optional) + pub fn maybe_geo_covers( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoCrosses` field (optional) + pub fn geo_crosses( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `geoCrosses` field to an Option value (optional) + pub fn maybe_geo_crosses( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoDisjoint` field (optional) + pub fn geo_disjoint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `geoDisjoint` field to an Option value (optional) + pub fn maybe_geo_disjoint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoEquals` field (optional) + pub fn geo_equals( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `geoEquals` field to an Option value (optional) + pub fn maybe_geo_equals( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoIntersects` field (optional) + pub fn geo_intersects( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `geoIntersects` field to an Option value (optional) + pub fn maybe_geo_intersects( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoOverlaps` field (optional) + pub fn geo_overlaps( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `geoOverlaps` field to an Option value (optional) + pub fn maybe_geo_overlaps( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoTouches` field (optional) + pub fn geo_touches( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `geoTouches` field to an Option value (optional) + pub fn maybe_geo_touches( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `geoWithin` field (optional) + pub fn geo_within( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `geoWithin` field to an Option value (optional) + pub fn maybe_geo_within( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `globalLocationNumber` field (optional) + pub fn global_location_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `globalLocationNumber` field to an Option value (optional) + pub fn maybe_global_location_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasCredential` field (optional) + pub fn has_credential( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `hasCredential` field to an Option value (optional) + pub fn maybe_has_credential( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasDriveThroughService` field (optional) + pub fn has_drive_through_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `hasDriveThroughService` field to an Option value (optional) + pub fn maybe_has_drive_through_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasMap` field (optional) + pub fn has_map(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `hasMap` field to an Option value (optional) + pub fn maybe_has_map(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasMemberProgram` field (optional) + pub fn has_member_program( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `hasMemberProgram` field to an Option value (optional) + pub fn maybe_has_member_program( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasOfferCatalog` field (optional) + pub fn has_offer_catalog( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `hasOfferCatalog` field to an Option value (optional) + pub fn maybe_has_offer_catalog( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasPOS` field (optional) + pub fn has_pos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasPOS` field to an Option value (optional) + pub fn maybe_has_pos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasProductReturnPolicy` field (optional) + pub fn has_product_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `hasProductReturnPolicy` field to an Option value (optional) + pub fn maybe_has_product_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `hasShippingService` field (optional) + pub fn has_shipping_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `hasShippingService` field to an Option value (optional) + pub fn maybe_has_shipping_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `isicV4` field (optional) + pub fn isic_v4(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `isicV4` field to an Option value (optional) + pub fn maybe_isic_v4(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `iso6523Code` field (optional) + pub fn iso6523_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `iso6523Code` field to an Option value (optional) + pub fn maybe_iso6523_code( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `knowsAbout` field (optional) + pub fn knows_about( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `knowsAbout` field to an Option value (optional) + pub fn maybe_knows_about( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `knowsLanguage` field (optional) + pub fn knows_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `knowsLanguage` field to an Option value (optional) + pub fn maybe_knows_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `latitude` field (optional) + pub fn latitude( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `latitude` field to an Option value (optional) + pub fn maybe_latitude(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `legalAddress` field (optional) + pub fn legal_address( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `legalAddress` field to an Option value (optional) + pub fn maybe_legal_address( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `legalName` field (optional) + pub fn legal_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `legalName` field to an Option value (optional) + pub fn maybe_legal_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `legalRepresentative` field (optional) + pub fn legal_representative( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `legalRepresentative` field to an Option value (optional) + pub fn maybe_legal_representative( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `leiCode` field (optional) + pub fn lei_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `leiCode` field to an Option value (optional) + pub fn maybe_lei_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `longitude` field (optional) + pub fn longitude( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `longitude` field to an Option value (optional) + pub fn maybe_longitude(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `makesOffer` field (optional) + pub fn makes_offer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `makesOffer` field to an Option value (optional) + pub fn maybe_makes_offer( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `map` field (optional) + pub fn map(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `map` field to an Option value (optional) + pub fn maybe_map(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `maps` field (optional) + pub fn maps(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `maps` field to an Option value (optional) + pub fn maybe_maps(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `maximumAttendeeCapacity` field (optional) + pub fn maximum_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `maximumAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `member` field (optional) + pub fn member(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `member` field to an Option value (optional) + pub fn maybe_member(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `memberOf` field (optional) + pub fn member_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `memberOf` field to an Option value (optional) + pub fn maybe_member_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `members` field (optional) + pub fn members( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `members` field to an Option value (optional) + pub fn maybe_members(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `naics` field (optional) + pub fn naics(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `naics` field to an Option value (optional) + pub fn maybe_naics(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `nonprofitStatus` field (optional) + pub fn nonprofit_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `nonprofitStatus` field to an Option value (optional) + pub fn maybe_nonprofit_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `numberOfEmployees` field (optional) + pub fn number_of_employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `numberOfEmployees` field to an Option value (optional) + pub fn maybe_number_of_employees( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `openingHours` field (optional) + pub fn opening_hours( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `openingHours` field to an Option value (optional) + pub fn maybe_opening_hours( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `openingHoursSpecification` field (optional) + pub fn opening_hours_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `openingHoursSpecification` field to an Option value (optional) + pub fn maybe_opening_hours_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `ownershipFundingInfo` field (optional) + pub fn ownership_funding_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `ownershipFundingInfo` field to an Option value (optional) + pub fn maybe_ownership_funding_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `owns` field (optional) + pub fn owns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `owns` field to an Option value (optional) + pub fn maybe_owns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `parentOrganization` field (optional) + pub fn parent_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `parentOrganization` field to an Option value (optional) + pub fn maybe_parent_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `paymentAccepted` field (optional) + pub fn payment_accepted( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `paymentAccepted` field to an Option value (optional) + pub fn maybe_payment_accepted( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `photo` field (optional) + pub fn photo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `photo` field to an Option value (optional) + pub fn maybe_photo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `photos` field (optional) + pub fn photos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `photos` field to an Option value (optional) + pub fn maybe_photos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `priceRange` field (optional) + pub fn price_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `priceRange` field to an Option value (optional) + pub fn maybe_price_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `publicAccess` field (optional) + pub fn public_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `publicAccess` field to an Option value (optional) + pub fn maybe_public_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `seeks` field (optional) + pub fn seeks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `seeks` field to an Option value (optional) + pub fn maybe_seeks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `serviceArea` field (optional) + pub fn service_area( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `serviceArea` field to an Option value (optional) + pub fn maybe_service_area( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `skills` field (optional) + pub fn skills(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `skills` field to an Option value (optional) + pub fn maybe_skills(mut self, value: Option>) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `smokingAllowed` field (optional) + pub fn smoking_allowed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `smokingAllowed` field to an Option value (optional) + pub fn maybe_smoking_allowed( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `specialOpeningHoursSpecification` field (optional) + pub fn special_opening_hours_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `specialOpeningHoursSpecification` field to an Option value (optional) + pub fn maybe_special_opening_hours_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `subOrganization` field (optional) + pub fn sub_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `subOrganization` field to an Option value (optional) + pub fn maybe_sub_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `taxID` field (optional) + pub fn tax_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `taxID` field to an Option value (optional) + pub fn maybe_tax_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `telephone` field (optional) + pub fn telephone( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `telephone` field to an Option value (optional) + pub fn maybe_telephone(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `tourBookingPage` field (optional) + pub fn tour_booking_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `tourBookingPage` field to an Option value (optional) + pub fn maybe_tour_booking_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `unnamedSourcesPolicy` field (optional) + pub fn unnamed_sources_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `unnamedSourcesPolicy` field to an Option value (optional) + pub fn maybe_unnamed_sources_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: local_business_state::State> LocalBusinessBuilder<'a, S> { + /// Set the `vatID` field (optional) + pub fn vat_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `vatID` field to an Option value (optional) + pub fn maybe_vat_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S> LocalBusinessBuilder<'a, S> +where + S: local_business_state::State, +{ + /// Build the final struct + pub fn build(self) -> LocalBusiness<'a> { + LocalBusiness { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + address: self.__unsafe_private_named.4, + agent_interaction_statistic: self.__unsafe_private_named.5, + aggregate_rating: self.__unsafe_private_named.6, + alternate_name: self.__unsafe_private_named.7, + alumni: self.__unsafe_private_named.8, + amenity_feature: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + award: self.__unsafe_private_named.11, + awards: self.__unsafe_private_named.12, + branch_code: self.__unsafe_private_named.13, + branch_of: self.__unsafe_private_named.14, + brand: self.__unsafe_private_named.15, + company_registration: self.__unsafe_private_named.16, + contact_point: self.__unsafe_private_named.17, + contact_points: self.__unsafe_private_named.18, + contained_in: self.__unsafe_private_named.19, + contained_in_place: self.__unsafe_private_named.20, + contains_place: self.__unsafe_private_named.21, + corrections_policy: self.__unsafe_private_named.22, + currencies_accepted: self.__unsafe_private_named.23, + department: self.__unsafe_private_named.24, + description: self.__unsafe_private_named.25, + disambiguating_description: self.__unsafe_private_named.26, + dissolution_date: self.__unsafe_private_named.27, + diversity_policy: self.__unsafe_private_named.28, + diversity_staffing_report: self.__unsafe_private_named.29, + duns: self.__unsafe_private_named.30, + email: self.__unsafe_private_named.31, + employee: self.__unsafe_private_named.32, + employees: self.__unsafe_private_named.33, + ethics_policy: self.__unsafe_private_named.34, + event: self.__unsafe_private_named.35, + events: self.__unsafe_private_named.36, + fax_number: self.__unsafe_private_named.37, + founder: self.__unsafe_private_named.38, + founders: self.__unsafe_private_named.39, + founding_date: self.__unsafe_private_named.40, + founding_location: self.__unsafe_private_named.41, + funder: self.__unsafe_private_named.42, + funding: self.__unsafe_private_named.43, + geo: self.__unsafe_private_named.44, + geo_contains: self.__unsafe_private_named.45, + geo_covered_by: self.__unsafe_private_named.46, + geo_covers: self.__unsafe_private_named.47, + geo_crosses: self.__unsafe_private_named.48, + geo_disjoint: self.__unsafe_private_named.49, + geo_equals: self.__unsafe_private_named.50, + geo_intersects: self.__unsafe_private_named.51, + geo_overlaps: self.__unsafe_private_named.52, + geo_touches: self.__unsafe_private_named.53, + geo_within: self.__unsafe_private_named.54, + global_location_number: self.__unsafe_private_named.55, + has_certification: self.__unsafe_private_named.56, + has_credential: self.__unsafe_private_named.57, + has_drive_through_service: self.__unsafe_private_named.58, + has_gs1_digital_link: self.__unsafe_private_named.59, + has_map: self.__unsafe_private_named.60, + has_member_program: self.__unsafe_private_named.61, + has_merchant_return_policy: self.__unsafe_private_named.62, + has_offer_catalog: self.__unsafe_private_named.63, + has_pos: self.__unsafe_private_named.64, + has_product_return_policy: self.__unsafe_private_named.65, + has_shipping_service: self.__unsafe_private_named.66, + identifier: self.__unsafe_private_named.67, + image: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + is_accessible_for_free: self.__unsafe_private_named.70, + isic_v4: self.__unsafe_private_named.71, + iso6523_code: self.__unsafe_private_named.72, + keywords: self.__unsafe_private_named.73, + knows_about: self.__unsafe_private_named.74, + knows_language: self.__unsafe_private_named.75, + latitude: self.__unsafe_private_named.76, + legal_address: self.__unsafe_private_named.77, + legal_name: self.__unsafe_private_named.78, + legal_representative: self.__unsafe_private_named.79, + lei_code: self.__unsafe_private_named.80, + location: self.__unsafe_private_named.81, + logo: self.__unsafe_private_named.82, + longitude: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + makes_offer: self.__unsafe_private_named.85, + map: self.__unsafe_private_named.86, + maps: self.__unsafe_private_named.87, + maximum_attendee_capacity: self.__unsafe_private_named.88, + member: self.__unsafe_private_named.89, + member_of: self.__unsafe_private_named.90, + members: self.__unsafe_private_named.91, + naics: self.__unsafe_private_named.92, + name: self.__unsafe_private_named.93, + nonprofit_status: self.__unsafe_private_named.94, + number_of_employees: self.__unsafe_private_named.95, + opening_hours: self.__unsafe_private_named.96, + opening_hours_specification: self.__unsafe_private_named.97, + ownership_funding_info: self.__unsafe_private_named.98, + owns: self.__unsafe_private_named.99, + parent_organization: self.__unsafe_private_named.100, + payment_accepted: self.__unsafe_private_named.101, + photo: self.__unsafe_private_named.102, + photos: self.__unsafe_private_named.103, + potential_action: self.__unsafe_private_named.104, + price_range: self.__unsafe_private_named.105, + public_access: self.__unsafe_private_named.106, + publishing_principles: self.__unsafe_private_named.107, + review: self.__unsafe_private_named.108, + reviews: self.__unsafe_private_named.109, + same_as: self.__unsafe_private_named.110, + seeks: self.__unsafe_private_named.111, + service_area: self.__unsafe_private_named.112, + skills: self.__unsafe_private_named.113, + slogan: self.__unsafe_private_named.114, + smoking_allowed: self.__unsafe_private_named.115, + special_opening_hours_specification: self.__unsafe_private_named.116, + sponsor: self.__unsafe_private_named.117, + sub_organization: self.__unsafe_private_named.118, + subject_of: self.__unsafe_private_named.119, + tax_id: self.__unsafe_private_named.120, + telephone: self.__unsafe_private_named.121, + tour_booking_page: self.__unsafe_private_named.122, + unnamed_sources_policy: self.__unsafe_private_named.123, + url: self.__unsafe_private_named.124, + vat_id: self.__unsafe_private_named.125, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> LocalBusiness<'a> { + LocalBusiness { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + address: self.__unsafe_private_named.4, + agent_interaction_statistic: self.__unsafe_private_named.5, + aggregate_rating: self.__unsafe_private_named.6, + alternate_name: self.__unsafe_private_named.7, + alumni: self.__unsafe_private_named.8, + amenity_feature: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + award: self.__unsafe_private_named.11, + awards: self.__unsafe_private_named.12, + branch_code: self.__unsafe_private_named.13, + branch_of: self.__unsafe_private_named.14, + brand: self.__unsafe_private_named.15, + company_registration: self.__unsafe_private_named.16, + contact_point: self.__unsafe_private_named.17, + contact_points: self.__unsafe_private_named.18, + contained_in: self.__unsafe_private_named.19, + contained_in_place: self.__unsafe_private_named.20, + contains_place: self.__unsafe_private_named.21, + corrections_policy: self.__unsafe_private_named.22, + currencies_accepted: self.__unsafe_private_named.23, + department: self.__unsafe_private_named.24, + description: self.__unsafe_private_named.25, + disambiguating_description: self.__unsafe_private_named.26, + dissolution_date: self.__unsafe_private_named.27, + diversity_policy: self.__unsafe_private_named.28, + diversity_staffing_report: self.__unsafe_private_named.29, + duns: self.__unsafe_private_named.30, + email: self.__unsafe_private_named.31, + employee: self.__unsafe_private_named.32, + employees: self.__unsafe_private_named.33, + ethics_policy: self.__unsafe_private_named.34, + event: self.__unsafe_private_named.35, + events: self.__unsafe_private_named.36, + fax_number: self.__unsafe_private_named.37, + founder: self.__unsafe_private_named.38, + founders: self.__unsafe_private_named.39, + founding_date: self.__unsafe_private_named.40, + founding_location: self.__unsafe_private_named.41, + funder: self.__unsafe_private_named.42, + funding: self.__unsafe_private_named.43, + geo: self.__unsafe_private_named.44, + geo_contains: self.__unsafe_private_named.45, + geo_covered_by: self.__unsafe_private_named.46, + geo_covers: self.__unsafe_private_named.47, + geo_crosses: self.__unsafe_private_named.48, + geo_disjoint: self.__unsafe_private_named.49, + geo_equals: self.__unsafe_private_named.50, + geo_intersects: self.__unsafe_private_named.51, + geo_overlaps: self.__unsafe_private_named.52, + geo_touches: self.__unsafe_private_named.53, + geo_within: self.__unsafe_private_named.54, + global_location_number: self.__unsafe_private_named.55, + has_certification: self.__unsafe_private_named.56, + has_credential: self.__unsafe_private_named.57, + has_drive_through_service: self.__unsafe_private_named.58, + has_gs1_digital_link: self.__unsafe_private_named.59, + has_map: self.__unsafe_private_named.60, + has_member_program: self.__unsafe_private_named.61, + has_merchant_return_policy: self.__unsafe_private_named.62, + has_offer_catalog: self.__unsafe_private_named.63, + has_pos: self.__unsafe_private_named.64, + has_product_return_policy: self.__unsafe_private_named.65, + has_shipping_service: self.__unsafe_private_named.66, + identifier: self.__unsafe_private_named.67, + image: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + is_accessible_for_free: self.__unsafe_private_named.70, + isic_v4: self.__unsafe_private_named.71, + iso6523_code: self.__unsafe_private_named.72, + keywords: self.__unsafe_private_named.73, + knows_about: self.__unsafe_private_named.74, + knows_language: self.__unsafe_private_named.75, + latitude: self.__unsafe_private_named.76, + legal_address: self.__unsafe_private_named.77, + legal_name: self.__unsafe_private_named.78, + legal_representative: self.__unsafe_private_named.79, + lei_code: self.__unsafe_private_named.80, + location: self.__unsafe_private_named.81, + logo: self.__unsafe_private_named.82, + longitude: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + makes_offer: self.__unsafe_private_named.85, + map: self.__unsafe_private_named.86, + maps: self.__unsafe_private_named.87, + maximum_attendee_capacity: self.__unsafe_private_named.88, + member: self.__unsafe_private_named.89, + member_of: self.__unsafe_private_named.90, + members: self.__unsafe_private_named.91, + naics: self.__unsafe_private_named.92, + name: self.__unsafe_private_named.93, + nonprofit_status: self.__unsafe_private_named.94, + number_of_employees: self.__unsafe_private_named.95, + opening_hours: self.__unsafe_private_named.96, + opening_hours_specification: self.__unsafe_private_named.97, + ownership_funding_info: self.__unsafe_private_named.98, + owns: self.__unsafe_private_named.99, + parent_organization: self.__unsafe_private_named.100, + payment_accepted: self.__unsafe_private_named.101, + photo: self.__unsafe_private_named.102, + photos: self.__unsafe_private_named.103, + potential_action: self.__unsafe_private_named.104, + price_range: self.__unsafe_private_named.105, + public_access: self.__unsafe_private_named.106, + publishing_principles: self.__unsafe_private_named.107, + review: self.__unsafe_private_named.108, + reviews: self.__unsafe_private_named.109, + same_as: self.__unsafe_private_named.110, + seeks: self.__unsafe_private_named.111, + service_area: self.__unsafe_private_named.112, + skills: self.__unsafe_private_named.113, + slogan: self.__unsafe_private_named.114, + smoking_allowed: self.__unsafe_private_named.115, + special_opening_hours_specification: self.__unsafe_private_named.116, + sponsor: self.__unsafe_private_named.117, + sub_organization: self.__unsafe_private_named.118, + subject_of: self.__unsafe_private_named.119, + tax_id: self.__unsafe_private_named.120, + telephone: self.__unsafe_private_named.121, + tour_booking_page: self.__unsafe_private_named.122, + unnamed_sources_policy: self.__unsafe_private_named.123, + url: self.__unsafe_private_named.124, + vat_id: self.__unsafe_private_named.125, + extra_data: Some(extra_data), + } + } +} + +impl<'a> LocalBusiness<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, LocalBusinessRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAmenityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessBranchCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessBranchOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessContainedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessContainedInPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessContainsPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessCurrenciesAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoContains<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoCoveredBy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoCovers<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoCrosses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoDisjoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoEquals<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoIntersects<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoOverlaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoTouches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGeoWithin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasDriveThroughService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLatitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessLongitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessOpeningHours<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPaymentAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPhoto<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPhotos<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPriceRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPublicAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSmokingAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSpecialOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessTourBookingPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum LocalBusinessVatId<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct LocalBusinessGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: LocalBusiness<'a>, +} + +impl From> for LocalBusiness<'_> { + fn from(output: LocalBusinessGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for LocalBusiness<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.LocalBusiness"; + type Record = LocalBusinessRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct LocalBusinessRecord; +impl jacquard_common::xrpc::XrpcResp for LocalBusinessRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.LocalBusiness"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = LocalBusinessGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for LocalBusinessRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.LocalBusiness"; + type Record = LocalBusinessRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LocalBusiness<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.LocalBusiness" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs new file mode 100644 index 00000000..e02083cb --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs @@ -0,0 +1,11215 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Movie +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A movie. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subtitle_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubtitleLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Movie", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some(::jacquard_common::CowStr::new_static("A movie.")), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subtitleLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#subtitleLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#subtitleLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("A movie."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "director", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "duration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subtitleLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#subtitleLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#subtitleLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.movie#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Movie" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Movie() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Movie<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + MovieDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subtitle_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod movie_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 MovieBuilder<'a, S: movie_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Movie<'a> { + /// Create a new builder for this type + pub fn new() -> MovieBuilder<'a, movie_state::Empty> { + MovieBuilder::new() + } +} + +impl<'a> MovieBuilder<'a, movie_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + MovieBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `actors` field (optional) + pub fn actors(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `actors` field to an Option value (optional) + pub fn maybe_actors(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `director` field (optional) + pub fn director(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `director` field to an Option value (optional) + pub fn maybe_director(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `directors` field (optional) + pub fn directors(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `directors` field to an Option value (optional) + pub fn maybe_directors(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `duration` field (optional) + pub fn duration(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `duration` field to an Option value (optional) + pub fn maybe_duration(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `musicBy` field (optional) + pub fn music_by(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `musicBy` field to an Option value (optional) + pub fn maybe_music_by(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `productionCompany` field (optional) + pub fn production_company( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `productionCompany` field to an Option value (optional) + pub fn maybe_production_company( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `subtitleLanguage` field (optional) + pub fn subtitle_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `subtitleLanguage` field to an Option value (optional) + pub fn maybe_subtitle_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `titleEIDR` field (optional) + pub fn title_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `titleEIDR` field to an Option value (optional) + pub fn maybe_title_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `trailer` field (optional) + pub fn trailer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `trailer` field to an Option value (optional) + pub fn maybe_trailer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: movie_state::State> MovieBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S> MovieBuilder<'a, S> +where + S: movie_state::State, +{ + /// Build the final struct + pub fn build(self) -> Movie<'a> { + Movie { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + actors: self.__unsafe_private_named.12, + additional_type: self.__unsafe_private_named.13, + aggregate_rating: self.__unsafe_private_named.14, + alternate_name: self.__unsafe_private_named.15, + alternative_headline: self.__unsafe_private_named.16, + archived_at: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + character: self.__unsafe_private_named.25, + citation: self.__unsafe_private_named.26, + comment: self.__unsafe_private_named.27, + comment_count: self.__unsafe_private_named.28, + conditions_of_access: self.__unsafe_private_named.29, + content_location: self.__unsafe_private_named.30, + content_rating: self.__unsafe_private_named.31, + content_reference_time: self.__unsafe_private_named.32, + contributor: self.__unsafe_private_named.33, + copyright_holder: self.__unsafe_private_named.34, + copyright_notice: self.__unsafe_private_named.35, + copyright_year: self.__unsafe_private_named.36, + correction: self.__unsafe_private_named.37, + country_of_origin: self.__unsafe_private_named.38, + creative_work_status: self.__unsafe_private_named.39, + creator: self.__unsafe_private_named.40, + credit_text: self.__unsafe_private_named.41, + date_created: self.__unsafe_private_named.42, + date_modified: self.__unsafe_private_named.43, + date_published: self.__unsafe_private_named.44, + description: self.__unsafe_private_named.45, + digital_source_type: self.__unsafe_private_named.46, + director: self.__unsafe_private_named.47, + directors: self.__unsafe_private_named.48, + disambiguating_description: self.__unsafe_private_named.49, + discussion_url: self.__unsafe_private_named.50, + duration: self.__unsafe_private_named.51, + edit_eidr: self.__unsafe_private_named.52, + editor: self.__unsafe_private_named.53, + educational_alignment: self.__unsafe_private_named.54, + educational_level: self.__unsafe_private_named.55, + educational_use: self.__unsafe_private_named.56, + encoding: self.__unsafe_private_named.57, + encoding_format: self.__unsafe_private_named.58, + encodings: self.__unsafe_private_named.59, + example_of_work: self.__unsafe_private_named.60, + expires: self.__unsafe_private_named.61, + file_format: self.__unsafe_private_named.62, + funder: self.__unsafe_private_named.63, + funding: self.__unsafe_private_named.64, + genre: self.__unsafe_private_named.65, + has_part: self.__unsafe_private_named.66, + headline: self.__unsafe_private_named.67, + identifier: self.__unsafe_private_named.68, + image: self.__unsafe_private_named.69, + in_language: self.__unsafe_private_named.70, + interaction_statistic: self.__unsafe_private_named.71, + interactivity_type: self.__unsafe_private_named.72, + interpreted_as_claim: self.__unsafe_private_named.73, + is_accessible_for_free: self.__unsafe_private_named.74, + is_based_on: self.__unsafe_private_named.75, + is_based_on_url: self.__unsafe_private_named.76, + is_family_friendly: self.__unsafe_private_named.77, + is_part_of: self.__unsafe_private_named.78, + keywords: self.__unsafe_private_named.79, + learning_resource_type: self.__unsafe_private_named.80, + license: self.__unsafe_private_named.81, + location_created: self.__unsafe_private_named.82, + main_entity: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + maintainer: self.__unsafe_private_named.85, + material: self.__unsafe_private_named.86, + material_extent: self.__unsafe_private_named.87, + mentions: self.__unsafe_private_named.88, + music_by: self.__unsafe_private_named.89, + name: self.__unsafe_private_named.90, + offers: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + production_company: self.__unsafe_private_named.96, + provider: self.__unsafe_private_named.97, + publication: self.__unsafe_private_named.98, + publisher: self.__unsafe_private_named.99, + publisher_imprint: self.__unsafe_private_named.100, + publishing_principles: self.__unsafe_private_named.101, + recorded_at: self.__unsafe_private_named.102, + released_event: self.__unsafe_private_named.103, + review: self.__unsafe_private_named.104, + reviews: self.__unsafe_private_named.105, + same_as: self.__unsafe_private_named.106, + schema_version: self.__unsafe_private_named.107, + sd_date_published: self.__unsafe_private_named.108, + sd_license: self.__unsafe_private_named.109, + sd_publisher: self.__unsafe_private_named.110, + size: self.__unsafe_private_named.111, + source_organization: self.__unsafe_private_named.112, + spatial: self.__unsafe_private_named.113, + spatial_coverage: self.__unsafe_private_named.114, + sponsor: self.__unsafe_private_named.115, + subject_of: self.__unsafe_private_named.116, + subtitle_language: self.__unsafe_private_named.117, + teaches: self.__unsafe_private_named.118, + temporal: self.__unsafe_private_named.119, + temporal_coverage: self.__unsafe_private_named.120, + text: self.__unsafe_private_named.121, + thumbnail: self.__unsafe_private_named.122, + thumbnail_url: self.__unsafe_private_named.123, + time_required: self.__unsafe_private_named.124, + title_eidr: self.__unsafe_private_named.125, + trailer: self.__unsafe_private_named.126, + translation_of_work: self.__unsafe_private_named.127, + translator: self.__unsafe_private_named.128, + typical_age_range: self.__unsafe_private_named.129, + url: self.__unsafe_private_named.130, + usage_info: self.__unsafe_private_named.131, + version: self.__unsafe_private_named.132, + video: self.__unsafe_private_named.133, + word_count: self.__unsafe_private_named.134, + work_example: self.__unsafe_private_named.135, + work_translation: self.__unsafe_private_named.136, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Movie<'a> { + Movie { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + actors: self.__unsafe_private_named.12, + additional_type: self.__unsafe_private_named.13, + aggregate_rating: self.__unsafe_private_named.14, + alternate_name: self.__unsafe_private_named.15, + alternative_headline: self.__unsafe_private_named.16, + archived_at: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + character: self.__unsafe_private_named.25, + citation: self.__unsafe_private_named.26, + comment: self.__unsafe_private_named.27, + comment_count: self.__unsafe_private_named.28, + conditions_of_access: self.__unsafe_private_named.29, + content_location: self.__unsafe_private_named.30, + content_rating: self.__unsafe_private_named.31, + content_reference_time: self.__unsafe_private_named.32, + contributor: self.__unsafe_private_named.33, + copyright_holder: self.__unsafe_private_named.34, + copyright_notice: self.__unsafe_private_named.35, + copyright_year: self.__unsafe_private_named.36, + correction: self.__unsafe_private_named.37, + country_of_origin: self.__unsafe_private_named.38, + creative_work_status: self.__unsafe_private_named.39, + creator: self.__unsafe_private_named.40, + credit_text: self.__unsafe_private_named.41, + date_created: self.__unsafe_private_named.42, + date_modified: self.__unsafe_private_named.43, + date_published: self.__unsafe_private_named.44, + description: self.__unsafe_private_named.45, + digital_source_type: self.__unsafe_private_named.46, + director: self.__unsafe_private_named.47, + directors: self.__unsafe_private_named.48, + disambiguating_description: self.__unsafe_private_named.49, + discussion_url: self.__unsafe_private_named.50, + duration: self.__unsafe_private_named.51, + edit_eidr: self.__unsafe_private_named.52, + editor: self.__unsafe_private_named.53, + educational_alignment: self.__unsafe_private_named.54, + educational_level: self.__unsafe_private_named.55, + educational_use: self.__unsafe_private_named.56, + encoding: self.__unsafe_private_named.57, + encoding_format: self.__unsafe_private_named.58, + encodings: self.__unsafe_private_named.59, + example_of_work: self.__unsafe_private_named.60, + expires: self.__unsafe_private_named.61, + file_format: self.__unsafe_private_named.62, + funder: self.__unsafe_private_named.63, + funding: self.__unsafe_private_named.64, + genre: self.__unsafe_private_named.65, + has_part: self.__unsafe_private_named.66, + headline: self.__unsafe_private_named.67, + identifier: self.__unsafe_private_named.68, + image: self.__unsafe_private_named.69, + in_language: self.__unsafe_private_named.70, + interaction_statistic: self.__unsafe_private_named.71, + interactivity_type: self.__unsafe_private_named.72, + interpreted_as_claim: self.__unsafe_private_named.73, + is_accessible_for_free: self.__unsafe_private_named.74, + is_based_on: self.__unsafe_private_named.75, + is_based_on_url: self.__unsafe_private_named.76, + is_family_friendly: self.__unsafe_private_named.77, + is_part_of: self.__unsafe_private_named.78, + keywords: self.__unsafe_private_named.79, + learning_resource_type: self.__unsafe_private_named.80, + license: self.__unsafe_private_named.81, + location_created: self.__unsafe_private_named.82, + main_entity: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + maintainer: self.__unsafe_private_named.85, + material: self.__unsafe_private_named.86, + material_extent: self.__unsafe_private_named.87, + mentions: self.__unsafe_private_named.88, + music_by: self.__unsafe_private_named.89, + name: self.__unsafe_private_named.90, + offers: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + production_company: self.__unsafe_private_named.96, + provider: self.__unsafe_private_named.97, + publication: self.__unsafe_private_named.98, + publisher: self.__unsafe_private_named.99, + publisher_imprint: self.__unsafe_private_named.100, + publishing_principles: self.__unsafe_private_named.101, + recorded_at: self.__unsafe_private_named.102, + released_event: self.__unsafe_private_named.103, + review: self.__unsafe_private_named.104, + reviews: self.__unsafe_private_named.105, + same_as: self.__unsafe_private_named.106, + schema_version: self.__unsafe_private_named.107, + sd_date_published: self.__unsafe_private_named.108, + sd_license: self.__unsafe_private_named.109, + sd_publisher: self.__unsafe_private_named.110, + size: self.__unsafe_private_named.111, + source_organization: self.__unsafe_private_named.112, + spatial: self.__unsafe_private_named.113, + spatial_coverage: self.__unsafe_private_named.114, + sponsor: self.__unsafe_private_named.115, + subject_of: self.__unsafe_private_named.116, + subtitle_language: self.__unsafe_private_named.117, + teaches: self.__unsafe_private_named.118, + temporal: self.__unsafe_private_named.119, + temporal_coverage: self.__unsafe_private_named.120, + text: self.__unsafe_private_named.121, + thumbnail: self.__unsafe_private_named.122, + thumbnail_url: self.__unsafe_private_named.123, + time_required: self.__unsafe_private_named.124, + title_eidr: self.__unsafe_private_named.125, + trailer: self.__unsafe_private_named.126, + translation_of_work: self.__unsafe_private_named.127, + translator: self.__unsafe_private_named.128, + typical_age_range: self.__unsafe_private_named.129, + url: self.__unsafe_private_named.130, + usage_info: self.__unsafe_private_named.131, + version: self.__unsafe_private_named.132, + video: self.__unsafe_private_named.133, + word_count: self.__unsafe_private_named.134, + work_example: self.__unsafe_private_named.135, + work_translation: self.__unsafe_private_named.136, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Movie<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, MovieRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MoviePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieSubtitleLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MovieWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct MovieGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Movie<'a>, +} + +impl From> for Movie<'_> { + fn from(output: MovieGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Movie<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Movie"; + type Record = MovieRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct MovieRecord; +impl jacquard_common::xrpc::XrpcResp for MovieRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Movie"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = MovieGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for MovieRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Movie"; + type Record = MovieRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Movie<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Movie" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Movie() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs new file mode 100644 index 00000000..dc89c36c --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs @@ -0,0 +1,4623 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.MusicEvent +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Event type: Music event. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub composer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub door_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_attendance_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_schedule: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + EmbeddedMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_physical_attendee_capacity: std::option::Option< + EmbeddedMaximumPhysicalAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_virtual_attendee_capacity: std::option::Option< + EmbeddedMaximumVirtualAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub organizer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub previous_start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub remaining_attendee_capacity: std::option::Option< + EmbeddedRemainingAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub super_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_featured: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_performed: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAttendee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAttendees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComposer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDoorTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEventAttendanceMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEventSchedule<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEventStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumPhysicalAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumVirtualAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOrganizer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPerformer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPerformers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPreviousStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRemainingAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSuperEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkFeatured<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkPerformed<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.MusicEvent", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Event type: Music event."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attendee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#attendeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "attendees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#attendeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("composer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#composerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("doorTime"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#doorTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#doorTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventAttendanceMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventAttendanceModeEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventAttendanceModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventAttendanceModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventSchedule", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Schedule#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventScheduleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventStatusType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumPhysicalAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumPhysicalAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumPhysicalAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumVirtualAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumVirtualAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumVirtualAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "organizer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#organizerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#performerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#performersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "previousStartDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#previousStartDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#previousStartDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#recordedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "remainingAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#remainingAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#remainingAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("subEvent"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#subEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subEvents", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#subEventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "superEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#superEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workFeatured", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#workFeaturedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workPerformed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#workPerformedList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Event type: Music event.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "attendee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#attendeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "attendees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#attendeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "composer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#composerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "director", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "doorTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#doorTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#doorTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "duration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventAttendanceMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventAttendanceModeEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventAttendanceModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventAttendanceModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventSchedule", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Schedule#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventScheduleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eventStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EventStatusType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#eventStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumPhysicalAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumPhysicalAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumPhysicalAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumVirtualAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumVirtualAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#maximumVirtualAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "organizer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#organizerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#performerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#performersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "previousStartDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#previousStartDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#previousStartDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#recordedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "remainingAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#remainingAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#remainingAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#subEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subEvents", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#subEventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "superEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#superEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workFeatured", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#workFeaturedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workPerformed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicEvent#workPerformedList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.MusicEvent" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct MusicEvent<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attendees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub composer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + MusicEventDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub door_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_attendance_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_schedule: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + MusicEventMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_physical_attendee_capacity: std::option::Option< + MusicEventMaximumPhysicalAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_virtual_attendee_capacity: std::option::Option< + MusicEventMaximumVirtualAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub organizer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub previous_start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub remaining_attendee_capacity: std::option::Option< + MusicEventRemainingAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub super_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_featured: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_performed: std::option::Option>, +} + +pub mod music_event_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 MusicEventBuilder<'a, S: music_event_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> MusicEvent<'a> { + /// Create a new builder for this type + pub fn new() -> MusicEventBuilder<'a, music_event_state::Empty> { + MusicEventBuilder::new() + } +} + +impl<'a> MusicEventBuilder<'a, music_event_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + MusicEventBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `attendee` field (optional) + pub fn attendee(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `attendee` field to an Option value (optional) + pub fn maybe_attendee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `attendees` field (optional) + pub fn attendees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `attendees` field to an Option value (optional) + pub fn maybe_attendees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `composer` field (optional) + pub fn composer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `composer` field to an Option value (optional) + pub fn maybe_composer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `director` field (optional) + pub fn director(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `director` field to an Option value (optional) + pub fn maybe_director(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `doorTime` field (optional) + pub fn door_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `doorTime` field to an Option value (optional) + pub fn maybe_door_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `duration` field (optional) + pub fn duration(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `duration` field to an Option value (optional) + pub fn maybe_duration(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `endDate` field (optional) + pub fn end_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `endDate` field to an Option value (optional) + pub fn maybe_end_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `eventAttendanceMode` field (optional) + pub fn event_attendance_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `eventAttendanceMode` field to an Option value (optional) + pub fn maybe_event_attendance_mode( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `eventSchedule` field (optional) + pub fn event_schedule( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `eventSchedule` field to an Option value (optional) + pub fn maybe_event_schedule( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `eventStatus` field (optional) + pub fn event_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `eventStatus` field to an Option value (optional) + pub fn maybe_event_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `maximumAttendeeCapacity` field (optional) + pub fn maximum_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `maximumAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `maximumPhysicalAttendeeCapacity` field (optional) + pub fn maximum_physical_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `maximumPhysicalAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_physical_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `maximumVirtualAttendeeCapacity` field (optional) + pub fn maximum_virtual_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `maximumVirtualAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_virtual_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `organizer` field (optional) + pub fn organizer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `organizer` field to an Option value (optional) + pub fn maybe_organizer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `performer` field (optional) + pub fn performer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `performer` field to an Option value (optional) + pub fn maybe_performer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `performers` field (optional) + pub fn performers( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `performers` field to an Option value (optional) + pub fn maybe_performers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `previousStartDate` field (optional) + pub fn previous_start_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `previousStartDate` field to an Option value (optional) + pub fn maybe_previous_start_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `recordedIn` field (optional) + pub fn recorded_in( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `recordedIn` field to an Option value (optional) + pub fn maybe_recorded_in(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `remainingAttendeeCapacity` field (optional) + pub fn remaining_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `remainingAttendeeCapacity` field to an Option value (optional) + pub fn maybe_remaining_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `startDate` field (optional) + pub fn start_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `startDate` field to an Option value (optional) + pub fn maybe_start_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `subEvent` field (optional) + pub fn sub_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `subEvent` field to an Option value (optional) + pub fn maybe_sub_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `subEvents` field (optional) + pub fn sub_events( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `subEvents` field to an Option value (optional) + pub fn maybe_sub_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `superEvent` field (optional) + pub fn super_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `superEvent` field to an Option value (optional) + pub fn maybe_super_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `workFeatured` field (optional) + pub fn work_featured( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `workFeatured` field to an Option value (optional) + pub fn maybe_work_featured( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: music_event_state::State> MusicEventBuilder<'a, S> { + /// Set the `workPerformed` field (optional) + pub fn work_performed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `workPerformed` field to an Option value (optional) + pub fn maybe_work_performed( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S> MusicEventBuilder<'a, S> +where + S: music_event_state::State, +{ + /// Build the final struct + pub fn build(self) -> MusicEvent<'a> { + MusicEvent { + about: self.__unsafe_private_named.0, + actor: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + aggregate_rating: self.__unsafe_private_named.3, + alternate_name: self.__unsafe_private_named.4, + attendee: self.__unsafe_private_named.5, + attendees: self.__unsafe_private_named.6, + audience: self.__unsafe_private_named.7, + composer: self.__unsafe_private_named.8, + contributor: self.__unsafe_private_named.9, + description: self.__unsafe_private_named.10, + director: self.__unsafe_private_named.11, + disambiguating_description: self.__unsafe_private_named.12, + door_time: self.__unsafe_private_named.13, + duration: self.__unsafe_private_named.14, + end_date: self.__unsafe_private_named.15, + event_attendance_mode: self.__unsafe_private_named.16, + event_schedule: self.__unsafe_private_named.17, + event_status: self.__unsafe_private_named.18, + funder: self.__unsafe_private_named.19, + funding: self.__unsafe_private_named.20, + identifier: self.__unsafe_private_named.21, + image: self.__unsafe_private_named.22, + in_language: self.__unsafe_private_named.23, + is_accessible_for_free: self.__unsafe_private_named.24, + keywords: self.__unsafe_private_named.25, + location: self.__unsafe_private_named.26, + main_entity_of_page: self.__unsafe_private_named.27, + maximum_attendee_capacity: self.__unsafe_private_named.28, + maximum_physical_attendee_capacity: self.__unsafe_private_named.29, + maximum_virtual_attendee_capacity: self.__unsafe_private_named.30, + name: self.__unsafe_private_named.31, + offers: self.__unsafe_private_named.32, + organizer: self.__unsafe_private_named.33, + performer: self.__unsafe_private_named.34, + performers: self.__unsafe_private_named.35, + potential_action: self.__unsafe_private_named.36, + previous_start_date: self.__unsafe_private_named.37, + recorded_in: self.__unsafe_private_named.38, + remaining_attendee_capacity: self.__unsafe_private_named.39, + review: self.__unsafe_private_named.40, + same_as: self.__unsafe_private_named.41, + sponsor: self.__unsafe_private_named.42, + start_date: self.__unsafe_private_named.43, + sub_event: self.__unsafe_private_named.44, + sub_events: self.__unsafe_private_named.45, + subject_of: self.__unsafe_private_named.46, + super_event: self.__unsafe_private_named.47, + translator: self.__unsafe_private_named.48, + typical_age_range: self.__unsafe_private_named.49, + url: self.__unsafe_private_named.50, + work_featured: self.__unsafe_private_named.51, + work_performed: self.__unsafe_private_named.52, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> MusicEvent<'a> { + MusicEvent { + about: self.__unsafe_private_named.0, + actor: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + aggregate_rating: self.__unsafe_private_named.3, + alternate_name: self.__unsafe_private_named.4, + attendee: self.__unsafe_private_named.5, + attendees: self.__unsafe_private_named.6, + audience: self.__unsafe_private_named.7, + composer: self.__unsafe_private_named.8, + contributor: self.__unsafe_private_named.9, + description: self.__unsafe_private_named.10, + director: self.__unsafe_private_named.11, + disambiguating_description: self.__unsafe_private_named.12, + door_time: self.__unsafe_private_named.13, + duration: self.__unsafe_private_named.14, + end_date: self.__unsafe_private_named.15, + event_attendance_mode: self.__unsafe_private_named.16, + event_schedule: self.__unsafe_private_named.17, + event_status: self.__unsafe_private_named.18, + funder: self.__unsafe_private_named.19, + funding: self.__unsafe_private_named.20, + identifier: self.__unsafe_private_named.21, + image: self.__unsafe_private_named.22, + in_language: self.__unsafe_private_named.23, + is_accessible_for_free: self.__unsafe_private_named.24, + keywords: self.__unsafe_private_named.25, + location: self.__unsafe_private_named.26, + main_entity_of_page: self.__unsafe_private_named.27, + maximum_attendee_capacity: self.__unsafe_private_named.28, + maximum_physical_attendee_capacity: self.__unsafe_private_named.29, + maximum_virtual_attendee_capacity: self.__unsafe_private_named.30, + name: self.__unsafe_private_named.31, + offers: self.__unsafe_private_named.32, + organizer: self.__unsafe_private_named.33, + performer: self.__unsafe_private_named.34, + performers: self.__unsafe_private_named.35, + potential_action: self.__unsafe_private_named.36, + previous_start_date: self.__unsafe_private_named.37, + recorded_in: self.__unsafe_private_named.38, + remaining_attendee_capacity: self.__unsafe_private_named.39, + review: self.__unsafe_private_named.40, + same_as: self.__unsafe_private_named.41, + sponsor: self.__unsafe_private_named.42, + start_date: self.__unsafe_private_named.43, + sub_event: self.__unsafe_private_named.44, + sub_events: self.__unsafe_private_named.45, + subject_of: self.__unsafe_private_named.46, + super_event: self.__unsafe_private_named.47, + translator: self.__unsafe_private_named.48, + typical_age_range: self.__unsafe_private_named.49, + url: self.__unsafe_private_named.50, + work_featured: self.__unsafe_private_named.51, + work_performed: self.__unsafe_private_named.52, + extra_data: Some(extra_data), + } + } +} + +impl<'a> MusicEvent<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, MusicEventRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAttendee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAttendees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventComposer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventDoorTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventEventAttendanceMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventEventSchedule<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventEventStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventMaximumPhysicalAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventMaximumVirtualAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventOrganizer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventPerformer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventPerformers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventPreviousStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventRecordedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventRemainingAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventSubEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventSubEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventSuperEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventWorkFeatured<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicEventWorkPerformed<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct MusicEventGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: MusicEvent<'a>, +} + +impl From> for MusicEvent<'_> { + fn from(output: MusicEventGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for MusicEvent<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.MusicEvent"; + type Record = MusicEventRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct MusicEventRecord; +impl jacquard_common::xrpc::XrpcResp for MusicEventRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.MusicEvent"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = MusicEventGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for MusicEventRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.MusicEvent"; + type Record = MusicEventRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MusicEvent<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.MusicEvent" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs new file mode 100644 index 00000000..c3f0123f --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs @@ -0,0 +1,7894 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.MusicGroup +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + EmbeddedActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + EmbeddedAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub album: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub albums: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + EmbeddedDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + EmbeddedHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_group_member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub track: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tracks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlbum<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlbums<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMusicGroupMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTrack<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTracks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVatId<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.MusicGroup", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicAlbum#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#albumList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("albums"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicAlbum#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#albumsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "musicGroupMember", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#musicGroupMemberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("track"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#trackList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#tracksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("album"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicAlbum#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#albumList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("albums"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicAlbum#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#albumsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "founders", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "memberOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "musicGroupMember", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#musicGroupMemberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("track"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#trackList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tracks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#tracksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.musicGroup#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.MusicGroup" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct MusicGroup<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option< + MusicGroupAcceptedPaymentMethod<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + MusicGroupActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + MusicGroupAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub album: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub albums: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + MusicGroupDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + MusicGroupDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + MusicGroupHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + MusicGroupHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_group_member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub track: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tracks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +pub mod music_group_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 MusicGroupBuilder<'a, S: music_group_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> MusicGroup<'a> { + /// Create a new builder for this type + pub fn new() -> MusicGroupBuilder<'a, music_group_state::Empty> { + MusicGroupBuilder::new() + } +} + +impl<'a> MusicGroupBuilder<'a, music_group_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + MusicGroupBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `acceptedPaymentMethod` field (optional) + pub fn accepted_payment_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `acceptedPaymentMethod` field to an Option value (optional) + pub fn maybe_accepted_payment_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `actionableFeedbackPolicy` field (optional) + pub fn actionable_feedback_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actionableFeedbackPolicy` field to an Option value (optional) + pub fn maybe_actionable_feedback_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `address` field (optional) + pub fn address(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `address` field to an Option value (optional) + pub fn maybe_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `agentInteractionStatistic` field (optional) + pub fn agent_interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `agentInteractionStatistic` field to an Option value (optional) + pub fn maybe_agent_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `album` field (optional) + pub fn album(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `album` field to an Option value (optional) + pub fn maybe_album(mut self, value: Option>) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `albums` field (optional) + pub fn albums(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `albums` field to an Option value (optional) + pub fn maybe_albums(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `alumni` field (optional) + pub fn alumni(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `alumni` field to an Option value (optional) + pub fn maybe_alumni(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `areaServed` field (optional) + pub fn area_served( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `areaServed` field to an Option value (optional) + pub fn maybe_area_served(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `companyRegistration` field (optional) + pub fn company_registration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `companyRegistration` field to an Option value (optional) + pub fn maybe_company_registration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `contactPoint` field (optional) + pub fn contact_point( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `contactPoint` field to an Option value (optional) + pub fn maybe_contact_point( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `contactPoints` field (optional) + pub fn contact_points( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `contactPoints` field to an Option value (optional) + pub fn maybe_contact_points( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `correctionsPolicy` field (optional) + pub fn corrections_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `correctionsPolicy` field to an Option value (optional) + pub fn maybe_corrections_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `department` field (optional) + pub fn department( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `department` field to an Option value (optional) + pub fn maybe_department(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `dissolutionDate` field (optional) + pub fn dissolution_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `dissolutionDate` field to an Option value (optional) + pub fn maybe_dissolution_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `diversityPolicy` field (optional) + pub fn diversity_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `diversityPolicy` field to an Option value (optional) + pub fn maybe_diversity_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `diversityStaffingReport` field (optional) + pub fn diversity_staffing_report( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `diversityStaffingReport` field to an Option value (optional) + pub fn maybe_diversity_staffing_report( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `duns` field (optional) + pub fn duns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `duns` field to an Option value (optional) + pub fn maybe_duns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `email` field (optional) + pub fn email(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `email` field to an Option value (optional) + pub fn maybe_email(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `employee` field (optional) + pub fn employee(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `employee` field to an Option value (optional) + pub fn maybe_employee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `employees` field (optional) + pub fn employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `employees` field to an Option value (optional) + pub fn maybe_employees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `ethicsPolicy` field (optional) + pub fn ethics_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `ethicsPolicy` field to an Option value (optional) + pub fn maybe_ethics_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `event` field (optional) + pub fn event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `event` field to an Option value (optional) + pub fn maybe_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `events` field (optional) + pub fn events(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `events` field to an Option value (optional) + pub fn maybe_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `faxNumber` field (optional) + pub fn fax_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `faxNumber` field to an Option value (optional) + pub fn maybe_fax_number(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `founder` field (optional) + pub fn founder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `founder` field to an Option value (optional) + pub fn maybe_founder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `founders` field (optional) + pub fn founders(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `founders` field to an Option value (optional) + pub fn maybe_founders(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `foundingDate` field (optional) + pub fn founding_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `foundingDate` field to an Option value (optional) + pub fn maybe_founding_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `foundingLocation` field (optional) + pub fn founding_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `foundingLocation` field to an Option value (optional) + pub fn maybe_founding_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `globalLocationNumber` field (optional) + pub fn global_location_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `globalLocationNumber` field to an Option value (optional) + pub fn maybe_global_location_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasCredential` field (optional) + pub fn has_credential( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `hasCredential` field to an Option value (optional) + pub fn maybe_has_credential( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasMemberProgram` field (optional) + pub fn has_member_program( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `hasMemberProgram` field to an Option value (optional) + pub fn maybe_has_member_program( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasOfferCatalog` field (optional) + pub fn has_offer_catalog( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `hasOfferCatalog` field to an Option value (optional) + pub fn maybe_has_offer_catalog( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasPOS` field (optional) + pub fn has_pos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `hasPOS` field to an Option value (optional) + pub fn maybe_has_pos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasProductReturnPolicy` field (optional) + pub fn has_product_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `hasProductReturnPolicy` field to an Option value (optional) + pub fn maybe_has_product_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `hasShippingService` field (optional) + pub fn has_shipping_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `hasShippingService` field to an Option value (optional) + pub fn maybe_has_shipping_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `isicV4` field (optional) + pub fn isic_v4(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `isicV4` field to an Option value (optional) + pub fn maybe_isic_v4(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `iso6523Code` field (optional) + pub fn iso6523_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `iso6523Code` field to an Option value (optional) + pub fn maybe_iso6523_code( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `knowsAbout` field (optional) + pub fn knows_about( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `knowsAbout` field to an Option value (optional) + pub fn maybe_knows_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `knowsLanguage` field (optional) + pub fn knows_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `knowsLanguage` field to an Option value (optional) + pub fn maybe_knows_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `legalAddress` field (optional) + pub fn legal_address( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `legalAddress` field to an Option value (optional) + pub fn maybe_legal_address( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `legalName` field (optional) + pub fn legal_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `legalName` field to an Option value (optional) + pub fn maybe_legal_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `legalRepresentative` field (optional) + pub fn legal_representative( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `legalRepresentative` field to an Option value (optional) + pub fn maybe_legal_representative( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `leiCode` field (optional) + pub fn lei_code(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `leiCode` field to an Option value (optional) + pub fn maybe_lei_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `makesOffer` field (optional) + pub fn makes_offer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `makesOffer` field to an Option value (optional) + pub fn maybe_makes_offer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `member` field (optional) + pub fn member(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `member` field to an Option value (optional) + pub fn maybe_member(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `memberOf` field (optional) + pub fn member_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `memberOf` field to an Option value (optional) + pub fn maybe_member_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `members` field (optional) + pub fn members(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `members` field to an Option value (optional) + pub fn maybe_members(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `musicGroupMember` field (optional) + pub fn music_group_member( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `musicGroupMember` field to an Option value (optional) + pub fn maybe_music_group_member( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `naics` field (optional) + pub fn naics(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `naics` field to an Option value (optional) + pub fn maybe_naics(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `nonprofitStatus` field (optional) + pub fn nonprofit_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `nonprofitStatus` field to an Option value (optional) + pub fn maybe_nonprofit_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `numberOfEmployees` field (optional) + pub fn number_of_employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `numberOfEmployees` field to an Option value (optional) + pub fn maybe_number_of_employees( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `ownershipFundingInfo` field (optional) + pub fn ownership_funding_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `ownershipFundingInfo` field to an Option value (optional) + pub fn maybe_ownership_funding_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `owns` field (optional) + pub fn owns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `owns` field to an Option value (optional) + pub fn maybe_owns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `parentOrganization` field (optional) + pub fn parent_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `parentOrganization` field to an Option value (optional) + pub fn maybe_parent_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `seeks` field (optional) + pub fn seeks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `seeks` field to an Option value (optional) + pub fn maybe_seeks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `serviceArea` field (optional) + pub fn service_area( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `serviceArea` field to an Option value (optional) + pub fn maybe_service_area( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `skills` field (optional) + pub fn skills(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `skills` field to an Option value (optional) + pub fn maybe_skills(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `subOrganization` field (optional) + pub fn sub_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `subOrganization` field to an Option value (optional) + pub fn maybe_sub_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `taxID` field (optional) + pub fn tax_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `taxID` field to an Option value (optional) + pub fn maybe_tax_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `telephone` field (optional) + pub fn telephone( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `telephone` field to an Option value (optional) + pub fn maybe_telephone(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `track` field (optional) + pub fn track(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `track` field to an Option value (optional) + pub fn maybe_track(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `tracks` field (optional) + pub fn tracks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `tracks` field to an Option value (optional) + pub fn maybe_tracks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `unnamedSourcesPolicy` field (optional) + pub fn unnamed_sources_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `unnamedSourcesPolicy` field to an Option value (optional) + pub fn maybe_unnamed_sources_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: music_group_state::State> MusicGroupBuilder<'a, S> { + /// Set the `vatID` field (optional) + pub fn vat_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `vatID` field to an Option value (optional) + pub fn maybe_vat_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S> MusicGroupBuilder<'a, S> +where + S: music_group_state::State, +{ + /// Build the final struct + pub fn build(self) -> MusicGroup<'a> { + MusicGroup { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + address: self.__unsafe_private_named.3, + agent_interaction_statistic: self.__unsafe_private_named.4, + aggregate_rating: self.__unsafe_private_named.5, + album: self.__unsafe_private_named.6, + albums: self.__unsafe_private_named.7, + alternate_name: self.__unsafe_private_named.8, + alumni: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + award: self.__unsafe_private_named.11, + awards: self.__unsafe_private_named.12, + brand: self.__unsafe_private_named.13, + company_registration: self.__unsafe_private_named.14, + contact_point: self.__unsafe_private_named.15, + contact_points: self.__unsafe_private_named.16, + corrections_policy: self.__unsafe_private_named.17, + department: self.__unsafe_private_named.18, + description: self.__unsafe_private_named.19, + disambiguating_description: self.__unsafe_private_named.20, + dissolution_date: self.__unsafe_private_named.21, + diversity_policy: self.__unsafe_private_named.22, + diversity_staffing_report: self.__unsafe_private_named.23, + duns: self.__unsafe_private_named.24, + email: self.__unsafe_private_named.25, + employee: self.__unsafe_private_named.26, + employees: self.__unsafe_private_named.27, + ethics_policy: self.__unsafe_private_named.28, + event: self.__unsafe_private_named.29, + events: self.__unsafe_private_named.30, + fax_number: self.__unsafe_private_named.31, + founder: self.__unsafe_private_named.32, + founders: self.__unsafe_private_named.33, + founding_date: self.__unsafe_private_named.34, + founding_location: self.__unsafe_private_named.35, + funder: self.__unsafe_private_named.36, + funding: self.__unsafe_private_named.37, + genre: self.__unsafe_private_named.38, + global_location_number: self.__unsafe_private_named.39, + has_certification: self.__unsafe_private_named.40, + has_credential: self.__unsafe_private_named.41, + has_gs1_digital_link: self.__unsafe_private_named.42, + has_member_program: self.__unsafe_private_named.43, + has_merchant_return_policy: self.__unsafe_private_named.44, + has_offer_catalog: self.__unsafe_private_named.45, + has_pos: self.__unsafe_private_named.46, + has_product_return_policy: self.__unsafe_private_named.47, + has_shipping_service: self.__unsafe_private_named.48, + identifier: self.__unsafe_private_named.49, + image: self.__unsafe_private_named.50, + interaction_statistic: self.__unsafe_private_named.51, + isic_v4: self.__unsafe_private_named.52, + iso6523_code: self.__unsafe_private_named.53, + keywords: self.__unsafe_private_named.54, + knows_about: self.__unsafe_private_named.55, + knows_language: self.__unsafe_private_named.56, + legal_address: self.__unsafe_private_named.57, + legal_name: self.__unsafe_private_named.58, + legal_representative: self.__unsafe_private_named.59, + lei_code: self.__unsafe_private_named.60, + location: self.__unsafe_private_named.61, + logo: self.__unsafe_private_named.62, + main_entity_of_page: self.__unsafe_private_named.63, + makes_offer: self.__unsafe_private_named.64, + member: self.__unsafe_private_named.65, + member_of: self.__unsafe_private_named.66, + members: self.__unsafe_private_named.67, + music_group_member: self.__unsafe_private_named.68, + naics: self.__unsafe_private_named.69, + name: self.__unsafe_private_named.70, + nonprofit_status: self.__unsafe_private_named.71, + number_of_employees: self.__unsafe_private_named.72, + ownership_funding_info: self.__unsafe_private_named.73, + owns: self.__unsafe_private_named.74, + parent_organization: self.__unsafe_private_named.75, + potential_action: self.__unsafe_private_named.76, + publishing_principles: self.__unsafe_private_named.77, + review: self.__unsafe_private_named.78, + reviews: self.__unsafe_private_named.79, + same_as: self.__unsafe_private_named.80, + seeks: self.__unsafe_private_named.81, + service_area: self.__unsafe_private_named.82, + skills: self.__unsafe_private_named.83, + slogan: self.__unsafe_private_named.84, + sponsor: self.__unsafe_private_named.85, + sub_organization: self.__unsafe_private_named.86, + subject_of: self.__unsafe_private_named.87, + tax_id: self.__unsafe_private_named.88, + telephone: self.__unsafe_private_named.89, + track: self.__unsafe_private_named.90, + tracks: self.__unsafe_private_named.91, + unnamed_sources_policy: self.__unsafe_private_named.92, + url: self.__unsafe_private_named.93, + vat_id: self.__unsafe_private_named.94, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> MusicGroup<'a> { + MusicGroup { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + address: self.__unsafe_private_named.3, + agent_interaction_statistic: self.__unsafe_private_named.4, + aggregate_rating: self.__unsafe_private_named.5, + album: self.__unsafe_private_named.6, + albums: self.__unsafe_private_named.7, + alternate_name: self.__unsafe_private_named.8, + alumni: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + award: self.__unsafe_private_named.11, + awards: self.__unsafe_private_named.12, + brand: self.__unsafe_private_named.13, + company_registration: self.__unsafe_private_named.14, + contact_point: self.__unsafe_private_named.15, + contact_points: self.__unsafe_private_named.16, + corrections_policy: self.__unsafe_private_named.17, + department: self.__unsafe_private_named.18, + description: self.__unsafe_private_named.19, + disambiguating_description: self.__unsafe_private_named.20, + dissolution_date: self.__unsafe_private_named.21, + diversity_policy: self.__unsafe_private_named.22, + diversity_staffing_report: self.__unsafe_private_named.23, + duns: self.__unsafe_private_named.24, + email: self.__unsafe_private_named.25, + employee: self.__unsafe_private_named.26, + employees: self.__unsafe_private_named.27, + ethics_policy: self.__unsafe_private_named.28, + event: self.__unsafe_private_named.29, + events: self.__unsafe_private_named.30, + fax_number: self.__unsafe_private_named.31, + founder: self.__unsafe_private_named.32, + founders: self.__unsafe_private_named.33, + founding_date: self.__unsafe_private_named.34, + founding_location: self.__unsafe_private_named.35, + funder: self.__unsafe_private_named.36, + funding: self.__unsafe_private_named.37, + genre: self.__unsafe_private_named.38, + global_location_number: self.__unsafe_private_named.39, + has_certification: self.__unsafe_private_named.40, + has_credential: self.__unsafe_private_named.41, + has_gs1_digital_link: self.__unsafe_private_named.42, + has_member_program: self.__unsafe_private_named.43, + has_merchant_return_policy: self.__unsafe_private_named.44, + has_offer_catalog: self.__unsafe_private_named.45, + has_pos: self.__unsafe_private_named.46, + has_product_return_policy: self.__unsafe_private_named.47, + has_shipping_service: self.__unsafe_private_named.48, + identifier: self.__unsafe_private_named.49, + image: self.__unsafe_private_named.50, + interaction_statistic: self.__unsafe_private_named.51, + isic_v4: self.__unsafe_private_named.52, + iso6523_code: self.__unsafe_private_named.53, + keywords: self.__unsafe_private_named.54, + knows_about: self.__unsafe_private_named.55, + knows_language: self.__unsafe_private_named.56, + legal_address: self.__unsafe_private_named.57, + legal_name: self.__unsafe_private_named.58, + legal_representative: self.__unsafe_private_named.59, + lei_code: self.__unsafe_private_named.60, + location: self.__unsafe_private_named.61, + logo: self.__unsafe_private_named.62, + main_entity_of_page: self.__unsafe_private_named.63, + makes_offer: self.__unsafe_private_named.64, + member: self.__unsafe_private_named.65, + member_of: self.__unsafe_private_named.66, + members: self.__unsafe_private_named.67, + music_group_member: self.__unsafe_private_named.68, + naics: self.__unsafe_private_named.69, + name: self.__unsafe_private_named.70, + nonprofit_status: self.__unsafe_private_named.71, + number_of_employees: self.__unsafe_private_named.72, + ownership_funding_info: self.__unsafe_private_named.73, + owns: self.__unsafe_private_named.74, + parent_organization: self.__unsafe_private_named.75, + potential_action: self.__unsafe_private_named.76, + publishing_principles: self.__unsafe_private_named.77, + review: self.__unsafe_private_named.78, + reviews: self.__unsafe_private_named.79, + same_as: self.__unsafe_private_named.80, + seeks: self.__unsafe_private_named.81, + service_area: self.__unsafe_private_named.82, + skills: self.__unsafe_private_named.83, + slogan: self.__unsafe_private_named.84, + sponsor: self.__unsafe_private_named.85, + sub_organization: self.__unsafe_private_named.86, + subject_of: self.__unsafe_private_named.87, + tax_id: self.__unsafe_private_named.88, + telephone: self.__unsafe_private_named.89, + track: self.__unsafe_private_named.90, + tracks: self.__unsafe_private_named.91, + unnamed_sources_policy: self.__unsafe_private_named.92, + url: self.__unsafe_private_named.93, + vat_id: self.__unsafe_private_named.94, + extra_data: Some(extra_data), + } + } +} + +impl<'a> MusicGroup<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, MusicGroupRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAlbum<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAlbums<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupMusicGroupMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupTrack<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupTracks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum MusicGroupVatId<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct MusicGroupGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: MusicGroup<'a>, +} + +impl From> for MusicGroup<'_> { + fn from(output: MusicGroupGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for MusicGroup<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.MusicGroup"; + type Record = MusicGroupRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct MusicGroupRecord; +impl jacquard_common::xrpc::XrpcResp for MusicGroupRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.MusicGroup"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = MusicGroupGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for MusicGroupRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.MusicGroup"; + type Record = MusicGroupRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for MusicGroup<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.MusicGroup" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs new file mode 100644 index 00000000..80a70646 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs @@ -0,0 +1,8437 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.NewsArticle +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/** A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news. + +A more detailed overview of [schema.org News markup](/docs/news.html) is also available.*/ +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dateline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_column: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_edition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPrintColumn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPrintEdition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPrintPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPrintSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.NewsArticle", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news.\n\nA more detailed overview of [schema.org News markup](/docs/news.html) is also available.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("dateline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datelineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datelineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printColumn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printColumnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printColumnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printEdition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printEditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printEditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news.\n\nA more detailed overview of [schema.org News markup](/docs/news.html) is also available.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("dateline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datelineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#datelineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printColumn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printColumnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printColumnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printEdition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printEditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printEditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "printSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#printSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.newsArticle#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.NewsArticle" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/** A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news. + +A more detailed overview of [schema.org News markup](/docs/news.html) is also available.*/ +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct NewsArticle<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dateline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + NewsArticleDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_column: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_edition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub print_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDateline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePrintColumn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePrintEdition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePrintPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePrintSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticlePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum NewsArticleWorkTranslation<'a> {} +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for NewsArticle<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.NewsArticle" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs new file mode 100644 index 00000000..580142c7 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs @@ -0,0 +1,5524 @@ +// @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. + +/// 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/). +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub add_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub advance_booking_requirement: std::option::Option< + EmbeddedAdvanceBookingRequirement<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub asin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub availability: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub availability_ends: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub availability_starts: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub available_at_or_from: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub available_delivery_method: std::option::Option< + EmbeddedAvailableDeliveryMethod<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub business_function: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub category: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub checkout_page_url_template: std::option::Option< + EmbeddedCheckoutPageUrlTemplate<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub delivery_lead_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_customer_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_quantity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_region: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_transaction_volume: std::option::Option< + EmbeddedEligibleTransactionVolume<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin12: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin13: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin14: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin8: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_adult_consideration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_measurement: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub includes_object: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ineligible_region: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub inventory_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub item_condition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub item_offered: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lease_length: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mobile_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mpn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_currency: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_specification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_valid_until: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seller: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub serial_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub shipping_details: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sku: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub valid_for_member_tier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub valid_from: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub valid_through: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub warranty: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdvanceBookingRequirement<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAsin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAvailability<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAvailabilityEnds<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAvailabilityStarts<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAvailableAtOrFrom<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAvailableDeliveryMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBusinessFunction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCategory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCheckoutPageUrlTemplate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDeliveryLeadTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEligibleCustomerType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEligibleDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEligibleQuantity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEligibleRegion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEligibleTransactionVolume<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin12<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin13<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin14<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin8<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasAdultConsideration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMeasurement<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIncludesObject<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIneligibleRegion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInventoryLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedItemCondition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedItemOffered<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLeaseLength<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMobileUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMpn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOfferedBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPrice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPriceCurrency<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPriceSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPriceValidUntil<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeller<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSerialNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedShippingDetails<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSku<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedValidForMemberTier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedValidFrom<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedValidThrough<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWarranty<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Offer", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::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/).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("addOn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#addOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "advanceBookingRequirement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#advanceBookingRequirementList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availability", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemAvailability#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availabilityEnds", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availabilityStarts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availableAtOrFrom", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableAtOrFromList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availableDeliveryMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DeliveryMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "businessFunction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.BusinessFunction#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CategoryCode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PhysicalActivityCategory#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#categoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#categoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "checkoutPageURLTemplate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "deliveryLeadTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#deliveryLeadTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleCustomerType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.BusinessEntityType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleDuration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleDurationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleQuantity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleQuantityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleRegion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleTransactionVolume", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleTransactionVolumeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin8Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin8List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasAdultConsideration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdultOrientedEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasAdultConsiderationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasAdultConsiderationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMeasurement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasMeasurementList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "includesObject", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TypeAndQuantityNode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#includesObjectList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ineligibleRegion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inventoryLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#inventoryLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "itemCondition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferItemCondition#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemConditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemConditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "itemOffered", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateOffer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MenuItem#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Trip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemOfferedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "leaseLength", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mobileUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "offeredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#offeredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("price"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceCurrency", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceValidUntil", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seller"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#sellerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serialNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "shippingDetails", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferShippingDetails#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#shippingDetailsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "validForMemberTier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validForMemberTierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "validFrom", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "validThrough", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("warranty"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WarrantyPromise#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#warrantyList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::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/).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("addOn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#addOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "advanceBookingRequirement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#advanceBookingRequirementList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availability", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemAvailability#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availabilityEnds", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availabilityStarts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availableAtOrFrom", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableAtOrFromList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "availableDeliveryMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DeliveryMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "businessFunction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.BusinessFunction#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "category", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CategoryCode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PhysicalActivityCategory#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#categoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#categoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "checkoutPageURLTemplate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "deliveryLeadTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#deliveryLeadTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleCustomerType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.BusinessEntityType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleDuration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleDurationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleQuantity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleQuantityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleRegion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "eligibleTransactionVolume", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleTransactionVolumeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin8Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin8List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasAdultConsideration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdultOrientedEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasAdultConsiderationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasAdultConsiderationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMeasurement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasMeasurementList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "includesObject", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TypeAndQuantityNode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#includesObjectList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ineligibleRegion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inventoryLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#inventoryLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "itemCondition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferItemCondition#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemConditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemConditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "itemOffered", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateOffer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MenuItem#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Trip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemOfferedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "leaseLength", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mobileUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "offeredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#offeredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("price"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceCurrency", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceValidUntil", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seller"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#sellerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serialNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "shippingDetails", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferShippingDetails#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#shippingDetailsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "validForMemberTier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validForMemberTierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "validFrom", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "validThrough", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "warranty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WarrantyPromise#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.offer#warrantyList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Offer" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Offer() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Offer<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub add_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub advance_booking_requirement: std::option::Option< + OfferAdvanceBookingRequirement<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub asin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub availability: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub availability_ends: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub availability_starts: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub available_at_or_from: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub available_delivery_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub business_function: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub category: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub checkout_page_url_template: std::option::Option< + OfferCheckoutPageUrlTemplate<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub delivery_lead_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + OfferDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_customer_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_quantity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_region: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub eligible_transaction_volume: std::option::Option< + OfferEligibleTransactionVolume<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin12: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin13: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin14: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin8: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_adult_consideration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_measurement: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + OfferHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub includes_object: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ineligible_region: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub inventory_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub item_condition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub item_offered: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lease_length: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mobile_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mpn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_currency: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_specification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_valid_until: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seller: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub serial_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub shipping_details: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sku: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub valid_for_member_tier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub valid_from: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub valid_through: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub warranty: std::option::Option>, +} + +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<'a, S: offer_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Offer<'a> { + /// Create a new builder for this type + pub fn new() -> OfferBuilder<'a, offer_state::Empty> { + OfferBuilder::new() + } +} + +impl<'a> OfferBuilder<'a, offer_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + OfferBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `acceptedPaymentMethod` field (optional) + pub fn accepted_payment_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `acceptedPaymentMethod` field to an Option value (optional) + pub fn maybe_accepted_payment_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `addOn` field (optional) + pub fn add_on(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `addOn` field to an Option value (optional) + pub fn maybe_add_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `additionalProperty` field (optional) + pub fn additional_property( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalProperty` field to an Option value (optional) + pub fn maybe_additional_property( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `advanceBookingRequirement` field (optional) + pub fn advance_booking_requirement( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `advanceBookingRequirement` field to an Option value (optional) + pub fn maybe_advance_booking_requirement( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `areaServed` field (optional) + pub fn area_served(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `areaServed` field to an Option value (optional) + pub fn maybe_area_served(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `asin` field (optional) + pub fn asin(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `asin` field to an Option value (optional) + pub fn maybe_asin(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `availability` field (optional) + pub fn availability( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `availability` field to an Option value (optional) + pub fn maybe_availability(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `availabilityEnds` field (optional) + pub fn availability_ends( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `availabilityEnds` field to an Option value (optional) + pub fn maybe_availability_ends( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `availabilityStarts` field (optional) + pub fn availability_starts( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `availabilityStarts` field to an Option value (optional) + pub fn maybe_availability_starts( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `availableAtOrFrom` field (optional) + pub fn available_at_or_from( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `availableAtOrFrom` field to an Option value (optional) + pub fn maybe_available_at_or_from( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `availableDeliveryMethod` field (optional) + pub fn available_delivery_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `availableDeliveryMethod` field to an Option value (optional) + pub fn maybe_available_delivery_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `businessFunction` field (optional) + pub fn business_function( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `businessFunction` field to an Option value (optional) + pub fn maybe_business_function( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `category` field (optional) + pub fn category(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `category` field to an Option value (optional) + pub fn maybe_category(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `checkoutPageURLTemplate` field (optional) + pub fn checkout_page_url_template( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `checkoutPageURLTemplate` field to an Option value (optional) + pub fn maybe_checkout_page_url_template( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `deliveryLeadTime` field (optional) + pub fn delivery_lead_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `deliveryLeadTime` field to an Option value (optional) + pub fn maybe_delivery_lead_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `eligibleCustomerType` field (optional) + pub fn eligible_customer_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `eligibleCustomerType` field to an Option value (optional) + pub fn maybe_eligible_customer_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `eligibleDuration` field (optional) + pub fn eligible_duration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `eligibleDuration` field to an Option value (optional) + pub fn maybe_eligible_duration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `eligibleQuantity` field (optional) + pub fn eligible_quantity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `eligibleQuantity` field to an Option value (optional) + pub fn maybe_eligible_quantity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `eligibleRegion` field (optional) + pub fn eligible_region( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `eligibleRegion` field to an Option value (optional) + pub fn maybe_eligible_region( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `eligibleTransactionVolume` field (optional) + pub fn eligible_transaction_volume( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `eligibleTransactionVolume` field to an Option value (optional) + pub fn maybe_eligible_transaction_volume( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `gtin` field (optional) + pub fn gtin(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `gtin` field to an Option value (optional) + pub fn maybe_gtin(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `gtin12` field (optional) + pub fn gtin12(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `gtin12` field to an Option value (optional) + pub fn maybe_gtin12(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `gtin13` field (optional) + pub fn gtin13(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `gtin13` field to an Option value (optional) + pub fn maybe_gtin13(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `gtin14` field (optional) + pub fn gtin14(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `gtin14` field to an Option value (optional) + pub fn maybe_gtin14(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `gtin8` field (optional) + pub fn gtin8(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `gtin8` field to an Option value (optional) + pub fn maybe_gtin8(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `hasAdultConsideration` field (optional) + pub fn has_adult_consideration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `hasAdultConsideration` field to an Option value (optional) + pub fn maybe_has_adult_consideration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `hasMeasurement` field (optional) + pub fn has_measurement( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `hasMeasurement` field to an Option value (optional) + pub fn maybe_has_measurement( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `includesObject` field (optional) + pub fn includes_object( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `includesObject` field to an Option value (optional) + pub fn maybe_includes_object( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `ineligibleRegion` field (optional) + pub fn ineligible_region( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `ineligibleRegion` field to an Option value (optional) + pub fn maybe_ineligible_region( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `inventoryLevel` field (optional) + pub fn inventory_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `inventoryLevel` field to an Option value (optional) + pub fn maybe_inventory_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `itemCondition` field (optional) + pub fn item_condition( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `itemCondition` field to an Option value (optional) + pub fn maybe_item_condition( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `itemOffered` field (optional) + pub fn item_offered( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `itemOffered` field to an Option value (optional) + pub fn maybe_item_offered(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `leaseLength` field (optional) + pub fn lease_length( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `leaseLength` field to an Option value (optional) + pub fn maybe_lease_length(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `mobileUrl` field (optional) + pub fn mobile_url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `mobileUrl` field to an Option value (optional) + pub fn maybe_mobile_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `mpn` field (optional) + pub fn mpn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `mpn` field to an Option value (optional) + pub fn maybe_mpn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `offeredBy` field (optional) + pub fn offered_by(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `offeredBy` field to an Option value (optional) + pub fn maybe_offered_by(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `price` field (optional) + pub fn price(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `price` field to an Option value (optional) + pub fn maybe_price(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `priceCurrency` field (optional) + pub fn price_currency( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `priceCurrency` field to an Option value (optional) + pub fn maybe_price_currency( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `priceSpecification` field (optional) + pub fn price_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `priceSpecification` field to an Option value (optional) + pub fn maybe_price_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `priceValidUntil` field (optional) + pub fn price_valid_until( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `priceValidUntil` field to an Option value (optional) + pub fn maybe_price_valid_until( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `seller` field (optional) + pub fn seller(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `seller` field to an Option value (optional) + pub fn maybe_seller(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `serialNumber` field (optional) + pub fn serial_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `serialNumber` field to an Option value (optional) + pub fn maybe_serial_number(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `shippingDetails` field (optional) + pub fn shipping_details( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `shippingDetails` field to an Option value (optional) + pub fn maybe_shipping_details( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `sku` field (optional) + pub fn sku(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `sku` field to an Option value (optional) + pub fn maybe_sku(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `validForMemberTier` field (optional) + pub fn valid_for_member_tier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `validForMemberTier` field to an Option value (optional) + pub fn maybe_valid_for_member_tier( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `validFrom` field (optional) + pub fn valid_from(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `validFrom` field to an Option value (optional) + pub fn maybe_valid_from(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `validThrough` field (optional) + pub fn valid_through( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `validThrough` field to an Option value (optional) + pub fn maybe_valid_through(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: offer_state::State> OfferBuilder<'a, S> { + /// Set the `warranty` field (optional) + pub fn warranty(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `warranty` field to an Option value (optional) + pub fn maybe_warranty(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S> OfferBuilder<'a, S> +where + S: offer_state::State, +{ + /// Build the final struct + pub fn build(self) -> Offer<'a> { + Offer { + accepted_payment_method: self.__unsafe_private_named.0, + add_on: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + advance_booking_requirement: self.__unsafe_private_named.4, + aggregate_rating: self.__unsafe_private_named.5, + alternate_name: self.__unsafe_private_named.6, + area_served: self.__unsafe_private_named.7, + asin: self.__unsafe_private_named.8, + availability: self.__unsafe_private_named.9, + availability_ends: self.__unsafe_private_named.10, + availability_starts: self.__unsafe_private_named.11, + available_at_or_from: self.__unsafe_private_named.12, + available_delivery_method: self.__unsafe_private_named.13, + business_function: self.__unsafe_private_named.14, + category: self.__unsafe_private_named.15, + checkout_page_url_template: self.__unsafe_private_named.16, + delivery_lead_time: self.__unsafe_private_named.17, + description: self.__unsafe_private_named.18, + disambiguating_description: self.__unsafe_private_named.19, + eligible_customer_type: self.__unsafe_private_named.20, + eligible_duration: self.__unsafe_private_named.21, + eligible_quantity: self.__unsafe_private_named.22, + eligible_region: self.__unsafe_private_named.23, + eligible_transaction_volume: self.__unsafe_private_named.24, + gtin: self.__unsafe_private_named.25, + gtin12: self.__unsafe_private_named.26, + gtin13: self.__unsafe_private_named.27, + gtin14: self.__unsafe_private_named.28, + gtin8: self.__unsafe_private_named.29, + has_adult_consideration: self.__unsafe_private_named.30, + has_gs1_digital_link: self.__unsafe_private_named.31, + has_measurement: self.__unsafe_private_named.32, + has_merchant_return_policy: self.__unsafe_private_named.33, + identifier: self.__unsafe_private_named.34, + image: self.__unsafe_private_named.35, + includes_object: self.__unsafe_private_named.36, + ineligible_region: self.__unsafe_private_named.37, + inventory_level: self.__unsafe_private_named.38, + is_family_friendly: self.__unsafe_private_named.39, + item_condition: self.__unsafe_private_named.40, + item_offered: self.__unsafe_private_named.41, + lease_length: self.__unsafe_private_named.42, + main_entity_of_page: self.__unsafe_private_named.43, + mobile_url: self.__unsafe_private_named.44, + mpn: self.__unsafe_private_named.45, + name: self.__unsafe_private_named.46, + offered_by: self.__unsafe_private_named.47, + potential_action: self.__unsafe_private_named.48, + price: self.__unsafe_private_named.49, + price_currency: self.__unsafe_private_named.50, + price_specification: self.__unsafe_private_named.51, + price_valid_until: self.__unsafe_private_named.52, + review: self.__unsafe_private_named.53, + reviews: self.__unsafe_private_named.54, + same_as: self.__unsafe_private_named.55, + seller: self.__unsafe_private_named.56, + serial_number: self.__unsafe_private_named.57, + shipping_details: self.__unsafe_private_named.58, + sku: self.__unsafe_private_named.59, + subject_of: self.__unsafe_private_named.60, + url: self.__unsafe_private_named.61, + valid_for_member_tier: self.__unsafe_private_named.62, + valid_from: self.__unsafe_private_named.63, + valid_through: self.__unsafe_private_named.64, + warranty: self.__unsafe_private_named.65, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Offer<'a> { + Offer { + accepted_payment_method: self.__unsafe_private_named.0, + add_on: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + advance_booking_requirement: self.__unsafe_private_named.4, + aggregate_rating: self.__unsafe_private_named.5, + alternate_name: self.__unsafe_private_named.6, + area_served: self.__unsafe_private_named.7, + asin: self.__unsafe_private_named.8, + availability: self.__unsafe_private_named.9, + availability_ends: self.__unsafe_private_named.10, + availability_starts: self.__unsafe_private_named.11, + available_at_or_from: self.__unsafe_private_named.12, + available_delivery_method: self.__unsafe_private_named.13, + business_function: self.__unsafe_private_named.14, + category: self.__unsafe_private_named.15, + checkout_page_url_template: self.__unsafe_private_named.16, + delivery_lead_time: self.__unsafe_private_named.17, + description: self.__unsafe_private_named.18, + disambiguating_description: self.__unsafe_private_named.19, + eligible_customer_type: self.__unsafe_private_named.20, + eligible_duration: self.__unsafe_private_named.21, + eligible_quantity: self.__unsafe_private_named.22, + eligible_region: self.__unsafe_private_named.23, + eligible_transaction_volume: self.__unsafe_private_named.24, + gtin: self.__unsafe_private_named.25, + gtin12: self.__unsafe_private_named.26, + gtin13: self.__unsafe_private_named.27, + gtin14: self.__unsafe_private_named.28, + gtin8: self.__unsafe_private_named.29, + has_adult_consideration: self.__unsafe_private_named.30, + has_gs1_digital_link: self.__unsafe_private_named.31, + has_measurement: self.__unsafe_private_named.32, + has_merchant_return_policy: self.__unsafe_private_named.33, + identifier: self.__unsafe_private_named.34, + image: self.__unsafe_private_named.35, + includes_object: self.__unsafe_private_named.36, + ineligible_region: self.__unsafe_private_named.37, + inventory_level: self.__unsafe_private_named.38, + is_family_friendly: self.__unsafe_private_named.39, + item_condition: self.__unsafe_private_named.40, + item_offered: self.__unsafe_private_named.41, + lease_length: self.__unsafe_private_named.42, + main_entity_of_page: self.__unsafe_private_named.43, + mobile_url: self.__unsafe_private_named.44, + mpn: self.__unsafe_private_named.45, + name: self.__unsafe_private_named.46, + offered_by: self.__unsafe_private_named.47, + potential_action: self.__unsafe_private_named.48, + price: self.__unsafe_private_named.49, + price_currency: self.__unsafe_private_named.50, + price_specification: self.__unsafe_private_named.51, + price_valid_until: self.__unsafe_private_named.52, + review: self.__unsafe_private_named.53, + reviews: self.__unsafe_private_named.54, + same_as: self.__unsafe_private_named.55, + seller: self.__unsafe_private_named.56, + serial_number: self.__unsafe_private_named.57, + shipping_details: self.__unsafe_private_named.58, + sku: self.__unsafe_private_named.59, + subject_of: self.__unsafe_private_named.60, + url: self.__unsafe_private_named.61, + valid_for_member_tier: self.__unsafe_private_named.62, + valid_from: self.__unsafe_private_named.63, + valid_through: self.__unsafe_private_named.64, + warranty: self.__unsafe_private_named.65, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Offer<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, OfferRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAddOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAdvanceBookingRequirement<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAsin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAvailability<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAvailabilityEnds<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAvailabilityStarts<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAvailableAtOrFrom<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferAvailableDeliveryMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferBusinessFunction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferCategory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferCheckoutPageUrlTemplate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferDeliveryLeadTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferEligibleCustomerType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferEligibleDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferEligibleQuantity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferEligibleRegion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferEligibleTransactionVolume<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferGtin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferGtin12<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferGtin13<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferGtin14<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferGtin8<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferHasAdultConsideration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferHasMeasurement<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferIncludesObject<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferIneligibleRegion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferInventoryLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferItemCondition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferItemOffered<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferLeaseLength<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferMobileUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferMpn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferOfferedBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferPrice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferPriceCurrency<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferPriceSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferPriceValidUntil<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferSeller<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferSerialNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferShippingDetails<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferSku<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferValidForMemberTier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferValidFrom<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferValidThrough<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OfferWarranty<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct OfferGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Offer<'a>, +} + +impl From> for Offer<'_> { + fn from(output: OfferGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Offer<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Offer"; + type Record = OfferRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct OfferRecord; +impl jacquard_common::xrpc::XrpcResp for OfferRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Offer"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = OfferGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for OfferRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Offer"; + type Record = OfferRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Offer<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Offer" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Offer() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs new file mode 100644 index 00000000..e4994bed --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs @@ -0,0 +1,7444 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Organization +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// An organization such as a school, NGO, corporation, club, etc. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + EmbeddedActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + EmbeddedAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + EmbeddedDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + EmbeddedHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVatId<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Organization", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "An organization such as a school, NGO, corporation, club, etc.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "An organization such as a school, NGO, corporation, club, etc.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "founders", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "memberOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Organization" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Organization() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Organization<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option< + OrganizationAcceptedPaymentMethod<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + OrganizationActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + OrganizationAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + OrganizationDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + OrganizationDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option< + OrganizationGlobalLocationNumber<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + OrganizationHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + OrganizationHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option< + OrganizationOwnershipFundingInfo<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option< + OrganizationUnnamedSourcesPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +pub mod organization_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed {} + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty {} + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members {} +} + +/// Builder for constructing an instance of this type +pub struct OrganizationBuilder<'a, S: organization_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Organization<'a> { + /// Create a new builder for this type + pub fn new() -> OrganizationBuilder<'a, organization_state::Empty> { + OrganizationBuilder::new() + } +} + +impl<'a> OrganizationBuilder<'a, organization_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + OrganizationBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `acceptedPaymentMethod` field (optional) + pub fn accepted_payment_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `acceptedPaymentMethod` field to an Option value (optional) + pub fn maybe_accepted_payment_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `actionableFeedbackPolicy` field (optional) + pub fn actionable_feedback_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actionableFeedbackPolicy` field to an Option value (optional) + pub fn maybe_actionable_feedback_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `address` field (optional) + pub fn address(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `address` field to an Option value (optional) + pub fn maybe_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `agentInteractionStatistic` field (optional) + pub fn agent_interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `agentInteractionStatistic` field to an Option value (optional) + pub fn maybe_agent_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `alumni` field (optional) + pub fn alumni(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `alumni` field to an Option value (optional) + pub fn maybe_alumni(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `areaServed` field (optional) + pub fn area_served( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `areaServed` field to an Option value (optional) + pub fn maybe_area_served( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `companyRegistration` field (optional) + pub fn company_registration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `companyRegistration` field to an Option value (optional) + pub fn maybe_company_registration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `contactPoint` field (optional) + pub fn contact_point( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `contactPoint` field to an Option value (optional) + pub fn maybe_contact_point( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `contactPoints` field (optional) + pub fn contact_points( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `contactPoints` field to an Option value (optional) + pub fn maybe_contact_points( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `correctionsPolicy` field (optional) + pub fn corrections_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `correctionsPolicy` field to an Option value (optional) + pub fn maybe_corrections_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `department` field (optional) + pub fn department( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `department` field to an Option value (optional) + pub fn maybe_department( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `dissolutionDate` field (optional) + pub fn dissolution_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `dissolutionDate` field to an Option value (optional) + pub fn maybe_dissolution_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `diversityPolicy` field (optional) + pub fn diversity_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `diversityPolicy` field to an Option value (optional) + pub fn maybe_diversity_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `diversityStaffingReport` field (optional) + pub fn diversity_staffing_report( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `diversityStaffingReport` field to an Option value (optional) + pub fn maybe_diversity_staffing_report( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `duns` field (optional) + pub fn duns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `duns` field to an Option value (optional) + pub fn maybe_duns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `email` field (optional) + pub fn email(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `email` field to an Option value (optional) + pub fn maybe_email(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `employee` field (optional) + pub fn employee( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `employee` field to an Option value (optional) + pub fn maybe_employee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `employees` field (optional) + pub fn employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `employees` field to an Option value (optional) + pub fn maybe_employees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `ethicsPolicy` field (optional) + pub fn ethics_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `ethicsPolicy` field to an Option value (optional) + pub fn maybe_ethics_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `event` field (optional) + pub fn event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `event` field to an Option value (optional) + pub fn maybe_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `events` field (optional) + pub fn events(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `events` field to an Option value (optional) + pub fn maybe_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `faxNumber` field (optional) + pub fn fax_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `faxNumber` field to an Option value (optional) + pub fn maybe_fax_number(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `founder` field (optional) + pub fn founder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `founder` field to an Option value (optional) + pub fn maybe_founder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `founders` field (optional) + pub fn founders( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `founders` field to an Option value (optional) + pub fn maybe_founders(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `foundingDate` field (optional) + pub fn founding_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `foundingDate` field to an Option value (optional) + pub fn maybe_founding_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `foundingLocation` field (optional) + pub fn founding_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `foundingLocation` field to an Option value (optional) + pub fn maybe_founding_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `globalLocationNumber` field (optional) + pub fn global_location_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `globalLocationNumber` field to an Option value (optional) + pub fn maybe_global_location_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasCredential` field (optional) + pub fn has_credential( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `hasCredential` field to an Option value (optional) + pub fn maybe_has_credential( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasMemberProgram` field (optional) + pub fn has_member_program( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `hasMemberProgram` field to an Option value (optional) + pub fn maybe_has_member_program( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasOfferCatalog` field (optional) + pub fn has_offer_catalog( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `hasOfferCatalog` field to an Option value (optional) + pub fn maybe_has_offer_catalog( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasPOS` field (optional) + pub fn has_pos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `hasPOS` field to an Option value (optional) + pub fn maybe_has_pos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasProductReturnPolicy` field (optional) + pub fn has_product_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `hasProductReturnPolicy` field to an Option value (optional) + pub fn maybe_has_product_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `hasShippingService` field (optional) + pub fn has_shipping_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `hasShippingService` field to an Option value (optional) + pub fn maybe_has_shipping_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `isicV4` field (optional) + pub fn isic_v4(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `isicV4` field to an Option value (optional) + pub fn maybe_isic_v4(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `iso6523Code` field (optional) + pub fn iso6523_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `iso6523Code` field to an Option value (optional) + pub fn maybe_iso6523_code( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `knowsAbout` field (optional) + pub fn knows_about( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `knowsAbout` field to an Option value (optional) + pub fn maybe_knows_about( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `knowsLanguage` field (optional) + pub fn knows_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `knowsLanguage` field to an Option value (optional) + pub fn maybe_knows_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `legalAddress` field (optional) + pub fn legal_address( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `legalAddress` field to an Option value (optional) + pub fn maybe_legal_address( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `legalName` field (optional) + pub fn legal_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `legalName` field to an Option value (optional) + pub fn maybe_legal_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `legalRepresentative` field (optional) + pub fn legal_representative( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `legalRepresentative` field to an Option value (optional) + pub fn maybe_legal_representative( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `leiCode` field (optional) + pub fn lei_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `leiCode` field to an Option value (optional) + pub fn maybe_lei_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `makesOffer` field (optional) + pub fn makes_offer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `makesOffer` field to an Option value (optional) + pub fn maybe_makes_offer( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `member` field (optional) + pub fn member(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `member` field to an Option value (optional) + pub fn maybe_member(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `memberOf` field (optional) + pub fn member_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `memberOf` field to an Option value (optional) + pub fn maybe_member_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `members` field (optional) + pub fn members(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `members` field to an Option value (optional) + pub fn maybe_members(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `naics` field (optional) + pub fn naics(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `naics` field to an Option value (optional) + pub fn maybe_naics(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `nonprofitStatus` field (optional) + pub fn nonprofit_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `nonprofitStatus` field to an Option value (optional) + pub fn maybe_nonprofit_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `numberOfEmployees` field (optional) + pub fn number_of_employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `numberOfEmployees` field to an Option value (optional) + pub fn maybe_number_of_employees( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `ownershipFundingInfo` field (optional) + pub fn ownership_funding_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `ownershipFundingInfo` field to an Option value (optional) + pub fn maybe_ownership_funding_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `owns` field (optional) + pub fn owns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `owns` field to an Option value (optional) + pub fn maybe_owns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `parentOrganization` field (optional) + pub fn parent_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `parentOrganization` field to an Option value (optional) + pub fn maybe_parent_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `seeks` field (optional) + pub fn seeks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `seeks` field to an Option value (optional) + pub fn maybe_seeks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `serviceArea` field (optional) + pub fn service_area( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `serviceArea` field to an Option value (optional) + pub fn maybe_service_area( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `skills` field (optional) + pub fn skills(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `skills` field to an Option value (optional) + pub fn maybe_skills(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `subOrganization` field (optional) + pub fn sub_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `subOrganization` field to an Option value (optional) + pub fn maybe_sub_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `taxID` field (optional) + pub fn tax_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `taxID` field to an Option value (optional) + pub fn maybe_tax_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `telephone` field (optional) + pub fn telephone( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `telephone` field to an Option value (optional) + pub fn maybe_telephone(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `unnamedSourcesPolicy` field (optional) + pub fn unnamed_sources_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `unnamedSourcesPolicy` field to an Option value (optional) + pub fn maybe_unnamed_sources_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: organization_state::State> OrganizationBuilder<'a, S> { + /// Set the `vatID` field (optional) + pub fn vat_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `vatID` field to an Option value (optional) + pub fn maybe_vat_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S> OrganizationBuilder<'a, S> +where + S: organization_state::State, +{ + /// Build the final struct + pub fn build(self) -> Organization<'a> { + Organization { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + address: self.__unsafe_private_named.3, + agent_interaction_statistic: self.__unsafe_private_named.4, + aggregate_rating: self.__unsafe_private_named.5, + alternate_name: self.__unsafe_private_named.6, + alumni: self.__unsafe_private_named.7, + area_served: self.__unsafe_private_named.8, + award: self.__unsafe_private_named.9, + awards: self.__unsafe_private_named.10, + brand: self.__unsafe_private_named.11, + company_registration: self.__unsafe_private_named.12, + contact_point: self.__unsafe_private_named.13, + contact_points: self.__unsafe_private_named.14, + corrections_policy: self.__unsafe_private_named.15, + department: self.__unsafe_private_named.16, + description: self.__unsafe_private_named.17, + disambiguating_description: self.__unsafe_private_named.18, + dissolution_date: self.__unsafe_private_named.19, + diversity_policy: self.__unsafe_private_named.20, + diversity_staffing_report: self.__unsafe_private_named.21, + duns: self.__unsafe_private_named.22, + email: self.__unsafe_private_named.23, + employee: self.__unsafe_private_named.24, + employees: self.__unsafe_private_named.25, + ethics_policy: self.__unsafe_private_named.26, + event: self.__unsafe_private_named.27, + events: self.__unsafe_private_named.28, + fax_number: self.__unsafe_private_named.29, + founder: self.__unsafe_private_named.30, + founders: self.__unsafe_private_named.31, + founding_date: self.__unsafe_private_named.32, + founding_location: self.__unsafe_private_named.33, + funder: self.__unsafe_private_named.34, + funding: self.__unsafe_private_named.35, + global_location_number: self.__unsafe_private_named.36, + has_certification: self.__unsafe_private_named.37, + has_credential: self.__unsafe_private_named.38, + has_gs1_digital_link: self.__unsafe_private_named.39, + has_member_program: self.__unsafe_private_named.40, + has_merchant_return_policy: self.__unsafe_private_named.41, + has_offer_catalog: self.__unsafe_private_named.42, + has_pos: self.__unsafe_private_named.43, + has_product_return_policy: self.__unsafe_private_named.44, + has_shipping_service: self.__unsafe_private_named.45, + identifier: self.__unsafe_private_named.46, + image: self.__unsafe_private_named.47, + interaction_statistic: self.__unsafe_private_named.48, + isic_v4: self.__unsafe_private_named.49, + iso6523_code: self.__unsafe_private_named.50, + keywords: self.__unsafe_private_named.51, + knows_about: self.__unsafe_private_named.52, + knows_language: self.__unsafe_private_named.53, + legal_address: self.__unsafe_private_named.54, + legal_name: self.__unsafe_private_named.55, + legal_representative: self.__unsafe_private_named.56, + lei_code: self.__unsafe_private_named.57, + location: self.__unsafe_private_named.58, + logo: self.__unsafe_private_named.59, + main_entity_of_page: self.__unsafe_private_named.60, + makes_offer: self.__unsafe_private_named.61, + member: self.__unsafe_private_named.62, + member_of: self.__unsafe_private_named.63, + members: self.__unsafe_private_named.64, + naics: self.__unsafe_private_named.65, + name: self.__unsafe_private_named.66, + nonprofit_status: self.__unsafe_private_named.67, + number_of_employees: self.__unsafe_private_named.68, + ownership_funding_info: self.__unsafe_private_named.69, + owns: self.__unsafe_private_named.70, + parent_organization: self.__unsafe_private_named.71, + potential_action: self.__unsafe_private_named.72, + publishing_principles: self.__unsafe_private_named.73, + review: self.__unsafe_private_named.74, + reviews: self.__unsafe_private_named.75, + same_as: self.__unsafe_private_named.76, + seeks: self.__unsafe_private_named.77, + service_area: self.__unsafe_private_named.78, + skills: self.__unsafe_private_named.79, + slogan: self.__unsafe_private_named.80, + sponsor: self.__unsafe_private_named.81, + sub_organization: self.__unsafe_private_named.82, + subject_of: self.__unsafe_private_named.83, + tax_id: self.__unsafe_private_named.84, + telephone: self.__unsafe_private_named.85, + unnamed_sources_policy: self.__unsafe_private_named.86, + url: self.__unsafe_private_named.87, + vat_id: self.__unsafe_private_named.88, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Organization<'a> { + Organization { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_type: self.__unsafe_private_named.2, + address: self.__unsafe_private_named.3, + agent_interaction_statistic: self.__unsafe_private_named.4, + aggregate_rating: self.__unsafe_private_named.5, + alternate_name: self.__unsafe_private_named.6, + alumni: self.__unsafe_private_named.7, + area_served: self.__unsafe_private_named.8, + award: self.__unsafe_private_named.9, + awards: self.__unsafe_private_named.10, + brand: self.__unsafe_private_named.11, + company_registration: self.__unsafe_private_named.12, + contact_point: self.__unsafe_private_named.13, + contact_points: self.__unsafe_private_named.14, + corrections_policy: self.__unsafe_private_named.15, + department: self.__unsafe_private_named.16, + description: self.__unsafe_private_named.17, + disambiguating_description: self.__unsafe_private_named.18, + dissolution_date: self.__unsafe_private_named.19, + diversity_policy: self.__unsafe_private_named.20, + diversity_staffing_report: self.__unsafe_private_named.21, + duns: self.__unsafe_private_named.22, + email: self.__unsafe_private_named.23, + employee: self.__unsafe_private_named.24, + employees: self.__unsafe_private_named.25, + ethics_policy: self.__unsafe_private_named.26, + event: self.__unsafe_private_named.27, + events: self.__unsafe_private_named.28, + fax_number: self.__unsafe_private_named.29, + founder: self.__unsafe_private_named.30, + founders: self.__unsafe_private_named.31, + founding_date: self.__unsafe_private_named.32, + founding_location: self.__unsafe_private_named.33, + funder: self.__unsafe_private_named.34, + funding: self.__unsafe_private_named.35, + global_location_number: self.__unsafe_private_named.36, + has_certification: self.__unsafe_private_named.37, + has_credential: self.__unsafe_private_named.38, + has_gs1_digital_link: self.__unsafe_private_named.39, + has_member_program: self.__unsafe_private_named.40, + has_merchant_return_policy: self.__unsafe_private_named.41, + has_offer_catalog: self.__unsafe_private_named.42, + has_pos: self.__unsafe_private_named.43, + has_product_return_policy: self.__unsafe_private_named.44, + has_shipping_service: self.__unsafe_private_named.45, + identifier: self.__unsafe_private_named.46, + image: self.__unsafe_private_named.47, + interaction_statistic: self.__unsafe_private_named.48, + isic_v4: self.__unsafe_private_named.49, + iso6523_code: self.__unsafe_private_named.50, + keywords: self.__unsafe_private_named.51, + knows_about: self.__unsafe_private_named.52, + knows_language: self.__unsafe_private_named.53, + legal_address: self.__unsafe_private_named.54, + legal_name: self.__unsafe_private_named.55, + legal_representative: self.__unsafe_private_named.56, + lei_code: self.__unsafe_private_named.57, + location: self.__unsafe_private_named.58, + logo: self.__unsafe_private_named.59, + main_entity_of_page: self.__unsafe_private_named.60, + makes_offer: self.__unsafe_private_named.61, + member: self.__unsafe_private_named.62, + member_of: self.__unsafe_private_named.63, + members: self.__unsafe_private_named.64, + naics: self.__unsafe_private_named.65, + name: self.__unsafe_private_named.66, + nonprofit_status: self.__unsafe_private_named.67, + number_of_employees: self.__unsafe_private_named.68, + ownership_funding_info: self.__unsafe_private_named.69, + owns: self.__unsafe_private_named.70, + parent_organization: self.__unsafe_private_named.71, + potential_action: self.__unsafe_private_named.72, + publishing_principles: self.__unsafe_private_named.73, + review: self.__unsafe_private_named.74, + reviews: self.__unsafe_private_named.75, + same_as: self.__unsafe_private_named.76, + seeks: self.__unsafe_private_named.77, + service_area: self.__unsafe_private_named.78, + skills: self.__unsafe_private_named.79, + slogan: self.__unsafe_private_named.80, + sponsor: self.__unsafe_private_named.81, + sub_organization: self.__unsafe_private_named.82, + subject_of: self.__unsafe_private_named.83, + tax_id: self.__unsafe_private_named.84, + telephone: self.__unsafe_private_named.85, + unnamed_sources_policy: self.__unsafe_private_named.86, + url: self.__unsafe_private_named.87, + vat_id: self.__unsafe_private_named.88, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Organization<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, OrganizationRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum OrganizationVatId<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct OrganizationGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Organization<'a>, +} + +impl From> for Organization<'_> { + fn from(output: OrganizationGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Organization<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Organization"; + type Record = OrganizationRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct OrganizationRecord; +impl jacquard_common::xrpc::XrpcResp for OrganizationRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Organization"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = OrganizationGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for OrganizationRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Organization"; + type Record = OrganizationRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Organization<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Organization" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Organization() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs new file mode 100644 index 00000000..5019b34f --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs @@ -0,0 +1,6485 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Person +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A person (alive, dead, undead, or fictional). +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub affiliation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + EmbeddedAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub birth_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub birth_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub call_sign: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub children: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub colleague: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub colleagues: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub death_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub death_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub family_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub follows: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gender: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub given_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_occupation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub height: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub home_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub honorific_prefix: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub honorific_suffix: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub job_title: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nationality: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub net_worth: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parents: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performer_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pronouns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub related_to: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sibling: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub siblings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spouse: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub weight: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub works_for: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAffiliation<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlumniOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBirthDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBirthPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCallSign<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedChildren<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedColleague<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedColleagues<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDeathDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDeathPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFamilyName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFollows<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGender<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGivenName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOccupation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHomeLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHonorificPrefix<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHonorificSuffix<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedJobTitle<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnows<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNationality<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNetWorth<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPerformerIn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPronouns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRelatedTo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSibling<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSiblings<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpouse<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVatId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorksFor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Person", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A person (alive, dead, undead, or fictional).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "affiliation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#affiliationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumniOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOrganization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#alumniOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "birthDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#birthDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#birthDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "birthPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#birthPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("callSign"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#callSignScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#callSignList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("children"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#childrenList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "colleague", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#colleagueScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#colleagueList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "colleagues", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#colleaguesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "deathDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#deathDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#deathDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "deathPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#deathPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "familyName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#familyNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#familyNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#followsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gender"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GenderType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#genderScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#genderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "givenName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#givenNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#givenNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOccupation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Occupation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasOccupationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#heightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#heightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "homeLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#homeLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "honorificPrefix", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificPrefixScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificPrefixList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "honorificSuffix", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificSuffixScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificSuffixList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("jobTitle"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#jobTitleScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#jobTitleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("knows"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nationality", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#nationalityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("netWorth"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MonetaryAmount#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#netWorthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#parentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("parents"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#parentsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performerIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#performerInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pronouns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.StructuredValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#pronounsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#pronounsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "relatedTo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#relatedToList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sibling"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#siblingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("siblings"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#siblingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spouse"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#spouseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#vatIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Mass#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#weightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#weightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#workLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("worksFor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#worksForList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A person (alive, dead, undead, or fictional).", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "affiliation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#affiliationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alumniOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOrganization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#alumniOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "birthDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#birthDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#birthDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "birthPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#birthPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "callSign", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#callSignScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#callSignList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "children", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#childrenList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "colleague", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#colleagueScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#colleagueList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "colleagues", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#colleaguesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "deathDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#deathDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#deathDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "deathPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#deathPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "familyName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#familyNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#familyNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#followsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gender"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GenderType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#genderScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#genderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "givenName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#givenNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#givenNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOccupation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Occupation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasOccupationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#heightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#heightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "homeLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#homeLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "honorificPrefix", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificPrefixScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificPrefixList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "honorificSuffix", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificSuffixScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#honorificSuffixList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "jobTitle", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#jobTitleScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#jobTitleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("knows"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "memberOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nationality", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#nationalityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "netWorth", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MonetaryAmount#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#netWorthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("parent"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#parentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("parents"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#parentsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performerIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#performerInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pronouns", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.StructuredValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#pronounsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#pronounsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "relatedTo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#relatedToList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sibling"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#siblingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "siblings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#siblingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spouse"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#spouseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#vatIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Mass#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#weightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#weightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#workLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "worksFor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.person#worksForList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Person" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Person() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Person<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub affiliation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + PersonAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub birth_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub birth_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub call_sign: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub children: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub colleague: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub colleagues: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub death_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub death_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + PersonDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub family_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub follows: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gender: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub given_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_occupation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub height: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub home_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub honorific_prefix: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub honorific_suffix: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub job_title: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nationality: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub net_worth: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parents: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub performer_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pronouns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub related_to: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sibling: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub siblings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spouse: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub weight: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub works_for: std::option::Option>, +} + +pub mod person_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 PersonBuilder<'a, S: person_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Person<'a> { + /// Create a new builder for this type + pub fn new() -> PersonBuilder<'a, person_state::Empty> { + PersonBuilder::new() + } +} + +impl<'a> PersonBuilder<'a, person_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PersonBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `additionalName` field (optional) + pub fn additional_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `additionalName` field to an Option value (optional) + pub fn maybe_additional_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `address` field (optional) + pub fn address(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `address` field to an Option value (optional) + pub fn maybe_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `affiliation` field (optional) + pub fn affiliation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `affiliation` field to an Option value (optional) + pub fn maybe_affiliation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `agentInteractionStatistic` field (optional) + pub fn agent_interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `agentInteractionStatistic` field to an Option value (optional) + pub fn maybe_agent_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `alumniOf` field (optional) + pub fn alumni_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `alumniOf` field to an Option value (optional) + pub fn maybe_alumni_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `birthDate` field (optional) + pub fn birth_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `birthDate` field to an Option value (optional) + pub fn maybe_birth_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `birthPlace` field (optional) + pub fn birth_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `birthPlace` field to an Option value (optional) + pub fn maybe_birth_place(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `callSign` field (optional) + pub fn call_sign(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `callSign` field to an Option value (optional) + pub fn maybe_call_sign(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `children` field (optional) + pub fn children(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `children` field to an Option value (optional) + pub fn maybe_children(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `colleague` field (optional) + pub fn colleague(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `colleague` field to an Option value (optional) + pub fn maybe_colleague(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `colleagues` field (optional) + pub fn colleagues(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `colleagues` field to an Option value (optional) + pub fn maybe_colleagues(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `contactPoint` field (optional) + pub fn contact_point( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `contactPoint` field to an Option value (optional) + pub fn maybe_contact_point(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `contactPoints` field (optional) + pub fn contact_points( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `contactPoints` field to an Option value (optional) + pub fn maybe_contact_points( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `deathDate` field (optional) + pub fn death_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `deathDate` field to an Option value (optional) + pub fn maybe_death_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `deathPlace` field (optional) + pub fn death_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `deathPlace` field to an Option value (optional) + pub fn maybe_death_place(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `duns` field (optional) + pub fn duns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `duns` field to an Option value (optional) + pub fn maybe_duns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `email` field (optional) + pub fn email(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `email` field to an Option value (optional) + pub fn maybe_email(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `familyName` field (optional) + pub fn family_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `familyName` field to an Option value (optional) + pub fn maybe_family_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `faxNumber` field (optional) + pub fn fax_number(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `faxNumber` field to an Option value (optional) + pub fn maybe_fax_number(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `follows` field (optional) + pub fn follows(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `follows` field to an Option value (optional) + pub fn maybe_follows(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `gender` field (optional) + pub fn gender(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `gender` field to an Option value (optional) + pub fn maybe_gender(mut self, value: Option>) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `givenName` field (optional) + pub fn given_name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `givenName` field to an Option value (optional) + pub fn maybe_given_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `globalLocationNumber` field (optional) + pub fn global_location_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `globalLocationNumber` field to an Option value (optional) + pub fn maybe_global_location_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `hasCredential` field (optional) + pub fn has_credential( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `hasCredential` field to an Option value (optional) + pub fn maybe_has_credential( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `hasOccupation` field (optional) + pub fn has_occupation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `hasOccupation` field to an Option value (optional) + pub fn maybe_has_occupation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `hasOfferCatalog` field (optional) + pub fn has_offer_catalog( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `hasOfferCatalog` field to an Option value (optional) + pub fn maybe_has_offer_catalog( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `hasPOS` field (optional) + pub fn has_pos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `hasPOS` field to an Option value (optional) + pub fn maybe_has_pos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `height` field (optional) + pub fn height(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `height` field to an Option value (optional) + pub fn maybe_height(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `homeLocation` field (optional) + pub fn home_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `homeLocation` field to an Option value (optional) + pub fn maybe_home_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `honorificPrefix` field (optional) + pub fn honorific_prefix( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `honorificPrefix` field to an Option value (optional) + pub fn maybe_honorific_prefix( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `honorificSuffix` field (optional) + pub fn honorific_suffix( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `honorificSuffix` field to an Option value (optional) + pub fn maybe_honorific_suffix( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `isicV4` field (optional) + pub fn isic_v4(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `isicV4` field to an Option value (optional) + pub fn maybe_isic_v4(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `jobTitle` field (optional) + pub fn job_title(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `jobTitle` field to an Option value (optional) + pub fn maybe_job_title(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `knows` field (optional) + pub fn knows(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `knows` field to an Option value (optional) + pub fn maybe_knows(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `knowsAbout` field (optional) + pub fn knows_about( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `knowsAbout` field to an Option value (optional) + pub fn maybe_knows_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `knowsLanguage` field (optional) + pub fn knows_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `knowsLanguage` field to an Option value (optional) + pub fn maybe_knows_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `makesOffer` field (optional) + pub fn makes_offer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `makesOffer` field to an Option value (optional) + pub fn maybe_makes_offer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `memberOf` field (optional) + pub fn member_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `memberOf` field to an Option value (optional) + pub fn maybe_member_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `naics` field (optional) + pub fn naics(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `naics` field to an Option value (optional) + pub fn maybe_naics(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `nationality` field (optional) + pub fn nationality( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `nationality` field to an Option value (optional) + pub fn maybe_nationality(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `netWorth` field (optional) + pub fn net_worth(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `netWorth` field to an Option value (optional) + pub fn maybe_net_worth(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `owns` field (optional) + pub fn owns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `owns` field to an Option value (optional) + pub fn maybe_owns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `parent` field (optional) + pub fn parent(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `parent` field to an Option value (optional) + pub fn maybe_parent(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `parents` field (optional) + pub fn parents(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `parents` field to an Option value (optional) + pub fn maybe_parents(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `performerIn` field (optional) + pub fn performer_in( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `performerIn` field to an Option value (optional) + pub fn maybe_performer_in(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `pronouns` field (optional) + pub fn pronouns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `pronouns` field to an Option value (optional) + pub fn maybe_pronouns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `relatedTo` field (optional) + pub fn related_to(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `relatedTo` field to an Option value (optional) + pub fn maybe_related_to(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `seeks` field (optional) + pub fn seeks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `seeks` field to an Option value (optional) + pub fn maybe_seeks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `sibling` field (optional) + pub fn sibling(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `sibling` field to an Option value (optional) + pub fn maybe_sibling(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `siblings` field (optional) + pub fn siblings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `siblings` field to an Option value (optional) + pub fn maybe_siblings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `skills` field (optional) + pub fn skills(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `skills` field to an Option value (optional) + pub fn maybe_skills(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `spouse` field (optional) + pub fn spouse(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `spouse` field to an Option value (optional) + pub fn maybe_spouse(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `taxID` field (optional) + pub fn tax_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `taxID` field to an Option value (optional) + pub fn maybe_tax_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `telephone` field (optional) + pub fn telephone(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `telephone` field to an Option value (optional) + pub fn maybe_telephone(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `vatID` field (optional) + pub fn vat_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `vatID` field to an Option value (optional) + pub fn maybe_vat_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `weight` field (optional) + pub fn weight(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `weight` field to an Option value (optional) + pub fn maybe_weight(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `workLocation` field (optional) + pub fn work_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `workLocation` field to an Option value (optional) + pub fn maybe_work_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: person_state::State> PersonBuilder<'a, S> { + /// Set the `worksFor` field (optional) + pub fn works_for(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `worksFor` field to an Option value (optional) + pub fn maybe_works_for(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S> PersonBuilder<'a, S> +where + S: person_state::State, +{ + /// Build the final struct + pub fn build(self) -> Person<'a> { + Person { + additional_name: self.__unsafe_private_named.0, + additional_type: self.__unsafe_private_named.1, + address: self.__unsafe_private_named.2, + affiliation: self.__unsafe_private_named.3, + agent_interaction_statistic: self.__unsafe_private_named.4, + alternate_name: self.__unsafe_private_named.5, + alumni_of: self.__unsafe_private_named.6, + award: self.__unsafe_private_named.7, + awards: self.__unsafe_private_named.8, + birth_date: self.__unsafe_private_named.9, + birth_place: self.__unsafe_private_named.10, + brand: self.__unsafe_private_named.11, + call_sign: self.__unsafe_private_named.12, + children: self.__unsafe_private_named.13, + colleague: self.__unsafe_private_named.14, + colleagues: self.__unsafe_private_named.15, + contact_point: self.__unsafe_private_named.16, + contact_points: self.__unsafe_private_named.17, + death_date: self.__unsafe_private_named.18, + death_place: self.__unsafe_private_named.19, + description: self.__unsafe_private_named.20, + disambiguating_description: self.__unsafe_private_named.21, + duns: self.__unsafe_private_named.22, + email: self.__unsafe_private_named.23, + family_name: self.__unsafe_private_named.24, + fax_number: self.__unsafe_private_named.25, + follows: self.__unsafe_private_named.26, + funder: self.__unsafe_private_named.27, + funding: self.__unsafe_private_named.28, + gender: self.__unsafe_private_named.29, + given_name: self.__unsafe_private_named.30, + global_location_number: self.__unsafe_private_named.31, + has_certification: self.__unsafe_private_named.32, + has_credential: self.__unsafe_private_named.33, + has_occupation: self.__unsafe_private_named.34, + has_offer_catalog: self.__unsafe_private_named.35, + has_pos: self.__unsafe_private_named.36, + height: self.__unsafe_private_named.37, + home_location: self.__unsafe_private_named.38, + honorific_prefix: self.__unsafe_private_named.39, + honorific_suffix: self.__unsafe_private_named.40, + identifier: self.__unsafe_private_named.41, + image: self.__unsafe_private_named.42, + interaction_statistic: self.__unsafe_private_named.43, + isic_v4: self.__unsafe_private_named.44, + job_title: self.__unsafe_private_named.45, + knows: self.__unsafe_private_named.46, + knows_about: self.__unsafe_private_named.47, + knows_language: self.__unsafe_private_named.48, + main_entity_of_page: self.__unsafe_private_named.49, + makes_offer: self.__unsafe_private_named.50, + member_of: self.__unsafe_private_named.51, + naics: self.__unsafe_private_named.52, + name: self.__unsafe_private_named.53, + nationality: self.__unsafe_private_named.54, + net_worth: self.__unsafe_private_named.55, + owns: self.__unsafe_private_named.56, + parent: self.__unsafe_private_named.57, + parents: self.__unsafe_private_named.58, + performer_in: self.__unsafe_private_named.59, + potential_action: self.__unsafe_private_named.60, + pronouns: self.__unsafe_private_named.61, + publishing_principles: self.__unsafe_private_named.62, + related_to: self.__unsafe_private_named.63, + same_as: self.__unsafe_private_named.64, + seeks: self.__unsafe_private_named.65, + sibling: self.__unsafe_private_named.66, + siblings: self.__unsafe_private_named.67, + skills: self.__unsafe_private_named.68, + sponsor: self.__unsafe_private_named.69, + spouse: self.__unsafe_private_named.70, + subject_of: self.__unsafe_private_named.71, + tax_id: self.__unsafe_private_named.72, + telephone: self.__unsafe_private_named.73, + url: self.__unsafe_private_named.74, + vat_id: self.__unsafe_private_named.75, + weight: self.__unsafe_private_named.76, + work_location: self.__unsafe_private_named.77, + works_for: self.__unsafe_private_named.78, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Person<'a> { + Person { + additional_name: self.__unsafe_private_named.0, + additional_type: self.__unsafe_private_named.1, + address: self.__unsafe_private_named.2, + affiliation: self.__unsafe_private_named.3, + agent_interaction_statistic: self.__unsafe_private_named.4, + alternate_name: self.__unsafe_private_named.5, + alumni_of: self.__unsafe_private_named.6, + award: self.__unsafe_private_named.7, + awards: self.__unsafe_private_named.8, + birth_date: self.__unsafe_private_named.9, + birth_place: self.__unsafe_private_named.10, + brand: self.__unsafe_private_named.11, + call_sign: self.__unsafe_private_named.12, + children: self.__unsafe_private_named.13, + colleague: self.__unsafe_private_named.14, + colleagues: self.__unsafe_private_named.15, + contact_point: self.__unsafe_private_named.16, + contact_points: self.__unsafe_private_named.17, + death_date: self.__unsafe_private_named.18, + death_place: self.__unsafe_private_named.19, + description: self.__unsafe_private_named.20, + disambiguating_description: self.__unsafe_private_named.21, + duns: self.__unsafe_private_named.22, + email: self.__unsafe_private_named.23, + family_name: self.__unsafe_private_named.24, + fax_number: self.__unsafe_private_named.25, + follows: self.__unsafe_private_named.26, + funder: self.__unsafe_private_named.27, + funding: self.__unsafe_private_named.28, + gender: self.__unsafe_private_named.29, + given_name: self.__unsafe_private_named.30, + global_location_number: self.__unsafe_private_named.31, + has_certification: self.__unsafe_private_named.32, + has_credential: self.__unsafe_private_named.33, + has_occupation: self.__unsafe_private_named.34, + has_offer_catalog: self.__unsafe_private_named.35, + has_pos: self.__unsafe_private_named.36, + height: self.__unsafe_private_named.37, + home_location: self.__unsafe_private_named.38, + honorific_prefix: self.__unsafe_private_named.39, + honorific_suffix: self.__unsafe_private_named.40, + identifier: self.__unsafe_private_named.41, + image: self.__unsafe_private_named.42, + interaction_statistic: self.__unsafe_private_named.43, + isic_v4: self.__unsafe_private_named.44, + job_title: self.__unsafe_private_named.45, + knows: self.__unsafe_private_named.46, + knows_about: self.__unsafe_private_named.47, + knows_language: self.__unsafe_private_named.48, + main_entity_of_page: self.__unsafe_private_named.49, + makes_offer: self.__unsafe_private_named.50, + member_of: self.__unsafe_private_named.51, + naics: self.__unsafe_private_named.52, + name: self.__unsafe_private_named.53, + nationality: self.__unsafe_private_named.54, + net_worth: self.__unsafe_private_named.55, + owns: self.__unsafe_private_named.56, + parent: self.__unsafe_private_named.57, + parents: self.__unsafe_private_named.58, + performer_in: self.__unsafe_private_named.59, + potential_action: self.__unsafe_private_named.60, + pronouns: self.__unsafe_private_named.61, + publishing_principles: self.__unsafe_private_named.62, + related_to: self.__unsafe_private_named.63, + same_as: self.__unsafe_private_named.64, + seeks: self.__unsafe_private_named.65, + sibling: self.__unsafe_private_named.66, + siblings: self.__unsafe_private_named.67, + skills: self.__unsafe_private_named.68, + sponsor: self.__unsafe_private_named.69, + spouse: self.__unsafe_private_named.70, + subject_of: self.__unsafe_private_named.71, + tax_id: self.__unsafe_private_named.72, + telephone: self.__unsafe_private_named.73, + url: self.__unsafe_private_named.74, + vat_id: self.__unsafe_private_named.75, + weight: self.__unsafe_private_named.76, + work_location: self.__unsafe_private_named.77, + works_for: self.__unsafe_private_named.78, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Person<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, PersonRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAdditionalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAffiliation<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAlumniOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonBirthDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonBirthPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonCallSign<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonChildren<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonColleague<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonColleagues<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonDeathDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonDeathPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonFamilyName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonFollows<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonGender<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonGivenName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHasOccupation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHomeLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHonorificPrefix<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonHonorificSuffix<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonJobTitle<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonKnows<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonNationality<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonNetWorth<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonParent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonParents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonPerformerIn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonPronouns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonRelatedTo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSibling<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSiblings<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSpouse<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonVatId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonWeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonWorkLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PersonWorksFor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PersonGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Person<'a>, +} + +impl From> for Person<'_> { + fn from(output: PersonGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Person<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Person"; + type Record = PersonRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct PersonRecord; +impl jacquard_common::xrpc::XrpcResp for PersonRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Person"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = PersonGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for PersonRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Person"; + type Record = PersonRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Person<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Person" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Person() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs new file mode 100644 index 00000000..a1d9ad3f --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs @@ -0,0 +1,11033 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.PodcastSeries +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A podcast is an episodic series of digital audio or video files which a user can download and listen to. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub issn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub web_feed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIssn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWebFeed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.PodcastSeries", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A podcast is an episodic series of digital audio or video files which a user can download and listen to.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#issnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#issnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("webFeed"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DataFeed#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#webFeedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#webFeedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A podcast is an episodic series of digital audio or video files which a user can download and listen to.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#issnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#issnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("webFeed"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DataFeed#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#webFeedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#webFeedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.podcastSeries#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.PodcastSeries" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PodcastSeries<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option< + PodcastSeriesAccessModeSufficient<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option< + PodcastSeriesAccessibilityControl<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option< + PodcastSeriesAccessibilityFeature<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option< + PodcastSeriesAccessibilitySummary<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option< + PodcastSeriesContentReferenceTime<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + PodcastSeriesDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option< + PodcastSeriesEducationalAlignment<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option< + PodcastSeriesInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option< + PodcastSeriesIsAccessibleForFree<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub issn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option< + PodcastSeriesLearningResourceType<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option< + PodcastSeriesPublishingPrinciples<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub web_feed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod podcast_series_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 PodcastSeriesBuilder<'a, S: podcast_series_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> PodcastSeries<'a> { + /// Create a new builder for this type + pub fn new() -> PodcastSeriesBuilder<'a, podcast_series_state::Empty> { + PodcastSeriesBuilder::new() + } +} + +impl<'a> PodcastSeriesBuilder<'a, podcast_series_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PodcastSeriesBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `endDate` field (optional) + pub fn end_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `endDate` field to an Option value (optional) + pub fn maybe_end_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `issn` field (optional) + pub fn issn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `issn` field to an Option value (optional) + pub fn maybe_issn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `startDate` field (optional) + pub fn start_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `startDate` field to an Option value (optional) + pub fn maybe_start_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `webFeed` field (optional) + pub fn web_feed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `webFeed` field to an Option value (optional) + pub fn maybe_web_feed(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: podcast_series_state::State> PodcastSeriesBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S> PodcastSeriesBuilder<'a, S> +where + S: podcast_series_state::State, +{ + /// Build the final struct + pub fn build(self) -> PodcastSeries<'a> { + PodcastSeries { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + additional_type: self.__unsafe_private_named.12, + aggregate_rating: self.__unsafe_private_named.13, + alternate_name: self.__unsafe_private_named.14, + alternative_headline: self.__unsafe_private_named.15, + archived_at: self.__unsafe_private_named.16, + assesses: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + character: self.__unsafe_private_named.24, + citation: self.__unsafe_private_named.25, + comment: self.__unsafe_private_named.26, + comment_count: self.__unsafe_private_named.27, + conditions_of_access: self.__unsafe_private_named.28, + content_location: self.__unsafe_private_named.29, + content_rating: self.__unsafe_private_named.30, + content_reference_time: self.__unsafe_private_named.31, + contributor: self.__unsafe_private_named.32, + copyright_holder: self.__unsafe_private_named.33, + copyright_notice: self.__unsafe_private_named.34, + copyright_year: self.__unsafe_private_named.35, + correction: self.__unsafe_private_named.36, + country_of_origin: self.__unsafe_private_named.37, + creative_work_status: self.__unsafe_private_named.38, + creator: self.__unsafe_private_named.39, + credit_text: self.__unsafe_private_named.40, + date_created: self.__unsafe_private_named.41, + date_modified: self.__unsafe_private_named.42, + date_published: self.__unsafe_private_named.43, + description: self.__unsafe_private_named.44, + digital_source_type: self.__unsafe_private_named.45, + disambiguating_description: self.__unsafe_private_named.46, + discussion_url: self.__unsafe_private_named.47, + edit_eidr: self.__unsafe_private_named.48, + editor: self.__unsafe_private_named.49, + educational_alignment: self.__unsafe_private_named.50, + educational_level: self.__unsafe_private_named.51, + educational_use: self.__unsafe_private_named.52, + encoding: self.__unsafe_private_named.53, + encoding_format: self.__unsafe_private_named.54, + encodings: self.__unsafe_private_named.55, + end_date: self.__unsafe_private_named.56, + example_of_work: self.__unsafe_private_named.57, + expires: self.__unsafe_private_named.58, + file_format: self.__unsafe_private_named.59, + funder: self.__unsafe_private_named.60, + funding: self.__unsafe_private_named.61, + genre: self.__unsafe_private_named.62, + has_part: self.__unsafe_private_named.63, + headline: self.__unsafe_private_named.64, + identifier: self.__unsafe_private_named.65, + image: self.__unsafe_private_named.66, + in_language: self.__unsafe_private_named.67, + interaction_statistic: self.__unsafe_private_named.68, + interactivity_type: self.__unsafe_private_named.69, + interpreted_as_claim: self.__unsafe_private_named.70, + is_accessible_for_free: self.__unsafe_private_named.71, + is_based_on: self.__unsafe_private_named.72, + is_based_on_url: self.__unsafe_private_named.73, + is_family_friendly: self.__unsafe_private_named.74, + is_part_of: self.__unsafe_private_named.75, + issn: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + learning_resource_type: self.__unsafe_private_named.78, + license: self.__unsafe_private_named.79, + location_created: self.__unsafe_private_named.80, + main_entity: self.__unsafe_private_named.81, + main_entity_of_page: self.__unsafe_private_named.82, + maintainer: self.__unsafe_private_named.83, + material: self.__unsafe_private_named.84, + material_extent: self.__unsafe_private_named.85, + mentions: self.__unsafe_private_named.86, + name: self.__unsafe_private_named.87, + offers: self.__unsafe_private_named.88, + pattern: self.__unsafe_private_named.89, + position: self.__unsafe_private_named.90, + potential_action: self.__unsafe_private_named.91, + producer: self.__unsafe_private_named.92, + provider: self.__unsafe_private_named.93, + publication: self.__unsafe_private_named.94, + publisher: self.__unsafe_private_named.95, + publisher_imprint: self.__unsafe_private_named.96, + publishing_principles: self.__unsafe_private_named.97, + recorded_at: self.__unsafe_private_named.98, + released_event: self.__unsafe_private_named.99, + review: self.__unsafe_private_named.100, + reviews: self.__unsafe_private_named.101, + same_as: self.__unsafe_private_named.102, + schema_version: self.__unsafe_private_named.103, + sd_date_published: self.__unsafe_private_named.104, + sd_license: self.__unsafe_private_named.105, + sd_publisher: self.__unsafe_private_named.106, + size: self.__unsafe_private_named.107, + source_organization: self.__unsafe_private_named.108, + spatial: self.__unsafe_private_named.109, + spatial_coverage: self.__unsafe_private_named.110, + sponsor: self.__unsafe_private_named.111, + start_date: self.__unsafe_private_named.112, + subject_of: self.__unsafe_private_named.113, + teaches: self.__unsafe_private_named.114, + temporal: self.__unsafe_private_named.115, + temporal_coverage: self.__unsafe_private_named.116, + text: self.__unsafe_private_named.117, + thumbnail: self.__unsafe_private_named.118, + thumbnail_url: self.__unsafe_private_named.119, + time_required: self.__unsafe_private_named.120, + translation_of_work: self.__unsafe_private_named.121, + translator: self.__unsafe_private_named.122, + typical_age_range: self.__unsafe_private_named.123, + url: self.__unsafe_private_named.124, + usage_info: self.__unsafe_private_named.125, + version: self.__unsafe_private_named.126, + video: self.__unsafe_private_named.127, + web_feed: self.__unsafe_private_named.128, + word_count: self.__unsafe_private_named.129, + work_example: self.__unsafe_private_named.130, + work_translation: self.__unsafe_private_named.131, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> PodcastSeries<'a> { + PodcastSeries { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + additional_type: self.__unsafe_private_named.12, + aggregate_rating: self.__unsafe_private_named.13, + alternate_name: self.__unsafe_private_named.14, + alternative_headline: self.__unsafe_private_named.15, + archived_at: self.__unsafe_private_named.16, + assesses: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + character: self.__unsafe_private_named.24, + citation: self.__unsafe_private_named.25, + comment: self.__unsafe_private_named.26, + comment_count: self.__unsafe_private_named.27, + conditions_of_access: self.__unsafe_private_named.28, + content_location: self.__unsafe_private_named.29, + content_rating: self.__unsafe_private_named.30, + content_reference_time: self.__unsafe_private_named.31, + contributor: self.__unsafe_private_named.32, + copyright_holder: self.__unsafe_private_named.33, + copyright_notice: self.__unsafe_private_named.34, + copyright_year: self.__unsafe_private_named.35, + correction: self.__unsafe_private_named.36, + country_of_origin: self.__unsafe_private_named.37, + creative_work_status: self.__unsafe_private_named.38, + creator: self.__unsafe_private_named.39, + credit_text: self.__unsafe_private_named.40, + date_created: self.__unsafe_private_named.41, + date_modified: self.__unsafe_private_named.42, + date_published: self.__unsafe_private_named.43, + description: self.__unsafe_private_named.44, + digital_source_type: self.__unsafe_private_named.45, + disambiguating_description: self.__unsafe_private_named.46, + discussion_url: self.__unsafe_private_named.47, + edit_eidr: self.__unsafe_private_named.48, + editor: self.__unsafe_private_named.49, + educational_alignment: self.__unsafe_private_named.50, + educational_level: self.__unsafe_private_named.51, + educational_use: self.__unsafe_private_named.52, + encoding: self.__unsafe_private_named.53, + encoding_format: self.__unsafe_private_named.54, + encodings: self.__unsafe_private_named.55, + end_date: self.__unsafe_private_named.56, + example_of_work: self.__unsafe_private_named.57, + expires: self.__unsafe_private_named.58, + file_format: self.__unsafe_private_named.59, + funder: self.__unsafe_private_named.60, + funding: self.__unsafe_private_named.61, + genre: self.__unsafe_private_named.62, + has_part: self.__unsafe_private_named.63, + headline: self.__unsafe_private_named.64, + identifier: self.__unsafe_private_named.65, + image: self.__unsafe_private_named.66, + in_language: self.__unsafe_private_named.67, + interaction_statistic: self.__unsafe_private_named.68, + interactivity_type: self.__unsafe_private_named.69, + interpreted_as_claim: self.__unsafe_private_named.70, + is_accessible_for_free: self.__unsafe_private_named.71, + is_based_on: self.__unsafe_private_named.72, + is_based_on_url: self.__unsafe_private_named.73, + is_family_friendly: self.__unsafe_private_named.74, + is_part_of: self.__unsafe_private_named.75, + issn: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + learning_resource_type: self.__unsafe_private_named.78, + license: self.__unsafe_private_named.79, + location_created: self.__unsafe_private_named.80, + main_entity: self.__unsafe_private_named.81, + main_entity_of_page: self.__unsafe_private_named.82, + maintainer: self.__unsafe_private_named.83, + material: self.__unsafe_private_named.84, + material_extent: self.__unsafe_private_named.85, + mentions: self.__unsafe_private_named.86, + name: self.__unsafe_private_named.87, + offers: self.__unsafe_private_named.88, + pattern: self.__unsafe_private_named.89, + position: self.__unsafe_private_named.90, + potential_action: self.__unsafe_private_named.91, + producer: self.__unsafe_private_named.92, + provider: self.__unsafe_private_named.93, + publication: self.__unsafe_private_named.94, + publisher: self.__unsafe_private_named.95, + publisher_imprint: self.__unsafe_private_named.96, + publishing_principles: self.__unsafe_private_named.97, + recorded_at: self.__unsafe_private_named.98, + released_event: self.__unsafe_private_named.99, + review: self.__unsafe_private_named.100, + reviews: self.__unsafe_private_named.101, + same_as: self.__unsafe_private_named.102, + schema_version: self.__unsafe_private_named.103, + sd_date_published: self.__unsafe_private_named.104, + sd_license: self.__unsafe_private_named.105, + sd_publisher: self.__unsafe_private_named.106, + size: self.__unsafe_private_named.107, + source_organization: self.__unsafe_private_named.108, + spatial: self.__unsafe_private_named.109, + spatial_coverage: self.__unsafe_private_named.110, + sponsor: self.__unsafe_private_named.111, + start_date: self.__unsafe_private_named.112, + subject_of: self.__unsafe_private_named.113, + teaches: self.__unsafe_private_named.114, + temporal: self.__unsafe_private_named.115, + temporal_coverage: self.__unsafe_private_named.116, + text: self.__unsafe_private_named.117, + thumbnail: self.__unsafe_private_named.118, + thumbnail_url: self.__unsafe_private_named.119, + time_required: self.__unsafe_private_named.120, + translation_of_work: self.__unsafe_private_named.121, + translator: self.__unsafe_private_named.122, + typical_age_range: self.__unsafe_private_named.123, + url: self.__unsafe_private_named.124, + usage_info: self.__unsafe_private_named.125, + version: self.__unsafe_private_named.126, + video: self.__unsafe_private_named.127, + web_feed: self.__unsafe_private_named.128, + word_count: self.__unsafe_private_named.129, + work_example: self.__unsafe_private_named.130, + work_translation: self.__unsafe_private_named.131, + extra_data: Some(extra_data), + } + } +} + +impl<'a> PodcastSeries<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, PodcastSeriesRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesIssn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesWebFeed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum PodcastSeriesWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PodcastSeriesGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: PodcastSeries<'a>, +} + +impl From> for PodcastSeries<'_> { + fn from(output: PodcastSeriesGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for PodcastSeries<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.PodcastSeries"; + type Record = PodcastSeriesRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct PodcastSeriesRecord; +impl jacquard_common::xrpc::XrpcResp for PodcastSeriesRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.PodcastSeries"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = PodcastSeriesGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for PodcastSeriesRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.PodcastSeries"; + type Record = PodcastSeriesRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for PodcastSeries<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.PodcastSeries" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs new file mode 100644 index 00000000..7e7b9814 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs @@ -0,0 +1,5853 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Product +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub asin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub category: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub color: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub color_swatch: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_assembly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_last_processing: std::option::Option< + EmbeddedCountryOfLastProcessing<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub depth: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin12: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin13: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin14: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin8: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_adult_consideration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_energy_consumption_details: std::option::Option< + EmbeddedHasEnergyConsumptionDetails<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_measurement: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + EmbeddedHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub height: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_product_group_with_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessory_or_spare_part_for: std::option::Option< + EmbeddedIsAccessoryOrSparePartFor<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_consumable_for: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_related_to: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_similar_to: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_variant_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub item_condition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub manufacturer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mobile_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub model: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mpn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub negative_notes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nsn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub positive_notes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub product_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub purchase_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub release_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sku: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub weight: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub width: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAsin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCategory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedColor<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedColorSwatch<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfAssembly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfLastProcessing<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDepth<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin12<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin13<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin14<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGtin8<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasAdultConsideration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasEnergyConsumptionDetails<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMeasurement<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInProductGroupWithId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessoryOrSparePartFor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsConsumableFor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsRelatedTo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsSimilarTo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsVariantOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedItemCondition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedManufacturer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMobileUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedModel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMpn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNegativeNotes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNsn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPositiveNotes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPurchaseDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleaseDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSku<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWidth<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Product", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#asinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#asinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("category"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CategoryCode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PhysicalActivityCategory#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "colorSwatch", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfAssembly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfLastProcessing", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#depthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#depthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasAdultConsideration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdultOrientedEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasEnergyConsumptionDetails", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EnergyConsumptionDetails#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasEnergyConsumptionDetailsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMeasurement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasMeasurementList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#heightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#heightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inProductGroupWithID", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessoryOrSparePartFor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isAccessoryOrSparePartForList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isConsumableFor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isConsumableForList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isRelatedTo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isRelatedToList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isSimilarTo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isSimilarToList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isVariantOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isVariantOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "itemCondition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferItemCondition#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "manufacturer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#manufacturerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mobileUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#modelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#modelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "negativeNotes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("nsn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "positiveNotes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productID", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "purchaseDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releaseDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#skuScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#skuList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Mass#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#weightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#weightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#widthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#widthList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("asin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#asinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#asinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "category", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CategoryCode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PhysicalActivityCategory#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("color"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "colorSwatch", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfAssembly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfLastProcessing", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("depth"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#depthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#depthList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin12"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin13"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin14"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("gtin8"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasAdultConsideration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdultOrientedEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasEnergyConsumptionDetails", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EnergyConsumptionDetails#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasEnergyConsumptionDetailsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMeasurement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasMeasurementList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#heightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#heightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inProductGroupWithID", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessoryOrSparePartFor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isAccessoryOrSparePartForList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isConsumableFor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isConsumableForList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isRelatedTo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isRelatedToList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isSimilarTo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isSimilarToList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isVariantOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#isVariantOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "itemCondition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferItemCondition#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "manufacturer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#manufacturerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mobileUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("model"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#modelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#modelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mpn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "negativeNotes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("nsn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "positiveNotes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productID", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "purchaseDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releaseDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sku"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#skuScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#skuList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("weight"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Mass#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#weightScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#weightList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#widthScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.product#widthList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Product" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Product() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Product<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub asin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub category: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub color: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub color_swatch: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_assembly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_last_processing: std::option::Option< + ProductCountryOfLastProcessing<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub depth: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + ProductDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin12: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin13: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin14: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub gtin8: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_adult_consideration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_energy_consumption_details: std::option::Option< + ProductHasEnergyConsumptionDetails<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_measurement: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + ProductHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + ProductHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub height: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_product_group_with_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessory_or_spare_part_for: std::option::Option< + ProductIsAccessoryOrSparePartFor<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_consumable_for: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_related_to: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_similar_to: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_variant_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub item_condition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub manufacturer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mobile_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub model: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mpn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub negative_notes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nsn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub positive_notes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub product_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub purchase_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub release_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sku: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub weight: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub width: std::option::Option>, +} + +pub mod product_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed {} + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty {} + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members {} +} + +/// Builder for constructing an instance of this type +pub struct ProductBuilder<'a, S: product_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Product<'a> { + /// Create a new builder for this type + pub fn new() -> ProductBuilder<'a, product_state::Empty> { + ProductBuilder::new() + } +} + +impl<'a> ProductBuilder<'a, product_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ProductBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `additionalProperty` field (optional) + pub fn additional_property( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `additionalProperty` field to an Option value (optional) + pub fn maybe_additional_property( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `asin` field (optional) + pub fn asin(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `asin` field to an Option value (optional) + pub fn maybe_asin(mut self, value: Option>) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `category` field (optional) + pub fn category(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `category` field to an Option value (optional) + pub fn maybe_category(mut self, value: Option>) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `color` field (optional) + pub fn color(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `color` field to an Option value (optional) + pub fn maybe_color(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `colorSwatch` field (optional) + pub fn color_swatch( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `colorSwatch` field to an Option value (optional) + pub fn maybe_color_swatch(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `countryOfAssembly` field (optional) + pub fn country_of_assembly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `countryOfAssembly` field to an Option value (optional) + pub fn maybe_country_of_assembly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `countryOfLastProcessing` field (optional) + pub fn country_of_last_processing( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `countryOfLastProcessing` field to an Option value (optional) + pub fn maybe_country_of_last_processing( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `depth` field (optional) + pub fn depth(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `depth` field to an Option value (optional) + pub fn maybe_depth(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `gtin` field (optional) + pub fn gtin(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `gtin` field to an Option value (optional) + pub fn maybe_gtin(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `gtin12` field (optional) + pub fn gtin12(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `gtin12` field to an Option value (optional) + pub fn maybe_gtin12(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `gtin13` field (optional) + pub fn gtin13(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `gtin13` field to an Option value (optional) + pub fn maybe_gtin13(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `gtin14` field (optional) + pub fn gtin14(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `gtin14` field to an Option value (optional) + pub fn maybe_gtin14(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `gtin8` field (optional) + pub fn gtin8(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `gtin8` field to an Option value (optional) + pub fn maybe_gtin8(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasAdultConsideration` field (optional) + pub fn has_adult_consideration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `hasAdultConsideration` field to an Option value (optional) + pub fn maybe_has_adult_consideration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasEnergyConsumptionDetails` field (optional) + pub fn has_energy_consumption_details( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `hasEnergyConsumptionDetails` field to an Option value (optional) + pub fn maybe_has_energy_consumption_details( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasMeasurement` field (optional) + pub fn has_measurement( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `hasMeasurement` field to an Option value (optional) + pub fn maybe_has_measurement( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `hasProductReturnPolicy` field (optional) + pub fn has_product_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `hasProductReturnPolicy` field to an Option value (optional) + pub fn maybe_has_product_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `height` field (optional) + pub fn height(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `height` field to an Option value (optional) + pub fn maybe_height(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `inProductGroupWithID` field (optional) + pub fn in_product_group_with_id( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `inProductGroupWithID` field to an Option value (optional) + pub fn maybe_in_product_group_with_id( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `isAccessoryOrSparePartFor` field (optional) + pub fn is_accessory_or_spare_part_for( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `isAccessoryOrSparePartFor` field to an Option value (optional) + pub fn maybe_is_accessory_or_spare_part_for( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `isConsumableFor` field (optional) + pub fn is_consumable_for( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `isConsumableFor` field to an Option value (optional) + pub fn maybe_is_consumable_for( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `isRelatedTo` field (optional) + pub fn is_related_to( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `isRelatedTo` field to an Option value (optional) + pub fn maybe_is_related_to(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `isSimilarTo` field (optional) + pub fn is_similar_to( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `isSimilarTo` field to an Option value (optional) + pub fn maybe_is_similar_to(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `isVariantOf` field (optional) + pub fn is_variant_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `isVariantOf` field to an Option value (optional) + pub fn maybe_is_variant_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `itemCondition` field (optional) + pub fn item_condition( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `itemCondition` field to an Option value (optional) + pub fn maybe_item_condition( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `manufacturer` field (optional) + pub fn manufacturer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `manufacturer` field to an Option value (optional) + pub fn maybe_manufacturer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `mobileUrl` field (optional) + pub fn mobile_url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `mobileUrl` field to an Option value (optional) + pub fn maybe_mobile_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `model` field (optional) + pub fn model(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `model` field to an Option value (optional) + pub fn maybe_model(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `mpn` field (optional) + pub fn mpn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `mpn` field to an Option value (optional) + pub fn maybe_mpn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `negativeNotes` field (optional) + pub fn negative_notes( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `negativeNotes` field to an Option value (optional) + pub fn maybe_negative_notes( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `nsn` field (optional) + pub fn nsn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `nsn` field to an Option value (optional) + pub fn maybe_nsn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `positiveNotes` field (optional) + pub fn positive_notes( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `positiveNotes` field to an Option value (optional) + pub fn maybe_positive_notes( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `productID` field (optional) + pub fn product_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `productID` field to an Option value (optional) + pub fn maybe_product_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `productionDate` field (optional) + pub fn production_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `productionDate` field to an Option value (optional) + pub fn maybe_production_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `purchaseDate` field (optional) + pub fn purchase_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `purchaseDate` field to an Option value (optional) + pub fn maybe_purchase_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `releaseDate` field (optional) + pub fn release_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `releaseDate` field to an Option value (optional) + pub fn maybe_release_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `sku` field (optional) + pub fn sku(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `sku` field to an Option value (optional) + pub fn maybe_sku(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `weight` field (optional) + pub fn weight(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `weight` field to an Option value (optional) + pub fn maybe_weight(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: product_state::State> ProductBuilder<'a, S> { + /// Set the `width` field (optional) + pub fn width(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `width` field to an Option value (optional) + pub fn maybe_width(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S> ProductBuilder<'a, S> +where + S: product_state::State, +{ + /// Build the final struct + pub fn build(self) -> Product<'a> { + Product { + additional_property: self.__unsafe_private_named.0, + additional_type: self.__unsafe_private_named.1, + aggregate_rating: self.__unsafe_private_named.2, + alternate_name: self.__unsafe_private_named.3, + asin: self.__unsafe_private_named.4, + audience: self.__unsafe_private_named.5, + award: self.__unsafe_private_named.6, + awards: self.__unsafe_private_named.7, + brand: self.__unsafe_private_named.8, + category: self.__unsafe_private_named.9, + color: self.__unsafe_private_named.10, + color_swatch: self.__unsafe_private_named.11, + country_of_assembly: self.__unsafe_private_named.12, + country_of_last_processing: self.__unsafe_private_named.13, + country_of_origin: self.__unsafe_private_named.14, + depth: self.__unsafe_private_named.15, + description: self.__unsafe_private_named.16, + disambiguating_description: self.__unsafe_private_named.17, + funding: self.__unsafe_private_named.18, + gtin: self.__unsafe_private_named.19, + gtin12: self.__unsafe_private_named.20, + gtin13: self.__unsafe_private_named.21, + gtin14: self.__unsafe_private_named.22, + gtin8: self.__unsafe_private_named.23, + has_adult_consideration: self.__unsafe_private_named.24, + has_certification: self.__unsafe_private_named.25, + has_energy_consumption_details: self.__unsafe_private_named.26, + has_gs1_digital_link: self.__unsafe_private_named.27, + has_measurement: self.__unsafe_private_named.28, + has_merchant_return_policy: self.__unsafe_private_named.29, + has_product_return_policy: self.__unsafe_private_named.30, + height: self.__unsafe_private_named.31, + identifier: self.__unsafe_private_named.32, + image: self.__unsafe_private_named.33, + in_product_group_with_id: self.__unsafe_private_named.34, + is_accessory_or_spare_part_for: self.__unsafe_private_named.35, + is_consumable_for: self.__unsafe_private_named.36, + is_family_friendly: self.__unsafe_private_named.37, + is_related_to: self.__unsafe_private_named.38, + is_similar_to: self.__unsafe_private_named.39, + is_variant_of: self.__unsafe_private_named.40, + item_condition: self.__unsafe_private_named.41, + keywords: self.__unsafe_private_named.42, + logo: self.__unsafe_private_named.43, + main_entity_of_page: self.__unsafe_private_named.44, + manufacturer: self.__unsafe_private_named.45, + material: self.__unsafe_private_named.46, + mobile_url: self.__unsafe_private_named.47, + model: self.__unsafe_private_named.48, + mpn: self.__unsafe_private_named.49, + name: self.__unsafe_private_named.50, + negative_notes: self.__unsafe_private_named.51, + nsn: self.__unsafe_private_named.52, + offers: self.__unsafe_private_named.53, + pattern: self.__unsafe_private_named.54, + positive_notes: self.__unsafe_private_named.55, + potential_action: self.__unsafe_private_named.56, + product_id: self.__unsafe_private_named.57, + production_date: self.__unsafe_private_named.58, + purchase_date: self.__unsafe_private_named.59, + release_date: self.__unsafe_private_named.60, + review: self.__unsafe_private_named.61, + reviews: self.__unsafe_private_named.62, + same_as: self.__unsafe_private_named.63, + size: self.__unsafe_private_named.64, + sku: self.__unsafe_private_named.65, + slogan: self.__unsafe_private_named.66, + subject_of: self.__unsafe_private_named.67, + url: self.__unsafe_private_named.68, + weight: self.__unsafe_private_named.69, + width: self.__unsafe_private_named.70, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Product<'a> { + Product { + additional_property: self.__unsafe_private_named.0, + additional_type: self.__unsafe_private_named.1, + aggregate_rating: self.__unsafe_private_named.2, + alternate_name: self.__unsafe_private_named.3, + asin: self.__unsafe_private_named.4, + audience: self.__unsafe_private_named.5, + award: self.__unsafe_private_named.6, + awards: self.__unsafe_private_named.7, + brand: self.__unsafe_private_named.8, + category: self.__unsafe_private_named.9, + color: self.__unsafe_private_named.10, + color_swatch: self.__unsafe_private_named.11, + country_of_assembly: self.__unsafe_private_named.12, + country_of_last_processing: self.__unsafe_private_named.13, + country_of_origin: self.__unsafe_private_named.14, + depth: self.__unsafe_private_named.15, + description: self.__unsafe_private_named.16, + disambiguating_description: self.__unsafe_private_named.17, + funding: self.__unsafe_private_named.18, + gtin: self.__unsafe_private_named.19, + gtin12: self.__unsafe_private_named.20, + gtin13: self.__unsafe_private_named.21, + gtin14: self.__unsafe_private_named.22, + gtin8: self.__unsafe_private_named.23, + has_adult_consideration: self.__unsafe_private_named.24, + has_certification: self.__unsafe_private_named.25, + has_energy_consumption_details: self.__unsafe_private_named.26, + has_gs1_digital_link: self.__unsafe_private_named.27, + has_measurement: self.__unsafe_private_named.28, + has_merchant_return_policy: self.__unsafe_private_named.29, + has_product_return_policy: self.__unsafe_private_named.30, + height: self.__unsafe_private_named.31, + identifier: self.__unsafe_private_named.32, + image: self.__unsafe_private_named.33, + in_product_group_with_id: self.__unsafe_private_named.34, + is_accessory_or_spare_part_for: self.__unsafe_private_named.35, + is_consumable_for: self.__unsafe_private_named.36, + is_family_friendly: self.__unsafe_private_named.37, + is_related_to: self.__unsafe_private_named.38, + is_similar_to: self.__unsafe_private_named.39, + is_variant_of: self.__unsafe_private_named.40, + item_condition: self.__unsafe_private_named.41, + keywords: self.__unsafe_private_named.42, + logo: self.__unsafe_private_named.43, + main_entity_of_page: self.__unsafe_private_named.44, + manufacturer: self.__unsafe_private_named.45, + material: self.__unsafe_private_named.46, + mobile_url: self.__unsafe_private_named.47, + model: self.__unsafe_private_named.48, + mpn: self.__unsafe_private_named.49, + name: self.__unsafe_private_named.50, + negative_notes: self.__unsafe_private_named.51, + nsn: self.__unsafe_private_named.52, + offers: self.__unsafe_private_named.53, + pattern: self.__unsafe_private_named.54, + positive_notes: self.__unsafe_private_named.55, + potential_action: self.__unsafe_private_named.56, + product_id: self.__unsafe_private_named.57, + production_date: self.__unsafe_private_named.58, + purchase_date: self.__unsafe_private_named.59, + release_date: self.__unsafe_private_named.60, + review: self.__unsafe_private_named.61, + reviews: self.__unsafe_private_named.62, + same_as: self.__unsafe_private_named.63, + size: self.__unsafe_private_named.64, + sku: self.__unsafe_private_named.65, + slogan: self.__unsafe_private_named.66, + subject_of: self.__unsafe_private_named.67, + url: self.__unsafe_private_named.68, + weight: self.__unsafe_private_named.69, + width: self.__unsafe_private_named.70, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Product<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ProductRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAsin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductCategory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductColor<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductColorSwatch<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductCountryOfAssembly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductCountryOfLastProcessing<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductDepth<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductGtin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductGtin12<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductGtin13<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductGtin14<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductGtin8<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasAdultConsideration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasEnergyConsumptionDetails<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasMeasurement<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductHeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductInProductGroupWithId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIsAccessoryOrSparePartFor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIsConsumableFor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIsRelatedTo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIsSimilarTo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductIsVariantOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductItemCondition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductManufacturer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + Embedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductMobileUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductModel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductMpn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductNegativeNotes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductNsn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductPositiveNotes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductProductId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductProductionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductPurchaseDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductReleaseDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductSku<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductWeight<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ProductWidth<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ProductGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Product<'a>, +} + +impl From> for Product<'_> { + fn from(output: ProductGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Product<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Product"; + type Record = ProductRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ProductRecord; +impl jacquard_common::xrpc::XrpcResp for ProductRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Product"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ProductGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ProductRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Product"; + type Record = ProductRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Product<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Product" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Product() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs new file mode 100644 index 00000000..e7a05d95 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs @@ -0,0 +1,11914 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Recipe +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A recipe. For dietary restrictions covered by the recipe, a few common restrictions are enumerated via [[suitableForDiet]]. The [[keywords]] property can also be used to add more detail. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cook_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cooking_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub estimated_cost: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ingredients: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nutrition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub perform_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub prep_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_category: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_cuisine: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_ingredient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_instructions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_yield: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub step: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub steps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub suitable_for_diet: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub supply: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tool: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub total_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#yield: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCookTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCookingMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEstimatedCost<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIngredients<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNutrition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPerformTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPrepTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecipeCategory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecipeCuisine<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecipeIngredient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecipeInstructions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecipeYield<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStep<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSteps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSuitableForDiet<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSupply<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTool<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTotalTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedYield<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Recipe", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A recipe. For dietary restrictions covered by the recipe, a few common restrictions are enumerated via [[suitableForDiet]]. The [[keywords]] property can also be used to add more detail.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("cookTime"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cookingMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookingMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookingMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "estimatedCost", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MonetaryAmount#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#estimatedCostScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#estimatedCostList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ingredients", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#ingredientsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#ingredientsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nutrition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NutritionInformation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#nutritionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#performTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#performTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("prepTime"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#prepTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#prepTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeCategory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCategoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCategoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeCuisine", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCuisineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCuisineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeIngredient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeIngredientScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeIngredientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeInstructions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeInstructionsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeInstructionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeYield", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeYieldScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeYieldList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("step"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToSection#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToStep#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "suitableForDiet", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.RestrictedDiet#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#suitableForDietScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#suitableForDietList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("supply"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToSupply#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#supplyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#supplyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tool"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToTool#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#toolScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#toolList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "totalTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#totalTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#totalTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#workTranslationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("yield"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#yieldScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#yieldList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A recipe. For dietary restrictions covered by the recipe, a few common restrictions are enumerated via [[suitableForDiet]]. The [[keywords]] property can also be used to add more detail.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cookTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cookingMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookingMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#cookingMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "estimatedCost", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MonetaryAmount#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#estimatedCostScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#estimatedCostList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ingredients", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#ingredientsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#ingredientsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nutrition", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NutritionInformation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#nutritionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "performTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#performTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#performTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "prepTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#prepTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#prepTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeCategory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCategoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCategoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeCuisine", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCuisineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeCuisineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeIngredient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeIngredientScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeIngredientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeInstructions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeInstructionsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeInstructionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recipeYield", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeYieldScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recipeYieldList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("step"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToSection#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToStep#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("steps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#stepsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "suitableForDiet", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.RestrictedDiet#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#suitableForDietScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#suitableForDietList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("supply"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToSupply#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#supplyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#supplyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tool"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.HowToTool#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#toolScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#toolList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "totalTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#totalTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#totalTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#workTranslationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("yield"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#yieldScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.recipe#yieldList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Recipe" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Recipe() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Recipe<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cook_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cooking_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + RecipeDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub estimated_cost: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ingredients: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nutrition: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub perform_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub prep_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_category: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_cuisine: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_ingredient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_instructions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recipe_yield: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub step: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub steps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub suitable_for_diet: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub supply: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tool: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub total_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#yield: std::option::Option>, +} + +pub mod recipe_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 RecipeBuilder<'a, S: recipe_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Recipe<'a> { + /// Create a new builder for this type + pub fn new() -> RecipeBuilder<'a, recipe_state::Empty> { + RecipeBuilder::new() + } +} + +impl<'a> RecipeBuilder<'a, recipe_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + RecipeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `cookTime` field (optional) + pub fn cook_time(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `cookTime` field to an Option value (optional) + pub fn maybe_cook_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `cookingMethod` field (optional) + pub fn cooking_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `cookingMethod` field to an Option value (optional) + pub fn maybe_cooking_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `estimatedCost` field (optional) + pub fn estimated_cost( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `estimatedCost` field to an Option value (optional) + pub fn maybe_estimated_cost( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `ingredients` field (optional) + pub fn ingredients( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `ingredients` field to an Option value (optional) + pub fn maybe_ingredients(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `nutrition` field (optional) + pub fn nutrition(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `nutrition` field to an Option value (optional) + pub fn maybe_nutrition(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `performTime` field (optional) + pub fn perform_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `performTime` field to an Option value (optional) + pub fn maybe_perform_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `prepTime` field (optional) + pub fn prep_time(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `prepTime` field to an Option value (optional) + pub fn maybe_prep_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `recipeCategory` field (optional) + pub fn recipe_category( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `recipeCategory` field to an Option value (optional) + pub fn maybe_recipe_category( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `recipeCuisine` field (optional) + pub fn recipe_cuisine( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `recipeCuisine` field to an Option value (optional) + pub fn maybe_recipe_cuisine( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `recipeIngredient` field (optional) + pub fn recipe_ingredient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `recipeIngredient` field to an Option value (optional) + pub fn maybe_recipe_ingredient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `recipeInstructions` field (optional) + pub fn recipe_instructions( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `recipeInstructions` field to an Option value (optional) + pub fn maybe_recipe_instructions( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `recipeYield` field (optional) + pub fn recipe_yield( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `recipeYield` field to an Option value (optional) + pub fn maybe_recipe_yield(mut self, value: Option>) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `step` field (optional) + pub fn step(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `step` field to an Option value (optional) + pub fn maybe_step(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `steps` field (optional) + pub fn steps(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `steps` field to an Option value (optional) + pub fn maybe_steps(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `suitableForDiet` field (optional) + pub fn suitable_for_diet( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `suitableForDiet` field to an Option value (optional) + pub fn maybe_suitable_for_diet( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `supply` field (optional) + pub fn supply(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `supply` field to an Option value (optional) + pub fn maybe_supply(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required(mut self, value: Option>) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `tool` field (optional) + pub fn tool(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `tool` field to an Option value (optional) + pub fn maybe_tool(mut self, value: Option>) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `totalTime` field (optional) + pub fn total_time(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `totalTime` field to an Option value (optional) + pub fn maybe_total_time(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.137 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.137 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.138 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.138 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.139 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.139 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.140 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.140 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.141 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.141 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.142 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.142 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.143 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.143 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.144 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.144 = value; + self + } +} + +impl<'a, S: recipe_state::State> RecipeBuilder<'a, S> { + /// Set the `yield` field (optional) + pub fn r#yield(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.145 = value.into(); + self + } + /// Set the `yield` field to an Option value (optional) + pub fn maybe_yield(mut self, value: Option>) -> Self { + self.__unsafe_private_named.145 = value; + self + } +} + +impl<'a, S> RecipeBuilder<'a, S> +where + S: recipe_state::State, +{ + /// Build the final struct + pub fn build(self) -> Recipe<'a> { + Recipe { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + assesses: self.__unsafe_private_named.16, + associated_media: self.__unsafe_private_named.17, + audience: self.__unsafe_private_named.18, + audio: self.__unsafe_private_named.19, + author: self.__unsafe_private_named.20, + award: self.__unsafe_private_named.21, + awards: self.__unsafe_private_named.22, + character: self.__unsafe_private_named.23, + citation: self.__unsafe_private_named.24, + comment: self.__unsafe_private_named.25, + comment_count: self.__unsafe_private_named.26, + conditions_of_access: self.__unsafe_private_named.27, + content_location: self.__unsafe_private_named.28, + content_rating: self.__unsafe_private_named.29, + content_reference_time: self.__unsafe_private_named.30, + contributor: self.__unsafe_private_named.31, + cook_time: self.__unsafe_private_named.32, + cooking_method: self.__unsafe_private_named.33, + copyright_holder: self.__unsafe_private_named.34, + copyright_notice: self.__unsafe_private_named.35, + copyright_year: self.__unsafe_private_named.36, + correction: self.__unsafe_private_named.37, + country_of_origin: self.__unsafe_private_named.38, + creative_work_status: self.__unsafe_private_named.39, + creator: self.__unsafe_private_named.40, + credit_text: self.__unsafe_private_named.41, + date_created: self.__unsafe_private_named.42, + date_modified: self.__unsafe_private_named.43, + date_published: self.__unsafe_private_named.44, + description: self.__unsafe_private_named.45, + digital_source_type: self.__unsafe_private_named.46, + disambiguating_description: self.__unsafe_private_named.47, + discussion_url: self.__unsafe_private_named.48, + edit_eidr: self.__unsafe_private_named.49, + editor: self.__unsafe_private_named.50, + educational_alignment: self.__unsafe_private_named.51, + educational_level: self.__unsafe_private_named.52, + educational_use: self.__unsafe_private_named.53, + encoding: self.__unsafe_private_named.54, + encoding_format: self.__unsafe_private_named.55, + encodings: self.__unsafe_private_named.56, + estimated_cost: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + image: self.__unsafe_private_named.67, + in_language: self.__unsafe_private_named.68, + ingredients: self.__unsafe_private_named.69, + interaction_statistic: self.__unsafe_private_named.70, + interactivity_type: self.__unsafe_private_named.71, + interpreted_as_claim: self.__unsafe_private_named.72, + is_accessible_for_free: self.__unsafe_private_named.73, + is_based_on: self.__unsafe_private_named.74, + is_based_on_url: self.__unsafe_private_named.75, + is_family_friendly: self.__unsafe_private_named.76, + is_part_of: self.__unsafe_private_named.77, + keywords: self.__unsafe_private_named.78, + learning_resource_type: self.__unsafe_private_named.79, + license: self.__unsafe_private_named.80, + location_created: self.__unsafe_private_named.81, + main_entity: self.__unsafe_private_named.82, + main_entity_of_page: self.__unsafe_private_named.83, + maintainer: self.__unsafe_private_named.84, + material: self.__unsafe_private_named.85, + material_extent: self.__unsafe_private_named.86, + mentions: self.__unsafe_private_named.87, + name: self.__unsafe_private_named.88, + nutrition: self.__unsafe_private_named.89, + offers: self.__unsafe_private_named.90, + pattern: self.__unsafe_private_named.91, + perform_time: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + prep_time: self.__unsafe_private_named.95, + producer: self.__unsafe_private_named.96, + provider: self.__unsafe_private_named.97, + publication: self.__unsafe_private_named.98, + publisher: self.__unsafe_private_named.99, + publisher_imprint: self.__unsafe_private_named.100, + publishing_principles: self.__unsafe_private_named.101, + recipe_category: self.__unsafe_private_named.102, + recipe_cuisine: self.__unsafe_private_named.103, + recipe_ingredient: self.__unsafe_private_named.104, + recipe_instructions: self.__unsafe_private_named.105, + recipe_yield: self.__unsafe_private_named.106, + recorded_at: self.__unsafe_private_named.107, + released_event: self.__unsafe_private_named.108, + review: self.__unsafe_private_named.109, + reviews: self.__unsafe_private_named.110, + same_as: self.__unsafe_private_named.111, + schema_version: self.__unsafe_private_named.112, + sd_date_published: self.__unsafe_private_named.113, + sd_license: self.__unsafe_private_named.114, + sd_publisher: self.__unsafe_private_named.115, + size: self.__unsafe_private_named.116, + source_organization: self.__unsafe_private_named.117, + spatial: self.__unsafe_private_named.118, + spatial_coverage: self.__unsafe_private_named.119, + sponsor: self.__unsafe_private_named.120, + step: self.__unsafe_private_named.121, + steps: self.__unsafe_private_named.122, + subject_of: self.__unsafe_private_named.123, + suitable_for_diet: self.__unsafe_private_named.124, + supply: self.__unsafe_private_named.125, + teaches: self.__unsafe_private_named.126, + temporal: self.__unsafe_private_named.127, + temporal_coverage: self.__unsafe_private_named.128, + text: self.__unsafe_private_named.129, + thumbnail: self.__unsafe_private_named.130, + thumbnail_url: self.__unsafe_private_named.131, + time_required: self.__unsafe_private_named.132, + tool: self.__unsafe_private_named.133, + total_time: self.__unsafe_private_named.134, + translation_of_work: self.__unsafe_private_named.135, + translator: self.__unsafe_private_named.136, + typical_age_range: self.__unsafe_private_named.137, + url: self.__unsafe_private_named.138, + usage_info: self.__unsafe_private_named.139, + version: self.__unsafe_private_named.140, + video: self.__unsafe_private_named.141, + word_count: self.__unsafe_private_named.142, + work_example: self.__unsafe_private_named.143, + work_translation: self.__unsafe_private_named.144, + r#yield: self.__unsafe_private_named.145, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Recipe<'a> { + Recipe { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + assesses: self.__unsafe_private_named.16, + associated_media: self.__unsafe_private_named.17, + audience: self.__unsafe_private_named.18, + audio: self.__unsafe_private_named.19, + author: self.__unsafe_private_named.20, + award: self.__unsafe_private_named.21, + awards: self.__unsafe_private_named.22, + character: self.__unsafe_private_named.23, + citation: self.__unsafe_private_named.24, + comment: self.__unsafe_private_named.25, + comment_count: self.__unsafe_private_named.26, + conditions_of_access: self.__unsafe_private_named.27, + content_location: self.__unsafe_private_named.28, + content_rating: self.__unsafe_private_named.29, + content_reference_time: self.__unsafe_private_named.30, + contributor: self.__unsafe_private_named.31, + cook_time: self.__unsafe_private_named.32, + cooking_method: self.__unsafe_private_named.33, + copyright_holder: self.__unsafe_private_named.34, + copyright_notice: self.__unsafe_private_named.35, + copyright_year: self.__unsafe_private_named.36, + correction: self.__unsafe_private_named.37, + country_of_origin: self.__unsafe_private_named.38, + creative_work_status: self.__unsafe_private_named.39, + creator: self.__unsafe_private_named.40, + credit_text: self.__unsafe_private_named.41, + date_created: self.__unsafe_private_named.42, + date_modified: self.__unsafe_private_named.43, + date_published: self.__unsafe_private_named.44, + description: self.__unsafe_private_named.45, + digital_source_type: self.__unsafe_private_named.46, + disambiguating_description: self.__unsafe_private_named.47, + discussion_url: self.__unsafe_private_named.48, + edit_eidr: self.__unsafe_private_named.49, + editor: self.__unsafe_private_named.50, + educational_alignment: self.__unsafe_private_named.51, + educational_level: self.__unsafe_private_named.52, + educational_use: self.__unsafe_private_named.53, + encoding: self.__unsafe_private_named.54, + encoding_format: self.__unsafe_private_named.55, + encodings: self.__unsafe_private_named.56, + estimated_cost: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + image: self.__unsafe_private_named.67, + in_language: self.__unsafe_private_named.68, + ingredients: self.__unsafe_private_named.69, + interaction_statistic: self.__unsafe_private_named.70, + interactivity_type: self.__unsafe_private_named.71, + interpreted_as_claim: self.__unsafe_private_named.72, + is_accessible_for_free: self.__unsafe_private_named.73, + is_based_on: self.__unsafe_private_named.74, + is_based_on_url: self.__unsafe_private_named.75, + is_family_friendly: self.__unsafe_private_named.76, + is_part_of: self.__unsafe_private_named.77, + keywords: self.__unsafe_private_named.78, + learning_resource_type: self.__unsafe_private_named.79, + license: self.__unsafe_private_named.80, + location_created: self.__unsafe_private_named.81, + main_entity: self.__unsafe_private_named.82, + main_entity_of_page: self.__unsafe_private_named.83, + maintainer: self.__unsafe_private_named.84, + material: self.__unsafe_private_named.85, + material_extent: self.__unsafe_private_named.86, + mentions: self.__unsafe_private_named.87, + name: self.__unsafe_private_named.88, + nutrition: self.__unsafe_private_named.89, + offers: self.__unsafe_private_named.90, + pattern: self.__unsafe_private_named.91, + perform_time: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + prep_time: self.__unsafe_private_named.95, + producer: self.__unsafe_private_named.96, + provider: self.__unsafe_private_named.97, + publication: self.__unsafe_private_named.98, + publisher: self.__unsafe_private_named.99, + publisher_imprint: self.__unsafe_private_named.100, + publishing_principles: self.__unsafe_private_named.101, + recipe_category: self.__unsafe_private_named.102, + recipe_cuisine: self.__unsafe_private_named.103, + recipe_ingredient: self.__unsafe_private_named.104, + recipe_instructions: self.__unsafe_private_named.105, + recipe_yield: self.__unsafe_private_named.106, + recorded_at: self.__unsafe_private_named.107, + released_event: self.__unsafe_private_named.108, + review: self.__unsafe_private_named.109, + reviews: self.__unsafe_private_named.110, + same_as: self.__unsafe_private_named.111, + schema_version: self.__unsafe_private_named.112, + sd_date_published: self.__unsafe_private_named.113, + sd_license: self.__unsafe_private_named.114, + sd_publisher: self.__unsafe_private_named.115, + size: self.__unsafe_private_named.116, + source_organization: self.__unsafe_private_named.117, + spatial: self.__unsafe_private_named.118, + spatial_coverage: self.__unsafe_private_named.119, + sponsor: self.__unsafe_private_named.120, + step: self.__unsafe_private_named.121, + steps: self.__unsafe_private_named.122, + subject_of: self.__unsafe_private_named.123, + suitable_for_diet: self.__unsafe_private_named.124, + supply: self.__unsafe_private_named.125, + teaches: self.__unsafe_private_named.126, + temporal: self.__unsafe_private_named.127, + temporal_coverage: self.__unsafe_private_named.128, + text: self.__unsafe_private_named.129, + thumbnail: self.__unsafe_private_named.130, + thumbnail_url: self.__unsafe_private_named.131, + time_required: self.__unsafe_private_named.132, + tool: self.__unsafe_private_named.133, + total_time: self.__unsafe_private_named.134, + translation_of_work: self.__unsafe_private_named.135, + translator: self.__unsafe_private_named.136, + typical_age_range: self.__unsafe_private_named.137, + url: self.__unsafe_private_named.138, + usage_info: self.__unsafe_private_named.139, + version: self.__unsafe_private_named.140, + video: self.__unsafe_private_named.141, + word_count: self.__unsafe_private_named.142, + work_example: self.__unsafe_private_named.143, + work_translation: self.__unsafe_private_named.144, + r#yield: self.__unsafe_private_named.145, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Recipe<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, RecipeRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCookTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCookingMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeEstimatedCost<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIngredients<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeNutrition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePerformTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePrepTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeRecipeCategory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeRecipeCuisine<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeRecipeIngredient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeRecipeInstructions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeRecipeYield<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeStep<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSteps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSuitableForDiet<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeSupply<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTool<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTotalTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeWorkTranslation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum RecipeYield<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct RecipeGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Recipe<'a>, +} + +impl From> for Recipe<'_> { + fn from(output: RecipeGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Recipe<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Recipe"; + type Record = RecipeRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct RecipeRecord; +impl jacquard_common::xrpc::XrpcResp for RecipeRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Recipe"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = RecipeGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for RecipeRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Recipe"; + type Record = RecipeRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Recipe<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Recipe" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Recipe() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs new file mode 100644 index 00000000..a168b298 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs @@ -0,0 +1,11448 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.SocialMediaPosting +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A post to a social media platform, including blog posts, tweets, Facebook posts, etc. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub shared_content: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSharedContent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.SocialMediaPosting", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A post to a social media platform, including blog posts, tweets, Facebook posts, etc.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sharedContent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sharedContentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A post to a social media platform, including blog posts, tweets, Facebook posts, etc.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleBody", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleBodyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleBodyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "articleSection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleSectionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#articleSectionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "backstory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#backstoryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#backstoryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pageEnd"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageEndScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageEndList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageStart", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageStartScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#pageStartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pagination", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#paginationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#paginationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sharedContent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sharedContentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "speakable", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SpeakableSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#speakableScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#speakableList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.socialMediaPosting#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.SocialMediaPosting" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct SocialMediaPosting<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option< + SocialMediaPostingAccessModeSufficient<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option< + SocialMediaPostingAccessibilityControl<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option< + SocialMediaPostingAccessibilityFeature<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option< + SocialMediaPostingAccessibilityHazard<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option< + SocialMediaPostingAccessibilitySummary<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option< + SocialMediaPostingAcquireLicensePage<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option< + SocialMediaPostingAlternativeHeadline<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_body: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub article_section: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub backstory: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option< + SocialMediaPostingConditionsOfAccess<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option< + SocialMediaPostingContentReferenceTime<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option< + SocialMediaPostingCreativeWorkStatus<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option< + SocialMediaPostingDigitalSourceType<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + SocialMediaPostingDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option< + SocialMediaPostingEducationalAlignment<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option< + SocialMediaPostingInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option< + SocialMediaPostingInterpretedAsClaim<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option< + SocialMediaPostingIsAccessibleForFree<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option< + SocialMediaPostingLearningResourceType<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_end: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_start: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pagination: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option< + SocialMediaPostingPublishingPrinciples<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub shared_content: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option< + SocialMediaPostingSourceOrganization<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub speakable: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option< + SocialMediaPostingTranslationOfWork<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod social_media_posting_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 SocialMediaPostingBuilder<'a, S: social_media_posting_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> SocialMediaPosting<'a> { + /// Create a new builder for this type + pub fn new() -> SocialMediaPostingBuilder<'a, social_media_posting_state::Empty> { + SocialMediaPostingBuilder::new() + } +} + +impl<'a> SocialMediaPostingBuilder<'a, social_media_posting_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + SocialMediaPostingBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `articleBody` field (optional) + pub fn article_body( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `articleBody` field to an Option value (optional) + pub fn maybe_article_body( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `articleSection` field (optional) + pub fn article_section( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `articleSection` field to an Option value (optional) + pub fn maybe_article_section( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `backstory` field (optional) + pub fn backstory( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `backstory` field to an Option value (optional) + pub fn maybe_backstory( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `pageEnd` field (optional) + pub fn page_end( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `pageEnd` field to an Option value (optional) + pub fn maybe_page_end( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `pageStart` field (optional) + pub fn page_start( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `pageStart` field to an Option value (optional) + pub fn maybe_page_start( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `pagination` field (optional) + pub fn pagination( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `pagination` field to an Option value (optional) + pub fn maybe_pagination( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sharedContent` field (optional) + pub fn shared_content( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `sharedContent` field to an Option value (optional) + pub fn maybe_shared_content( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `speakable` field (optional) + pub fn speakable( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `speakable` field to an Option value (optional) + pub fn maybe_speakable( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: social_media_posting_state::State> SocialMediaPostingBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S> SocialMediaPostingBuilder<'a, S> +where + S: social_media_posting_state::State, +{ + /// Build the final struct + pub fn build(self) -> SocialMediaPosting<'a> { + SocialMediaPosting { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + article_body: self.__unsafe_private_named.16, + article_section: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + backstory: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + disambiguating_description: self.__unsafe_private_named.48, + discussion_url: self.__unsafe_private_named.49, + edit_eidr: self.__unsafe_private_named.50, + editor: self.__unsafe_private_named.51, + educational_alignment: self.__unsafe_private_named.52, + educational_level: self.__unsafe_private_named.53, + educational_use: self.__unsafe_private_named.54, + encoding: self.__unsafe_private_named.55, + encoding_format: self.__unsafe_private_named.56, + encodings: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + image: self.__unsafe_private_named.67, + in_language: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + interactivity_type: self.__unsafe_private_named.70, + interpreted_as_claim: self.__unsafe_private_named.71, + is_accessible_for_free: self.__unsafe_private_named.72, + is_based_on: self.__unsafe_private_named.73, + is_based_on_url: self.__unsafe_private_named.74, + is_family_friendly: self.__unsafe_private_named.75, + is_part_of: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + learning_resource_type: self.__unsafe_private_named.78, + license: self.__unsafe_private_named.79, + location_created: self.__unsafe_private_named.80, + main_entity: self.__unsafe_private_named.81, + main_entity_of_page: self.__unsafe_private_named.82, + maintainer: self.__unsafe_private_named.83, + material: self.__unsafe_private_named.84, + material_extent: self.__unsafe_private_named.85, + mentions: self.__unsafe_private_named.86, + name: self.__unsafe_private_named.87, + offers: self.__unsafe_private_named.88, + page_end: self.__unsafe_private_named.89, + page_start: self.__unsafe_private_named.90, + pagination: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + provider: self.__unsafe_private_named.96, + publication: self.__unsafe_private_named.97, + publisher: self.__unsafe_private_named.98, + publisher_imprint: self.__unsafe_private_named.99, + publishing_principles: self.__unsafe_private_named.100, + recorded_at: self.__unsafe_private_named.101, + released_event: self.__unsafe_private_named.102, + review: self.__unsafe_private_named.103, + reviews: self.__unsafe_private_named.104, + same_as: self.__unsafe_private_named.105, + schema_version: self.__unsafe_private_named.106, + sd_date_published: self.__unsafe_private_named.107, + sd_license: self.__unsafe_private_named.108, + sd_publisher: self.__unsafe_private_named.109, + shared_content: self.__unsafe_private_named.110, + size: self.__unsafe_private_named.111, + source_organization: self.__unsafe_private_named.112, + spatial: self.__unsafe_private_named.113, + spatial_coverage: self.__unsafe_private_named.114, + speakable: self.__unsafe_private_named.115, + sponsor: self.__unsafe_private_named.116, + subject_of: self.__unsafe_private_named.117, + teaches: self.__unsafe_private_named.118, + temporal: self.__unsafe_private_named.119, + temporal_coverage: self.__unsafe_private_named.120, + text: self.__unsafe_private_named.121, + thumbnail: self.__unsafe_private_named.122, + thumbnail_url: self.__unsafe_private_named.123, + time_required: self.__unsafe_private_named.124, + translation_of_work: self.__unsafe_private_named.125, + translator: self.__unsafe_private_named.126, + typical_age_range: self.__unsafe_private_named.127, + url: self.__unsafe_private_named.128, + usage_info: self.__unsafe_private_named.129, + version: self.__unsafe_private_named.130, + video: self.__unsafe_private_named.131, + word_count: self.__unsafe_private_named.132, + work_example: self.__unsafe_private_named.133, + work_translation: self.__unsafe_private_named.134, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> SocialMediaPosting<'a> { + SocialMediaPosting { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + article_body: self.__unsafe_private_named.16, + article_section: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + backstory: self.__unsafe_private_named.25, + character: self.__unsafe_private_named.26, + citation: self.__unsafe_private_named.27, + comment: self.__unsafe_private_named.28, + comment_count: self.__unsafe_private_named.29, + conditions_of_access: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + disambiguating_description: self.__unsafe_private_named.48, + discussion_url: self.__unsafe_private_named.49, + edit_eidr: self.__unsafe_private_named.50, + editor: self.__unsafe_private_named.51, + educational_alignment: self.__unsafe_private_named.52, + educational_level: self.__unsafe_private_named.53, + educational_use: self.__unsafe_private_named.54, + encoding: self.__unsafe_private_named.55, + encoding_format: self.__unsafe_private_named.56, + encodings: self.__unsafe_private_named.57, + example_of_work: self.__unsafe_private_named.58, + expires: self.__unsafe_private_named.59, + file_format: self.__unsafe_private_named.60, + funder: self.__unsafe_private_named.61, + funding: self.__unsafe_private_named.62, + genre: self.__unsafe_private_named.63, + has_part: self.__unsafe_private_named.64, + headline: self.__unsafe_private_named.65, + identifier: self.__unsafe_private_named.66, + image: self.__unsafe_private_named.67, + in_language: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + interactivity_type: self.__unsafe_private_named.70, + interpreted_as_claim: self.__unsafe_private_named.71, + is_accessible_for_free: self.__unsafe_private_named.72, + is_based_on: self.__unsafe_private_named.73, + is_based_on_url: self.__unsafe_private_named.74, + is_family_friendly: self.__unsafe_private_named.75, + is_part_of: self.__unsafe_private_named.76, + keywords: self.__unsafe_private_named.77, + learning_resource_type: self.__unsafe_private_named.78, + license: self.__unsafe_private_named.79, + location_created: self.__unsafe_private_named.80, + main_entity: self.__unsafe_private_named.81, + main_entity_of_page: self.__unsafe_private_named.82, + maintainer: self.__unsafe_private_named.83, + material: self.__unsafe_private_named.84, + material_extent: self.__unsafe_private_named.85, + mentions: self.__unsafe_private_named.86, + name: self.__unsafe_private_named.87, + offers: self.__unsafe_private_named.88, + page_end: self.__unsafe_private_named.89, + page_start: self.__unsafe_private_named.90, + pagination: self.__unsafe_private_named.91, + pattern: self.__unsafe_private_named.92, + position: self.__unsafe_private_named.93, + potential_action: self.__unsafe_private_named.94, + producer: self.__unsafe_private_named.95, + provider: self.__unsafe_private_named.96, + publication: self.__unsafe_private_named.97, + publisher: self.__unsafe_private_named.98, + publisher_imprint: self.__unsafe_private_named.99, + publishing_principles: self.__unsafe_private_named.100, + recorded_at: self.__unsafe_private_named.101, + released_event: self.__unsafe_private_named.102, + review: self.__unsafe_private_named.103, + reviews: self.__unsafe_private_named.104, + same_as: self.__unsafe_private_named.105, + schema_version: self.__unsafe_private_named.106, + sd_date_published: self.__unsafe_private_named.107, + sd_license: self.__unsafe_private_named.108, + sd_publisher: self.__unsafe_private_named.109, + shared_content: self.__unsafe_private_named.110, + size: self.__unsafe_private_named.111, + source_organization: self.__unsafe_private_named.112, + spatial: self.__unsafe_private_named.113, + spatial_coverage: self.__unsafe_private_named.114, + speakable: self.__unsafe_private_named.115, + sponsor: self.__unsafe_private_named.116, + subject_of: self.__unsafe_private_named.117, + teaches: self.__unsafe_private_named.118, + temporal: self.__unsafe_private_named.119, + temporal_coverage: self.__unsafe_private_named.120, + text: self.__unsafe_private_named.121, + thumbnail: self.__unsafe_private_named.122, + thumbnail_url: self.__unsafe_private_named.123, + time_required: self.__unsafe_private_named.124, + translation_of_work: self.__unsafe_private_named.125, + translator: self.__unsafe_private_named.126, + typical_age_range: self.__unsafe_private_named.127, + url: self.__unsafe_private_named.128, + usage_info: self.__unsafe_private_named.129, + version: self.__unsafe_private_named.130, + video: self.__unsafe_private_named.131, + word_count: self.__unsafe_private_named.132, + work_example: self.__unsafe_private_named.133, + work_translation: self.__unsafe_private_named.134, + extra_data: Some(extra_data), + } + } +} + +impl<'a> SocialMediaPosting<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, SocialMediaPostingRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingArticleBody<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingArticleSection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingBackstory<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPageEnd<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPageStart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPagination<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSharedContent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSpeakable<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum SocialMediaPostingWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct SocialMediaPostingGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: SocialMediaPosting<'a>, +} + +impl From> for SocialMediaPosting<'_> { + fn from(output: SocialMediaPostingGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for SocialMediaPosting<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.SocialMediaPosting"; + type Record = SocialMediaPostingRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct SocialMediaPostingRecord; +impl jacquard_common::xrpc::XrpcResp for SocialMediaPostingRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.SocialMediaPosting"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = SocialMediaPostingGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for SocialMediaPostingRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.SocialMediaPosting"; + type Record = SocialMediaPostingRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for SocialMediaPosting<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.SocialMediaPosting" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs new file mode 100644 index 00000000..52553bc4 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs @@ -0,0 +1,10312 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.Store +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A retail good store. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + EmbeddedActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + EmbeddedAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub amenity_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub currencies_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option< + EmbeddedDiversityStaffingReport<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_contains: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_crosses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_disjoint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_equals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_intersects: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_overlaps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_touches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_within: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_drive_through_service: std::option::Option< + EmbeddedHasDriveThroughService<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + EmbeddedHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option< + EmbeddedHasProductReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub latitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub longitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option< + EmbeddedMaximumAttendeeCapacity<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours_specification: std::option::Option< + EmbeddedOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub payment_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub public_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub smoking_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub special_opening_hours_specification: std::option::Option< + EmbeddedSpecialOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tour_booking_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAmenityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBranchCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBranchOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainedInPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainsPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCurrenciesAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoContains<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCoveredBy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCovers<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoCrosses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoDisjoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoEquals<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoIntersects<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoOverlaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoTouches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGeoWithin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasDriveThroughService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLatitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLongitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOpeningHours<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPaymentAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPhoto<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPhotos<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPriceRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublicAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSmokingAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpecialOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTourBookingPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVatId<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.Store", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("A retail good store."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "amenityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LocationFeatureSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#amenityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchCode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#branchCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#branchCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("branchOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#branchOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#containedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedInPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#containedInPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#containsPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "currenciesAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#currenciesAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#currenciesAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("employee"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founders"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoCoordinates#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoContains", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoContainsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCoveredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoCoveredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCovers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoCoversList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCrosses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoCrossesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoDisjoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoDisjointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoEquals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoEqualsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoIntersects", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoIntersectsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoOverlaps", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoOverlapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoTouches", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoTouchesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoWithin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoWithinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasDriveThroughService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasDriveThroughServiceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasDriveThroughServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Map#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("latitude"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#latitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#latitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("location"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "longitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#longitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#longitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("memberOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHours", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#openingHoursScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#openingHoursList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#openingHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "paymentAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#paymentAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#paymentAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#photoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#photosList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#priceRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#priceRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publicAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publicAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publicAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "smokingAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#smokingAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#smokingAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "specialOpeningHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#specialOpeningHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tourBookingPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#tourBookingPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#tourBookingPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("A retail good store."), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acceptedPaymentMethod", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#acceptedPaymentMethodScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#acceptedPaymentMethodList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "actionableFeedbackPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#actionableFeedbackPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#actionableFeedbackPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalProperty", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#additionalPropertyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("address"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#addressScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#addressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "agentInteractionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#agentInteractionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alumni"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#alumniList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "amenityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.LocationFeatureSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#amenityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "areaServed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#areaServedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#areaServedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchCode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#branchCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#branchCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "branchOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#branchOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("brand"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#brandList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "companyRegistration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#companyRegistrationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#contactPointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contactPoints", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#contactPointsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedIn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#containedInList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containedInPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#containedInPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsPlace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#containsPlaceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correctionsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#correctionsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#correctionsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "currenciesAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#currenciesAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#currenciesAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "department", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#departmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dissolutionDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dissolutionDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dissolutionDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "diversityStaffingReport", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityStaffingReportScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#diversityStaffingReportList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dunsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#dunsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("email"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#emailScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#emailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employee", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#employeeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "employees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#employeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ethicsPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ethicsPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ethicsPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("event"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#eventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("events"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#eventsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "faxNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#faxNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#faxNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("founder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#founderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "founders", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundingDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundingDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "foundingLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#foundingLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("geo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoCoordinates#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoContains", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoContainsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCoveredBy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoCoveredByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCovers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoCoversList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoCrosses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoCrossesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoDisjoint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoDisjointList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoEquals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoEqualsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoIntersects", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoIntersectsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoOverlaps", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoOverlapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoTouches", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoTouchesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "geoWithin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeospatialGeometry#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#geoWithinList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "globalLocationNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#globalLocationNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#globalLocationNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCertification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasCertificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasCredential", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasCredentialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasDriveThroughService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasDriveThroughServiceScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasDriveThroughServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasGS1DigitalLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasGS1DigitalLinkScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasGS1DigitalLinkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasMap"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Map#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMemberProgram", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMemberProgramList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasMerchantReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasMerchantReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasOfferCatalog", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasOfferCatalogList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPOS"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasPOSList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasProductReturnPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasProductReturnPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hasShippingService", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#hasShippingServiceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isicV4"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isicV4Scalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#isicV4List") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "iso6523Code", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#iso6523CodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#iso6523CodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsAbout", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsAboutScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsAboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "knowsLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#knowsLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "latitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#latitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#latitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalAddress", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalAddressList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "legalRepresentative", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#legalRepresentativeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("leiCode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#leiCodeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#leiCodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "location", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#locationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#locationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("logo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#logoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#logoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "longitude", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#longitudeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#longitudeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "makesOffer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#makesOfferList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("map"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("maps"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#mapsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maximumAttendeeCapacity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#maximumAttendeeCapacityScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#maximumAttendeeCapacityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("member"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#memberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "memberOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#memberOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("members"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#membersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("naics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#naicsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#naicsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonprofitStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nonprofitStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#nonprofitStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEmployees", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#numberOfEmployeesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHours", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#openingHoursScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#openingHoursList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "openingHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#openingHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "ownershipFundingInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ownershipFundingInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ownershipFundingInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("owns"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#ownsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "parentOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#parentOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "paymentAccepted", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#paymentAcceptedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#paymentAcceptedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photo"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#photoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("photos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Photograph#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#photosList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "priceRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#priceRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#priceRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publicAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publicAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publicAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seeks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#seeksList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "serviceArea", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#serviceAreaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("skills"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#skillsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#skillsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("slogan"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sloganScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sloganList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "smokingAllowed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#smokingAllowedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#smokingAllowedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "specialOpeningHoursSpecification", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.OpeningHoursSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#specialOpeningHoursSpecificationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#subOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taxID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#taxIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#taxIDList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "telephone", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#telephoneScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#telephoneList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tourBookingPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#tourBookingPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#tourBookingPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "unnamedSourcesPolicy", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#unnamedSourcesPolicyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#unnamedSourcesPolicyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("vatID"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#vatIDScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.store#vatIDList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Store" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Store() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Store<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accepted_payment_method: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actionable_feedback_policy: std::option::Option< + StoreActionableFeedbackPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_property: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub agent_interaction_statistic: std::option::Option< + StoreAgentInteractionStatistic<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alumni: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub amenity_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub area_served: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub branch_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub brand: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub company_registration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_point: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contact_points: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contained_in_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_place: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corrections_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub currencies_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub department: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + StoreDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub dissolution_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub diversity_staffing_report: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub email: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employee: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ethics_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub events: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fax_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founders: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub founding_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_contains: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covered_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_covers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_crosses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_disjoint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_equals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_intersects: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_overlaps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_touches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub geo_within: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global_location_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_certification: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_credential: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_drive_through_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_gs1_digital_link: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_member_program: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_merchant_return_policy: std::option::Option< + StoreHasMerchantReturnPolicy<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_offer_catalog: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_pos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_product_return_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_shipping_service: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub isic_v4: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub iso6523_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub knows_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub latitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_address: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub legal_representative: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub lei_code: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub logo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub longitude: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub makes_offer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub map: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maps: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maximum_attendee_capacity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub member_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub members: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub naics: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub nonprofit_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_employees: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub opening_hours_specification: std::option::Option< + StoreOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ownership_funding_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub owns: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub parent_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub payment_accepted: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photo: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub photos: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub price_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub public_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seeks: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub service_area: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub skills: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub slogan: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub smoking_allowed: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub special_opening_hours_specification: std::option::Option< + StoreSpecialOpeningHoursSpecification<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sub_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tax_id: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub telephone: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tour_booking_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub unnamed_sources_policy: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub vat_id: std::option::Option>, +} + +pub mod store_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 StoreBuilder<'a, S: store_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Store<'a> { + /// Create a new builder for this type + pub fn new() -> StoreBuilder<'a, store_state::Empty> { + StoreBuilder::new() + } +} + +impl<'a> StoreBuilder<'a, store_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + StoreBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `acceptedPaymentMethod` field (optional) + pub fn accepted_payment_method( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `acceptedPaymentMethod` field to an Option value (optional) + pub fn maybe_accepted_payment_method( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `actionableFeedbackPolicy` field (optional) + pub fn actionable_feedback_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `actionableFeedbackPolicy` field to an Option value (optional) + pub fn maybe_actionable_feedback_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `additionalProperty` field (optional) + pub fn additional_property( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `additionalProperty` field to an Option value (optional) + pub fn maybe_additional_property( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `address` field (optional) + pub fn address(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `address` field to an Option value (optional) + pub fn maybe_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `agentInteractionStatistic` field (optional) + pub fn agent_interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `agentInteractionStatistic` field to an Option value (optional) + pub fn maybe_agent_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `alumni` field (optional) + pub fn alumni(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `alumni` field to an Option value (optional) + pub fn maybe_alumni(mut self, value: Option>) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `amenityFeature` field (optional) + pub fn amenity_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `amenityFeature` field to an Option value (optional) + pub fn maybe_amenity_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `areaServed` field (optional) + pub fn area_served(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `areaServed` field to an Option value (optional) + pub fn maybe_area_served(mut self, value: Option>) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `branchCode` field (optional) + pub fn branch_code(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `branchCode` field to an Option value (optional) + pub fn maybe_branch_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `branchOf` field (optional) + pub fn branch_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `branchOf` field to an Option value (optional) + pub fn maybe_branch_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `brand` field (optional) + pub fn brand(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `brand` field to an Option value (optional) + pub fn maybe_brand(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `companyRegistration` field (optional) + pub fn company_registration( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `companyRegistration` field to an Option value (optional) + pub fn maybe_company_registration( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `contactPoint` field (optional) + pub fn contact_point( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `contactPoint` field to an Option value (optional) + pub fn maybe_contact_point(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `contactPoints` field (optional) + pub fn contact_points( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `contactPoints` field to an Option value (optional) + pub fn maybe_contact_points( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `containedIn` field (optional) + pub fn contained_in( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `containedIn` field to an Option value (optional) + pub fn maybe_contained_in(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `containedInPlace` field (optional) + pub fn contained_in_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `containedInPlace` field to an Option value (optional) + pub fn maybe_contained_in_place( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `containsPlace` field (optional) + pub fn contains_place( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `containsPlace` field to an Option value (optional) + pub fn maybe_contains_place( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `correctionsPolicy` field (optional) + pub fn corrections_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `correctionsPolicy` field to an Option value (optional) + pub fn maybe_corrections_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `currenciesAccepted` field (optional) + pub fn currencies_accepted( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `currenciesAccepted` field to an Option value (optional) + pub fn maybe_currencies_accepted( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `department` field (optional) + pub fn department(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `department` field to an Option value (optional) + pub fn maybe_department(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `dissolutionDate` field (optional) + pub fn dissolution_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `dissolutionDate` field to an Option value (optional) + pub fn maybe_dissolution_date( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `diversityPolicy` field (optional) + pub fn diversity_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `diversityPolicy` field to an Option value (optional) + pub fn maybe_diversity_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `diversityStaffingReport` field (optional) + pub fn diversity_staffing_report( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `diversityStaffingReport` field to an Option value (optional) + pub fn maybe_diversity_staffing_report( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `duns` field (optional) + pub fn duns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `duns` field to an Option value (optional) + pub fn maybe_duns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `email` field (optional) + pub fn email(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `email` field to an Option value (optional) + pub fn maybe_email(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `employee` field (optional) + pub fn employee(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `employee` field to an Option value (optional) + pub fn maybe_employee(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `employees` field (optional) + pub fn employees(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `employees` field to an Option value (optional) + pub fn maybe_employees(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `ethicsPolicy` field (optional) + pub fn ethics_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `ethicsPolicy` field to an Option value (optional) + pub fn maybe_ethics_policy(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `event` field (optional) + pub fn event(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `event` field to an Option value (optional) + pub fn maybe_event(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `events` field (optional) + pub fn events(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `events` field to an Option value (optional) + pub fn maybe_events(mut self, value: Option>) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `faxNumber` field (optional) + pub fn fax_number(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `faxNumber` field to an Option value (optional) + pub fn maybe_fax_number(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `founder` field (optional) + pub fn founder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `founder` field to an Option value (optional) + pub fn maybe_founder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `founders` field (optional) + pub fn founders(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `founders` field to an Option value (optional) + pub fn maybe_founders(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `foundingDate` field (optional) + pub fn founding_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `foundingDate` field to an Option value (optional) + pub fn maybe_founding_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `foundingLocation` field (optional) + pub fn founding_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `foundingLocation` field to an Option value (optional) + pub fn maybe_founding_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geo` field (optional) + pub fn geo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `geo` field to an Option value (optional) + pub fn maybe_geo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoContains` field (optional) + pub fn geo_contains( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `geoContains` field to an Option value (optional) + pub fn maybe_geo_contains(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoCoveredBy` field (optional) + pub fn geo_covered_by( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `geoCoveredBy` field to an Option value (optional) + pub fn maybe_geo_covered_by(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoCovers` field (optional) + pub fn geo_covers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `geoCovers` field to an Option value (optional) + pub fn maybe_geo_covers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoCrosses` field (optional) + pub fn geo_crosses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `geoCrosses` field to an Option value (optional) + pub fn maybe_geo_crosses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoDisjoint` field (optional) + pub fn geo_disjoint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `geoDisjoint` field to an Option value (optional) + pub fn maybe_geo_disjoint(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoEquals` field (optional) + pub fn geo_equals(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `geoEquals` field to an Option value (optional) + pub fn maybe_geo_equals(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoIntersects` field (optional) + pub fn geo_intersects( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `geoIntersects` field to an Option value (optional) + pub fn maybe_geo_intersects( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoOverlaps` field (optional) + pub fn geo_overlaps( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `geoOverlaps` field to an Option value (optional) + pub fn maybe_geo_overlaps(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoTouches` field (optional) + pub fn geo_touches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `geoTouches` field to an Option value (optional) + pub fn maybe_geo_touches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `geoWithin` field (optional) + pub fn geo_within(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `geoWithin` field to an Option value (optional) + pub fn maybe_geo_within(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `globalLocationNumber` field (optional) + pub fn global_location_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `globalLocationNumber` field to an Option value (optional) + pub fn maybe_global_location_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasCertification` field (optional) + pub fn has_certification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `hasCertification` field to an Option value (optional) + pub fn maybe_has_certification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasCredential` field (optional) + pub fn has_credential( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `hasCredential` field to an Option value (optional) + pub fn maybe_has_credential( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasDriveThroughService` field (optional) + pub fn has_drive_through_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `hasDriveThroughService` field to an Option value (optional) + pub fn maybe_has_drive_through_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasGS1DigitalLink` field (optional) + pub fn has_gs1_digital_link( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `hasGS1DigitalLink` field to an Option value (optional) + pub fn maybe_has_gs1_digital_link( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasMap` field (optional) + pub fn has_map(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `hasMap` field to an Option value (optional) + pub fn maybe_has_map(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasMemberProgram` field (optional) + pub fn has_member_program( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `hasMemberProgram` field to an Option value (optional) + pub fn maybe_has_member_program( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasMerchantReturnPolicy` field (optional) + pub fn has_merchant_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `hasMerchantReturnPolicy` field to an Option value (optional) + pub fn maybe_has_merchant_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasOfferCatalog` field (optional) + pub fn has_offer_catalog( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `hasOfferCatalog` field to an Option value (optional) + pub fn maybe_has_offer_catalog( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasPOS` field (optional) + pub fn has_pos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `hasPOS` field to an Option value (optional) + pub fn maybe_has_pos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasProductReturnPolicy` field (optional) + pub fn has_product_return_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `hasProductReturnPolicy` field to an Option value (optional) + pub fn maybe_has_product_return_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `hasShippingService` field (optional) + pub fn has_shipping_service( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `hasShippingService` field to an Option value (optional) + pub fn maybe_has_shipping_service( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `isicV4` field (optional) + pub fn isic_v4(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `isicV4` field to an Option value (optional) + pub fn maybe_isic_v4(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `iso6523Code` field (optional) + pub fn iso6523_code( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `iso6523Code` field to an Option value (optional) + pub fn maybe_iso6523_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `knowsAbout` field (optional) + pub fn knows_about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `knowsAbout` field to an Option value (optional) + pub fn maybe_knows_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `knowsLanguage` field (optional) + pub fn knows_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `knowsLanguage` field to an Option value (optional) + pub fn maybe_knows_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `latitude` field (optional) + pub fn latitude(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `latitude` field to an Option value (optional) + pub fn maybe_latitude(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `legalAddress` field (optional) + pub fn legal_address( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `legalAddress` field to an Option value (optional) + pub fn maybe_legal_address(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `legalName` field (optional) + pub fn legal_name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `legalName` field to an Option value (optional) + pub fn maybe_legal_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `legalRepresentative` field (optional) + pub fn legal_representative( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `legalRepresentative` field to an Option value (optional) + pub fn maybe_legal_representative( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `leiCode` field (optional) + pub fn lei_code(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `leiCode` field to an Option value (optional) + pub fn maybe_lei_code(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `location` field (optional) + pub fn location(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `location` field to an Option value (optional) + pub fn maybe_location(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `logo` field (optional) + pub fn logo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `logo` field to an Option value (optional) + pub fn maybe_logo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `longitude` field (optional) + pub fn longitude(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `longitude` field to an Option value (optional) + pub fn maybe_longitude(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `makesOffer` field (optional) + pub fn makes_offer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `makesOffer` field to an Option value (optional) + pub fn maybe_makes_offer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `map` field (optional) + pub fn map(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `map` field to an Option value (optional) + pub fn maybe_map(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `maps` field (optional) + pub fn maps(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `maps` field to an Option value (optional) + pub fn maybe_maps(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `maximumAttendeeCapacity` field (optional) + pub fn maximum_attendee_capacity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `maximumAttendeeCapacity` field to an Option value (optional) + pub fn maybe_maximum_attendee_capacity( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `member` field (optional) + pub fn member(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `member` field to an Option value (optional) + pub fn maybe_member(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `memberOf` field (optional) + pub fn member_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `memberOf` field to an Option value (optional) + pub fn maybe_member_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `members` field (optional) + pub fn members(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `members` field to an Option value (optional) + pub fn maybe_members(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `naics` field (optional) + pub fn naics(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `naics` field to an Option value (optional) + pub fn maybe_naics(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `nonprofitStatus` field (optional) + pub fn nonprofit_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `nonprofitStatus` field to an Option value (optional) + pub fn maybe_nonprofit_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `numberOfEmployees` field (optional) + pub fn number_of_employees( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `numberOfEmployees` field to an Option value (optional) + pub fn maybe_number_of_employees( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `openingHours` field (optional) + pub fn opening_hours( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `openingHours` field to an Option value (optional) + pub fn maybe_opening_hours(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `openingHoursSpecification` field (optional) + pub fn opening_hours_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `openingHoursSpecification` field to an Option value (optional) + pub fn maybe_opening_hours_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `ownershipFundingInfo` field (optional) + pub fn ownership_funding_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `ownershipFundingInfo` field to an Option value (optional) + pub fn maybe_ownership_funding_info( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `owns` field (optional) + pub fn owns(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `owns` field to an Option value (optional) + pub fn maybe_owns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `parentOrganization` field (optional) + pub fn parent_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `parentOrganization` field to an Option value (optional) + pub fn maybe_parent_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `paymentAccepted` field (optional) + pub fn payment_accepted( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `paymentAccepted` field to an Option value (optional) + pub fn maybe_payment_accepted( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `photo` field (optional) + pub fn photo(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `photo` field to an Option value (optional) + pub fn maybe_photo(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `photos` field (optional) + pub fn photos(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `photos` field to an Option value (optional) + pub fn maybe_photos(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `priceRange` field (optional) + pub fn price_range(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `priceRange` field to an Option value (optional) + pub fn maybe_price_range(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `publicAccess` field (optional) + pub fn public_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `publicAccess` field to an Option value (optional) + pub fn maybe_public_access(mut self, value: Option>) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `seeks` field (optional) + pub fn seeks(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `seeks` field to an Option value (optional) + pub fn maybe_seeks(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `serviceArea` field (optional) + pub fn service_area( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `serviceArea` field to an Option value (optional) + pub fn maybe_service_area(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `skills` field (optional) + pub fn skills(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `skills` field to an Option value (optional) + pub fn maybe_skills(mut self, value: Option>) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `slogan` field (optional) + pub fn slogan(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `slogan` field to an Option value (optional) + pub fn maybe_slogan(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `smokingAllowed` field (optional) + pub fn smoking_allowed( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `smokingAllowed` field to an Option value (optional) + pub fn maybe_smoking_allowed( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `specialOpeningHoursSpecification` field (optional) + pub fn special_opening_hours_specification( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `specialOpeningHoursSpecification` field to an Option value (optional) + pub fn maybe_special_opening_hours_specification( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `subOrganization` field (optional) + pub fn sub_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `subOrganization` field to an Option value (optional) + pub fn maybe_sub_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `taxID` field (optional) + pub fn tax_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `taxID` field to an Option value (optional) + pub fn maybe_tax_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `telephone` field (optional) + pub fn telephone(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `telephone` field to an Option value (optional) + pub fn maybe_telephone(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `tourBookingPage` field (optional) + pub fn tour_booking_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `tourBookingPage` field to an Option value (optional) + pub fn maybe_tour_booking_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `unnamedSourcesPolicy` field (optional) + pub fn unnamed_sources_policy( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `unnamedSourcesPolicy` field to an Option value (optional) + pub fn maybe_unnamed_sources_policy( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: store_state::State> StoreBuilder<'a, S> { + /// Set the `vatID` field (optional) + pub fn vat_id(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `vatID` field to an Option value (optional) + pub fn maybe_vat_id(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S> StoreBuilder<'a, S> +where + S: store_state::State, +{ + /// Build the final struct + pub fn build(self) -> Store<'a> { + Store { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + address: self.__unsafe_private_named.4, + agent_interaction_statistic: self.__unsafe_private_named.5, + aggregate_rating: self.__unsafe_private_named.6, + alternate_name: self.__unsafe_private_named.7, + alumni: self.__unsafe_private_named.8, + amenity_feature: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + award: self.__unsafe_private_named.11, + awards: self.__unsafe_private_named.12, + branch_code: self.__unsafe_private_named.13, + branch_of: self.__unsafe_private_named.14, + brand: self.__unsafe_private_named.15, + company_registration: self.__unsafe_private_named.16, + contact_point: self.__unsafe_private_named.17, + contact_points: self.__unsafe_private_named.18, + contained_in: self.__unsafe_private_named.19, + contained_in_place: self.__unsafe_private_named.20, + contains_place: self.__unsafe_private_named.21, + corrections_policy: self.__unsafe_private_named.22, + currencies_accepted: self.__unsafe_private_named.23, + department: self.__unsafe_private_named.24, + description: self.__unsafe_private_named.25, + disambiguating_description: self.__unsafe_private_named.26, + dissolution_date: self.__unsafe_private_named.27, + diversity_policy: self.__unsafe_private_named.28, + diversity_staffing_report: self.__unsafe_private_named.29, + duns: self.__unsafe_private_named.30, + email: self.__unsafe_private_named.31, + employee: self.__unsafe_private_named.32, + employees: self.__unsafe_private_named.33, + ethics_policy: self.__unsafe_private_named.34, + event: self.__unsafe_private_named.35, + events: self.__unsafe_private_named.36, + fax_number: self.__unsafe_private_named.37, + founder: self.__unsafe_private_named.38, + founders: self.__unsafe_private_named.39, + founding_date: self.__unsafe_private_named.40, + founding_location: self.__unsafe_private_named.41, + funder: self.__unsafe_private_named.42, + funding: self.__unsafe_private_named.43, + geo: self.__unsafe_private_named.44, + geo_contains: self.__unsafe_private_named.45, + geo_covered_by: self.__unsafe_private_named.46, + geo_covers: self.__unsafe_private_named.47, + geo_crosses: self.__unsafe_private_named.48, + geo_disjoint: self.__unsafe_private_named.49, + geo_equals: self.__unsafe_private_named.50, + geo_intersects: self.__unsafe_private_named.51, + geo_overlaps: self.__unsafe_private_named.52, + geo_touches: self.__unsafe_private_named.53, + geo_within: self.__unsafe_private_named.54, + global_location_number: self.__unsafe_private_named.55, + has_certification: self.__unsafe_private_named.56, + has_credential: self.__unsafe_private_named.57, + has_drive_through_service: self.__unsafe_private_named.58, + has_gs1_digital_link: self.__unsafe_private_named.59, + has_map: self.__unsafe_private_named.60, + has_member_program: self.__unsafe_private_named.61, + has_merchant_return_policy: self.__unsafe_private_named.62, + has_offer_catalog: self.__unsafe_private_named.63, + has_pos: self.__unsafe_private_named.64, + has_product_return_policy: self.__unsafe_private_named.65, + has_shipping_service: self.__unsafe_private_named.66, + identifier: self.__unsafe_private_named.67, + image: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + is_accessible_for_free: self.__unsafe_private_named.70, + isic_v4: self.__unsafe_private_named.71, + iso6523_code: self.__unsafe_private_named.72, + keywords: self.__unsafe_private_named.73, + knows_about: self.__unsafe_private_named.74, + knows_language: self.__unsafe_private_named.75, + latitude: self.__unsafe_private_named.76, + legal_address: self.__unsafe_private_named.77, + legal_name: self.__unsafe_private_named.78, + legal_representative: self.__unsafe_private_named.79, + lei_code: self.__unsafe_private_named.80, + location: self.__unsafe_private_named.81, + logo: self.__unsafe_private_named.82, + longitude: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + makes_offer: self.__unsafe_private_named.85, + map: self.__unsafe_private_named.86, + maps: self.__unsafe_private_named.87, + maximum_attendee_capacity: self.__unsafe_private_named.88, + member: self.__unsafe_private_named.89, + member_of: self.__unsafe_private_named.90, + members: self.__unsafe_private_named.91, + naics: self.__unsafe_private_named.92, + name: self.__unsafe_private_named.93, + nonprofit_status: self.__unsafe_private_named.94, + number_of_employees: self.__unsafe_private_named.95, + opening_hours: self.__unsafe_private_named.96, + opening_hours_specification: self.__unsafe_private_named.97, + ownership_funding_info: self.__unsafe_private_named.98, + owns: self.__unsafe_private_named.99, + parent_organization: self.__unsafe_private_named.100, + payment_accepted: self.__unsafe_private_named.101, + photo: self.__unsafe_private_named.102, + photos: self.__unsafe_private_named.103, + potential_action: self.__unsafe_private_named.104, + price_range: self.__unsafe_private_named.105, + public_access: self.__unsafe_private_named.106, + publishing_principles: self.__unsafe_private_named.107, + review: self.__unsafe_private_named.108, + reviews: self.__unsafe_private_named.109, + same_as: self.__unsafe_private_named.110, + seeks: self.__unsafe_private_named.111, + service_area: self.__unsafe_private_named.112, + skills: self.__unsafe_private_named.113, + slogan: self.__unsafe_private_named.114, + smoking_allowed: self.__unsafe_private_named.115, + special_opening_hours_specification: self.__unsafe_private_named.116, + sponsor: self.__unsafe_private_named.117, + sub_organization: self.__unsafe_private_named.118, + subject_of: self.__unsafe_private_named.119, + tax_id: self.__unsafe_private_named.120, + telephone: self.__unsafe_private_named.121, + tour_booking_page: self.__unsafe_private_named.122, + unnamed_sources_policy: self.__unsafe_private_named.123, + url: self.__unsafe_private_named.124, + vat_id: self.__unsafe_private_named.125, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Store<'a> { + Store { + accepted_payment_method: self.__unsafe_private_named.0, + actionable_feedback_policy: self.__unsafe_private_named.1, + additional_property: self.__unsafe_private_named.2, + additional_type: self.__unsafe_private_named.3, + address: self.__unsafe_private_named.4, + agent_interaction_statistic: self.__unsafe_private_named.5, + aggregate_rating: self.__unsafe_private_named.6, + alternate_name: self.__unsafe_private_named.7, + alumni: self.__unsafe_private_named.8, + amenity_feature: self.__unsafe_private_named.9, + area_served: self.__unsafe_private_named.10, + award: self.__unsafe_private_named.11, + awards: self.__unsafe_private_named.12, + branch_code: self.__unsafe_private_named.13, + branch_of: self.__unsafe_private_named.14, + brand: self.__unsafe_private_named.15, + company_registration: self.__unsafe_private_named.16, + contact_point: self.__unsafe_private_named.17, + contact_points: self.__unsafe_private_named.18, + contained_in: self.__unsafe_private_named.19, + contained_in_place: self.__unsafe_private_named.20, + contains_place: self.__unsafe_private_named.21, + corrections_policy: self.__unsafe_private_named.22, + currencies_accepted: self.__unsafe_private_named.23, + department: self.__unsafe_private_named.24, + description: self.__unsafe_private_named.25, + disambiguating_description: self.__unsafe_private_named.26, + dissolution_date: self.__unsafe_private_named.27, + diversity_policy: self.__unsafe_private_named.28, + diversity_staffing_report: self.__unsafe_private_named.29, + duns: self.__unsafe_private_named.30, + email: self.__unsafe_private_named.31, + employee: self.__unsafe_private_named.32, + employees: self.__unsafe_private_named.33, + ethics_policy: self.__unsafe_private_named.34, + event: self.__unsafe_private_named.35, + events: self.__unsafe_private_named.36, + fax_number: self.__unsafe_private_named.37, + founder: self.__unsafe_private_named.38, + founders: self.__unsafe_private_named.39, + founding_date: self.__unsafe_private_named.40, + founding_location: self.__unsafe_private_named.41, + funder: self.__unsafe_private_named.42, + funding: self.__unsafe_private_named.43, + geo: self.__unsafe_private_named.44, + geo_contains: self.__unsafe_private_named.45, + geo_covered_by: self.__unsafe_private_named.46, + geo_covers: self.__unsafe_private_named.47, + geo_crosses: self.__unsafe_private_named.48, + geo_disjoint: self.__unsafe_private_named.49, + geo_equals: self.__unsafe_private_named.50, + geo_intersects: self.__unsafe_private_named.51, + geo_overlaps: self.__unsafe_private_named.52, + geo_touches: self.__unsafe_private_named.53, + geo_within: self.__unsafe_private_named.54, + global_location_number: self.__unsafe_private_named.55, + has_certification: self.__unsafe_private_named.56, + has_credential: self.__unsafe_private_named.57, + has_drive_through_service: self.__unsafe_private_named.58, + has_gs1_digital_link: self.__unsafe_private_named.59, + has_map: self.__unsafe_private_named.60, + has_member_program: self.__unsafe_private_named.61, + has_merchant_return_policy: self.__unsafe_private_named.62, + has_offer_catalog: self.__unsafe_private_named.63, + has_pos: self.__unsafe_private_named.64, + has_product_return_policy: self.__unsafe_private_named.65, + has_shipping_service: self.__unsafe_private_named.66, + identifier: self.__unsafe_private_named.67, + image: self.__unsafe_private_named.68, + interaction_statistic: self.__unsafe_private_named.69, + is_accessible_for_free: self.__unsafe_private_named.70, + isic_v4: self.__unsafe_private_named.71, + iso6523_code: self.__unsafe_private_named.72, + keywords: self.__unsafe_private_named.73, + knows_about: self.__unsafe_private_named.74, + knows_language: self.__unsafe_private_named.75, + latitude: self.__unsafe_private_named.76, + legal_address: self.__unsafe_private_named.77, + legal_name: self.__unsafe_private_named.78, + legal_representative: self.__unsafe_private_named.79, + lei_code: self.__unsafe_private_named.80, + location: self.__unsafe_private_named.81, + logo: self.__unsafe_private_named.82, + longitude: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + makes_offer: self.__unsafe_private_named.85, + map: self.__unsafe_private_named.86, + maps: self.__unsafe_private_named.87, + maximum_attendee_capacity: self.__unsafe_private_named.88, + member: self.__unsafe_private_named.89, + member_of: self.__unsafe_private_named.90, + members: self.__unsafe_private_named.91, + naics: self.__unsafe_private_named.92, + name: self.__unsafe_private_named.93, + nonprofit_status: self.__unsafe_private_named.94, + number_of_employees: self.__unsafe_private_named.95, + opening_hours: self.__unsafe_private_named.96, + opening_hours_specification: self.__unsafe_private_named.97, + ownership_funding_info: self.__unsafe_private_named.98, + owns: self.__unsafe_private_named.99, + parent_organization: self.__unsafe_private_named.100, + payment_accepted: self.__unsafe_private_named.101, + photo: self.__unsafe_private_named.102, + photos: self.__unsafe_private_named.103, + potential_action: self.__unsafe_private_named.104, + price_range: self.__unsafe_private_named.105, + public_access: self.__unsafe_private_named.106, + publishing_principles: self.__unsafe_private_named.107, + review: self.__unsafe_private_named.108, + reviews: self.__unsafe_private_named.109, + same_as: self.__unsafe_private_named.110, + seeks: self.__unsafe_private_named.111, + service_area: self.__unsafe_private_named.112, + skills: self.__unsafe_private_named.113, + slogan: self.__unsafe_private_named.114, + smoking_allowed: self.__unsafe_private_named.115, + special_opening_hours_specification: self.__unsafe_private_named.116, + sponsor: self.__unsafe_private_named.117, + sub_organization: self.__unsafe_private_named.118, + subject_of: self.__unsafe_private_named.119, + tax_id: self.__unsafe_private_named.120, + telephone: self.__unsafe_private_named.121, + tour_booking_page: self.__unsafe_private_named.122, + unnamed_sources_policy: self.__unsafe_private_named.123, + url: self.__unsafe_private_named.124, + vat_id: self.__unsafe_private_named.125, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Store<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, StoreRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAcceptedPaymentMethod<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreActionableFeedbackPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAdditionalProperty<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAgentInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAlumni<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAmenityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAreaServed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreBranchCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreBranchOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreBrand<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")] + BrandEmbedded(Box>), + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreCompanyRegistration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreContactPoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreContactPoints<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreContainedIn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreContainedInPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreContainsPlace<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreCorrectionsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreCurrenciesAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDepartment<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDissolutionDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDiversityPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDiversityStaffingReport<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")] + ArticleEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreDuns<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreEmail<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreEmployee<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreEmployees<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreEthicsPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreEvent<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreEvents<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFaxNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFounder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFounders<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFoundingDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFoundingLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoContains<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoCoveredBy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoCovers<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoCrosses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoDisjoint<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoEquals<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoIntersects<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoOverlaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoTouches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGeoWithin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreGlobalLocationNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasCertification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasCredential<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasDriveThroughService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasGs1DigitalLink<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasMemberProgram<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasMerchantReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasOfferCatalog<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasPos<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasProductReturnPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreHasShippingService<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreIsicV4<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreIso6523Code<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreKnowsAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreKnowsLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLatitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLegalAddress<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLegalName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLegalRepresentative<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLeiCode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLogo<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreLongitude<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMakesOffer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMap<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMaps<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMaximumAttendeeCapacity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMember<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMemberOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreMembers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreNaics<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreNonprofitStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreNumberOfEmployees<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreOpeningHours<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreOwnershipFundingInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreOwns<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreParentOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePaymentAccepted<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePhoto<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePhotos<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePriceRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePublicAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StorePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSeeks<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreServiceArea<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSkills<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSlogan<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSmokingAllowed<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSpecialOpeningHoursSpecification<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSubOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreTaxId<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreTelephone<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreTourBookingPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreUnnamedSourcesPolicy<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum StoreVatId<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct StoreGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Store<'a>, +} + +impl From> for Store<'_> { + fn from(output: StoreGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Store<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.Store"; + type Record = StoreRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct StoreRecord; +impl jacquard_common::xrpc::XrpcResp for StoreRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Store"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = StoreGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for StoreRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.Store"; + type Record = StoreRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Store<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.Store" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_Store() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs new file mode 100644 index 00000000..c1e975c9 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs @@ -0,0 +1,11650 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.TVEpisode +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A TV episode which can be part of a series or season. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_tv_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subtitle_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEpisodeNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfSeries<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfTvSeries<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.TVSeries#embedded")] + TvSeriesEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubtitleLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.TVEpisode", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A TV episode which can be part of a series or season.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("duration"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "episodeNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#episodeNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#episodeNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeason", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#partOfSeasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#partOfSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfTVSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TVSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#partOfTVSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subtitleLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#subtitleLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#subtitleLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A TV episode which can be part of a series or season.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "director", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "duration", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#durationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#durationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "episodeNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#episodeNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#episodeNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeason", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#partOfSeasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#partOfSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfTVSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TVSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#partOfTVSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subtitleLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#subtitleLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#subtitleLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVEpisode#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.TVEpisode" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TvEpisode<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + TvEpisodeDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub duration: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_tv_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subtitle_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod tv_episode_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 TvEpisodeBuilder<'a, S: tv_episode_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> TvEpisode<'a> { + /// Create a new builder for this type + pub fn new() -> TvEpisodeBuilder<'a, tv_episode_state::Empty> { + TvEpisodeBuilder::new() + } +} + +impl<'a> TvEpisodeBuilder<'a, tv_episode_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + TvEpisodeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `actors` field (optional) + pub fn actors(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `actors` field to an Option value (optional) + pub fn maybe_actors(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `director` field (optional) + pub fn director(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `director` field to an Option value (optional) + pub fn maybe_director(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `directors` field (optional) + pub fn directors( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `directors` field to an Option value (optional) + pub fn maybe_directors(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `duration` field (optional) + pub fn duration(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `duration` field to an Option value (optional) + pub fn maybe_duration(mut self, value: Option>) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `episodeNumber` field (optional) + pub fn episode_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `episodeNumber` field to an Option value (optional) + pub fn maybe_episode_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `musicBy` field (optional) + pub fn music_by(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `musicBy` field to an Option value (optional) + pub fn maybe_music_by(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `partOfSeason` field (optional) + pub fn part_of_season( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `partOfSeason` field to an Option value (optional) + pub fn maybe_part_of_season( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `partOfSeries` field (optional) + pub fn part_of_series( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `partOfSeries` field to an Option value (optional) + pub fn maybe_part_of_series( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `partOfTVSeries` field (optional) + pub fn part_of_tv_series( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `partOfTVSeries` field to an Option value (optional) + pub fn maybe_part_of_tv_series( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `productionCompany` field (optional) + pub fn production_company( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `productionCompany` field to an Option value (optional) + pub fn maybe_production_company( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `subtitleLanguage` field (optional) + pub fn subtitle_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `subtitleLanguage` field to an Option value (optional) + pub fn maybe_subtitle_language( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `titleEIDR` field (optional) + pub fn title_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `titleEIDR` field to an Option value (optional) + pub fn maybe_title_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `trailer` field (optional) + pub fn trailer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `trailer` field to an Option value (optional) + pub fn maybe_trailer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.137 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.137 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.138 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.138 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.139 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.139 = value; + self + } +} + +impl<'a, S: tv_episode_state::State> TvEpisodeBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.140 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.140 = value; + self + } +} + +impl<'a, S> TvEpisodeBuilder<'a, S> +where + S: tv_episode_state::State, +{ + /// Build the final struct + pub fn build(self) -> TvEpisode<'a> { + TvEpisode { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + actors: self.__unsafe_private_named.12, + additional_type: self.__unsafe_private_named.13, + aggregate_rating: self.__unsafe_private_named.14, + alternate_name: self.__unsafe_private_named.15, + alternative_headline: self.__unsafe_private_named.16, + archived_at: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + character: self.__unsafe_private_named.25, + citation: self.__unsafe_private_named.26, + comment: self.__unsafe_private_named.27, + comment_count: self.__unsafe_private_named.28, + conditions_of_access: self.__unsafe_private_named.29, + content_location: self.__unsafe_private_named.30, + content_rating: self.__unsafe_private_named.31, + content_reference_time: self.__unsafe_private_named.32, + contributor: self.__unsafe_private_named.33, + copyright_holder: self.__unsafe_private_named.34, + copyright_notice: self.__unsafe_private_named.35, + copyright_year: self.__unsafe_private_named.36, + correction: self.__unsafe_private_named.37, + country_of_origin: self.__unsafe_private_named.38, + creative_work_status: self.__unsafe_private_named.39, + creator: self.__unsafe_private_named.40, + credit_text: self.__unsafe_private_named.41, + date_created: self.__unsafe_private_named.42, + date_modified: self.__unsafe_private_named.43, + date_published: self.__unsafe_private_named.44, + description: self.__unsafe_private_named.45, + digital_source_type: self.__unsafe_private_named.46, + director: self.__unsafe_private_named.47, + directors: self.__unsafe_private_named.48, + disambiguating_description: self.__unsafe_private_named.49, + discussion_url: self.__unsafe_private_named.50, + duration: self.__unsafe_private_named.51, + edit_eidr: self.__unsafe_private_named.52, + editor: self.__unsafe_private_named.53, + educational_alignment: self.__unsafe_private_named.54, + educational_level: self.__unsafe_private_named.55, + educational_use: self.__unsafe_private_named.56, + encoding: self.__unsafe_private_named.57, + encoding_format: self.__unsafe_private_named.58, + encodings: self.__unsafe_private_named.59, + episode_number: self.__unsafe_private_named.60, + example_of_work: self.__unsafe_private_named.61, + expires: self.__unsafe_private_named.62, + file_format: self.__unsafe_private_named.63, + funder: self.__unsafe_private_named.64, + funding: self.__unsafe_private_named.65, + genre: self.__unsafe_private_named.66, + has_part: self.__unsafe_private_named.67, + headline: self.__unsafe_private_named.68, + identifier: self.__unsafe_private_named.69, + image: self.__unsafe_private_named.70, + in_language: self.__unsafe_private_named.71, + interaction_statistic: self.__unsafe_private_named.72, + interactivity_type: self.__unsafe_private_named.73, + interpreted_as_claim: self.__unsafe_private_named.74, + is_accessible_for_free: self.__unsafe_private_named.75, + is_based_on: self.__unsafe_private_named.76, + is_based_on_url: self.__unsafe_private_named.77, + is_family_friendly: self.__unsafe_private_named.78, + is_part_of: self.__unsafe_private_named.79, + keywords: self.__unsafe_private_named.80, + learning_resource_type: self.__unsafe_private_named.81, + license: self.__unsafe_private_named.82, + location_created: self.__unsafe_private_named.83, + main_entity: self.__unsafe_private_named.84, + main_entity_of_page: self.__unsafe_private_named.85, + maintainer: self.__unsafe_private_named.86, + material: self.__unsafe_private_named.87, + material_extent: self.__unsafe_private_named.88, + mentions: self.__unsafe_private_named.89, + music_by: self.__unsafe_private_named.90, + name: self.__unsafe_private_named.91, + offers: self.__unsafe_private_named.92, + part_of_season: self.__unsafe_private_named.93, + part_of_series: self.__unsafe_private_named.94, + part_of_tv_series: self.__unsafe_private_named.95, + pattern: self.__unsafe_private_named.96, + position: self.__unsafe_private_named.97, + potential_action: self.__unsafe_private_named.98, + producer: self.__unsafe_private_named.99, + production_company: self.__unsafe_private_named.100, + provider: self.__unsafe_private_named.101, + publication: self.__unsafe_private_named.102, + publisher: self.__unsafe_private_named.103, + publisher_imprint: self.__unsafe_private_named.104, + publishing_principles: self.__unsafe_private_named.105, + recorded_at: self.__unsafe_private_named.106, + released_event: self.__unsafe_private_named.107, + review: self.__unsafe_private_named.108, + reviews: self.__unsafe_private_named.109, + same_as: self.__unsafe_private_named.110, + schema_version: self.__unsafe_private_named.111, + sd_date_published: self.__unsafe_private_named.112, + sd_license: self.__unsafe_private_named.113, + sd_publisher: self.__unsafe_private_named.114, + size: self.__unsafe_private_named.115, + source_organization: self.__unsafe_private_named.116, + spatial: self.__unsafe_private_named.117, + spatial_coverage: self.__unsafe_private_named.118, + sponsor: self.__unsafe_private_named.119, + subject_of: self.__unsafe_private_named.120, + subtitle_language: self.__unsafe_private_named.121, + teaches: self.__unsafe_private_named.122, + temporal: self.__unsafe_private_named.123, + temporal_coverage: self.__unsafe_private_named.124, + text: self.__unsafe_private_named.125, + thumbnail: self.__unsafe_private_named.126, + thumbnail_url: self.__unsafe_private_named.127, + time_required: self.__unsafe_private_named.128, + title_eidr: self.__unsafe_private_named.129, + trailer: self.__unsafe_private_named.130, + translation_of_work: self.__unsafe_private_named.131, + translator: self.__unsafe_private_named.132, + typical_age_range: self.__unsafe_private_named.133, + url: self.__unsafe_private_named.134, + usage_info: self.__unsafe_private_named.135, + version: self.__unsafe_private_named.136, + video: self.__unsafe_private_named.137, + word_count: self.__unsafe_private_named.138, + work_example: self.__unsafe_private_named.139, + work_translation: self.__unsafe_private_named.140, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> TvEpisode<'a> { + TvEpisode { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + actors: self.__unsafe_private_named.12, + additional_type: self.__unsafe_private_named.13, + aggregate_rating: self.__unsafe_private_named.14, + alternate_name: self.__unsafe_private_named.15, + alternative_headline: self.__unsafe_private_named.16, + archived_at: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + character: self.__unsafe_private_named.25, + citation: self.__unsafe_private_named.26, + comment: self.__unsafe_private_named.27, + comment_count: self.__unsafe_private_named.28, + conditions_of_access: self.__unsafe_private_named.29, + content_location: self.__unsafe_private_named.30, + content_rating: self.__unsafe_private_named.31, + content_reference_time: self.__unsafe_private_named.32, + contributor: self.__unsafe_private_named.33, + copyright_holder: self.__unsafe_private_named.34, + copyright_notice: self.__unsafe_private_named.35, + copyright_year: self.__unsafe_private_named.36, + correction: self.__unsafe_private_named.37, + country_of_origin: self.__unsafe_private_named.38, + creative_work_status: self.__unsafe_private_named.39, + creator: self.__unsafe_private_named.40, + credit_text: self.__unsafe_private_named.41, + date_created: self.__unsafe_private_named.42, + date_modified: self.__unsafe_private_named.43, + date_published: self.__unsafe_private_named.44, + description: self.__unsafe_private_named.45, + digital_source_type: self.__unsafe_private_named.46, + director: self.__unsafe_private_named.47, + directors: self.__unsafe_private_named.48, + disambiguating_description: self.__unsafe_private_named.49, + discussion_url: self.__unsafe_private_named.50, + duration: self.__unsafe_private_named.51, + edit_eidr: self.__unsafe_private_named.52, + editor: self.__unsafe_private_named.53, + educational_alignment: self.__unsafe_private_named.54, + educational_level: self.__unsafe_private_named.55, + educational_use: self.__unsafe_private_named.56, + encoding: self.__unsafe_private_named.57, + encoding_format: self.__unsafe_private_named.58, + encodings: self.__unsafe_private_named.59, + episode_number: self.__unsafe_private_named.60, + example_of_work: self.__unsafe_private_named.61, + expires: self.__unsafe_private_named.62, + file_format: self.__unsafe_private_named.63, + funder: self.__unsafe_private_named.64, + funding: self.__unsafe_private_named.65, + genre: self.__unsafe_private_named.66, + has_part: self.__unsafe_private_named.67, + headline: self.__unsafe_private_named.68, + identifier: self.__unsafe_private_named.69, + image: self.__unsafe_private_named.70, + in_language: self.__unsafe_private_named.71, + interaction_statistic: self.__unsafe_private_named.72, + interactivity_type: self.__unsafe_private_named.73, + interpreted_as_claim: self.__unsafe_private_named.74, + is_accessible_for_free: self.__unsafe_private_named.75, + is_based_on: self.__unsafe_private_named.76, + is_based_on_url: self.__unsafe_private_named.77, + is_family_friendly: self.__unsafe_private_named.78, + is_part_of: self.__unsafe_private_named.79, + keywords: self.__unsafe_private_named.80, + learning_resource_type: self.__unsafe_private_named.81, + license: self.__unsafe_private_named.82, + location_created: self.__unsafe_private_named.83, + main_entity: self.__unsafe_private_named.84, + main_entity_of_page: self.__unsafe_private_named.85, + maintainer: self.__unsafe_private_named.86, + material: self.__unsafe_private_named.87, + material_extent: self.__unsafe_private_named.88, + mentions: self.__unsafe_private_named.89, + music_by: self.__unsafe_private_named.90, + name: self.__unsafe_private_named.91, + offers: self.__unsafe_private_named.92, + part_of_season: self.__unsafe_private_named.93, + part_of_series: self.__unsafe_private_named.94, + part_of_tv_series: self.__unsafe_private_named.95, + pattern: self.__unsafe_private_named.96, + position: self.__unsafe_private_named.97, + potential_action: self.__unsafe_private_named.98, + producer: self.__unsafe_private_named.99, + production_company: self.__unsafe_private_named.100, + provider: self.__unsafe_private_named.101, + publication: self.__unsafe_private_named.102, + publisher: self.__unsafe_private_named.103, + publisher_imprint: self.__unsafe_private_named.104, + publishing_principles: self.__unsafe_private_named.105, + recorded_at: self.__unsafe_private_named.106, + released_event: self.__unsafe_private_named.107, + review: self.__unsafe_private_named.108, + reviews: self.__unsafe_private_named.109, + same_as: self.__unsafe_private_named.110, + schema_version: self.__unsafe_private_named.111, + sd_date_published: self.__unsafe_private_named.112, + sd_license: self.__unsafe_private_named.113, + sd_publisher: self.__unsafe_private_named.114, + size: self.__unsafe_private_named.115, + source_organization: self.__unsafe_private_named.116, + spatial: self.__unsafe_private_named.117, + spatial_coverage: self.__unsafe_private_named.118, + sponsor: self.__unsafe_private_named.119, + subject_of: self.__unsafe_private_named.120, + subtitle_language: self.__unsafe_private_named.121, + teaches: self.__unsafe_private_named.122, + temporal: self.__unsafe_private_named.123, + temporal_coverage: self.__unsafe_private_named.124, + text: self.__unsafe_private_named.125, + thumbnail: self.__unsafe_private_named.126, + thumbnail_url: self.__unsafe_private_named.127, + time_required: self.__unsafe_private_named.128, + title_eidr: self.__unsafe_private_named.129, + trailer: self.__unsafe_private_named.130, + translation_of_work: self.__unsafe_private_named.131, + translator: self.__unsafe_private_named.132, + typical_age_range: self.__unsafe_private_named.133, + url: self.__unsafe_private_named.134, + usage_info: self.__unsafe_private_named.135, + version: self.__unsafe_private_named.136, + video: self.__unsafe_private_named.137, + word_count: self.__unsafe_private_named.138, + work_example: self.__unsafe_private_named.139, + work_translation: self.__unsafe_private_named.140, + extra_data: Some(extra_data), + } + } +} + +impl<'a> TvEpisode<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, TvEpisodeRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeDuration<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeEpisodeNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePartOfSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePartOfSeries<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePartOfTvSeries<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.TVSeries#embedded")] + TvSeriesEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeSubtitleLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvEpisodeWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TvEpisodeGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: TvEpisode<'a>, +} + +impl From> for TvEpisode<'_> { + fn from(output: TvEpisodeGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for TvEpisode<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVEpisode"; + type Record = TvEpisodeRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct TvEpisodeRecord; +impl jacquard_common::xrpc::XrpcResp for TvEpisodeRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVEpisode"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = TvEpisodeGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for TvEpisodeRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVEpisode"; + type Record = TvEpisodeRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TvEpisode<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.TVEpisode" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs new file mode 100644 index 00000000..f70e4ebf --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs @@ -0,0 +1,11528 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.TVSeason +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Season dedicated to TV broadcast and associated online delivery. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_tv_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub season_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEpisode<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEpisodes<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEpisodes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfSeries<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPartOfTvSeries<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.TVSeries#embedded")] + TvSeriesEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeasonNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.TVSeason", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Season dedicated to TV broadcast and associated online delivery.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#episodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("episodes"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#episodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEpisodes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#numberOfEpisodesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#numberOfEpisodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#partOfSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfTVSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TVSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#partOfTVSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "seasonNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#seasonNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#seasonNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Season dedicated to TV broadcast and associated online delivery.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "director", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#episodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "episodes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#episodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEpisodes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#numberOfEpisodesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#numberOfEpisodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#partOfSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "partOfTVSeries", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TVSeries#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#partOfTVSeriesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "seasonNumber", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#seasonNumberScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#seasonNumberList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeason#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.TVSeason" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_TVSeason() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TvSeason<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + TvSeasonDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub part_of_tv_series: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub season_number: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod tv_season_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 TvSeasonBuilder<'a, S: tv_season_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> TvSeason<'a> { + /// Create a new builder for this type + pub fn new() -> TvSeasonBuilder<'a, tv_season_state::Empty> { + TvSeasonBuilder::new() + } +} + +impl<'a> TvSeasonBuilder<'a, tv_season_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + TvSeasonBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `director` field (optional) + pub fn director(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `director` field to an Option value (optional) + pub fn maybe_director(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `endDate` field (optional) + pub fn end_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `endDate` field to an Option value (optional) + pub fn maybe_end_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `episode` field (optional) + pub fn episode(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `episode` field to an Option value (optional) + pub fn maybe_episode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `episodes` field (optional) + pub fn episodes(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `episodes` field to an Option value (optional) + pub fn maybe_episodes(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `numberOfEpisodes` field (optional) + pub fn number_of_episodes( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `numberOfEpisodes` field to an Option value (optional) + pub fn maybe_number_of_episodes( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `partOfSeries` field (optional) + pub fn part_of_series( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `partOfSeries` field to an Option value (optional) + pub fn maybe_part_of_series( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `partOfTVSeries` field (optional) + pub fn part_of_tv_series( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `partOfTVSeries` field to an Option value (optional) + pub fn maybe_part_of_tv_series( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `productionCompany` field (optional) + pub fn production_company( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `productionCompany` field to an Option value (optional) + pub fn maybe_production_company( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `seasonNumber` field (optional) + pub fn season_number( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `seasonNumber` field to an Option value (optional) + pub fn maybe_season_number( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `startDate` field (optional) + pub fn start_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `startDate` field to an Option value (optional) + pub fn maybe_start_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `titleEIDR` field (optional) + pub fn title_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `titleEIDR` field to an Option value (optional) + pub fn maybe_title_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `trailer` field (optional) + pub fn trailer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `trailer` field to an Option value (optional) + pub fn maybe_trailer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.137 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.137 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.138 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.138 = value; + self + } +} + +impl<'a, S: tv_season_state::State> TvSeasonBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.139 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.139 = value; + self + } +} + +impl<'a, S> TvSeasonBuilder<'a, S> +where + S: tv_season_state::State, +{ + /// Build the final struct + pub fn build(self) -> TvSeason<'a> { + TvSeason { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + additional_type: self.__unsafe_private_named.12, + aggregate_rating: self.__unsafe_private_named.13, + alternate_name: self.__unsafe_private_named.14, + alternative_headline: self.__unsafe_private_named.15, + archived_at: self.__unsafe_private_named.16, + assesses: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + character: self.__unsafe_private_named.24, + citation: self.__unsafe_private_named.25, + comment: self.__unsafe_private_named.26, + comment_count: self.__unsafe_private_named.27, + conditions_of_access: self.__unsafe_private_named.28, + content_location: self.__unsafe_private_named.29, + content_rating: self.__unsafe_private_named.30, + content_reference_time: self.__unsafe_private_named.31, + contributor: self.__unsafe_private_named.32, + copyright_holder: self.__unsafe_private_named.33, + copyright_notice: self.__unsafe_private_named.34, + copyright_year: self.__unsafe_private_named.35, + correction: self.__unsafe_private_named.36, + country_of_origin: self.__unsafe_private_named.37, + creative_work_status: self.__unsafe_private_named.38, + creator: self.__unsafe_private_named.39, + credit_text: self.__unsafe_private_named.40, + date_created: self.__unsafe_private_named.41, + date_modified: self.__unsafe_private_named.42, + date_published: self.__unsafe_private_named.43, + description: self.__unsafe_private_named.44, + digital_source_type: self.__unsafe_private_named.45, + director: self.__unsafe_private_named.46, + disambiguating_description: self.__unsafe_private_named.47, + discussion_url: self.__unsafe_private_named.48, + edit_eidr: self.__unsafe_private_named.49, + editor: self.__unsafe_private_named.50, + educational_alignment: self.__unsafe_private_named.51, + educational_level: self.__unsafe_private_named.52, + educational_use: self.__unsafe_private_named.53, + encoding: self.__unsafe_private_named.54, + encoding_format: self.__unsafe_private_named.55, + encodings: self.__unsafe_private_named.56, + end_date: self.__unsafe_private_named.57, + episode: self.__unsafe_private_named.58, + episodes: self.__unsafe_private_named.59, + example_of_work: self.__unsafe_private_named.60, + expires: self.__unsafe_private_named.61, + file_format: self.__unsafe_private_named.62, + funder: self.__unsafe_private_named.63, + funding: self.__unsafe_private_named.64, + genre: self.__unsafe_private_named.65, + has_part: self.__unsafe_private_named.66, + headline: self.__unsafe_private_named.67, + identifier: self.__unsafe_private_named.68, + image: self.__unsafe_private_named.69, + in_language: self.__unsafe_private_named.70, + interaction_statistic: self.__unsafe_private_named.71, + interactivity_type: self.__unsafe_private_named.72, + interpreted_as_claim: self.__unsafe_private_named.73, + is_accessible_for_free: self.__unsafe_private_named.74, + is_based_on: self.__unsafe_private_named.75, + is_based_on_url: self.__unsafe_private_named.76, + is_family_friendly: self.__unsafe_private_named.77, + is_part_of: self.__unsafe_private_named.78, + keywords: self.__unsafe_private_named.79, + learning_resource_type: self.__unsafe_private_named.80, + license: self.__unsafe_private_named.81, + location_created: self.__unsafe_private_named.82, + main_entity: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + maintainer: self.__unsafe_private_named.85, + material: self.__unsafe_private_named.86, + material_extent: self.__unsafe_private_named.87, + mentions: self.__unsafe_private_named.88, + name: self.__unsafe_private_named.89, + number_of_episodes: self.__unsafe_private_named.90, + offers: self.__unsafe_private_named.91, + part_of_series: self.__unsafe_private_named.92, + part_of_tv_series: self.__unsafe_private_named.93, + pattern: self.__unsafe_private_named.94, + position: self.__unsafe_private_named.95, + potential_action: self.__unsafe_private_named.96, + producer: self.__unsafe_private_named.97, + production_company: self.__unsafe_private_named.98, + provider: self.__unsafe_private_named.99, + publication: self.__unsafe_private_named.100, + publisher: self.__unsafe_private_named.101, + publisher_imprint: self.__unsafe_private_named.102, + publishing_principles: self.__unsafe_private_named.103, + recorded_at: self.__unsafe_private_named.104, + released_event: self.__unsafe_private_named.105, + review: self.__unsafe_private_named.106, + reviews: self.__unsafe_private_named.107, + same_as: self.__unsafe_private_named.108, + schema_version: self.__unsafe_private_named.109, + sd_date_published: self.__unsafe_private_named.110, + sd_license: self.__unsafe_private_named.111, + sd_publisher: self.__unsafe_private_named.112, + season_number: self.__unsafe_private_named.113, + size: self.__unsafe_private_named.114, + source_organization: self.__unsafe_private_named.115, + spatial: self.__unsafe_private_named.116, + spatial_coverage: self.__unsafe_private_named.117, + sponsor: self.__unsafe_private_named.118, + start_date: self.__unsafe_private_named.119, + subject_of: self.__unsafe_private_named.120, + teaches: self.__unsafe_private_named.121, + temporal: self.__unsafe_private_named.122, + temporal_coverage: self.__unsafe_private_named.123, + text: self.__unsafe_private_named.124, + thumbnail: self.__unsafe_private_named.125, + thumbnail_url: self.__unsafe_private_named.126, + time_required: self.__unsafe_private_named.127, + title_eidr: self.__unsafe_private_named.128, + trailer: self.__unsafe_private_named.129, + translation_of_work: self.__unsafe_private_named.130, + translator: self.__unsafe_private_named.131, + typical_age_range: self.__unsafe_private_named.132, + url: self.__unsafe_private_named.133, + usage_info: self.__unsafe_private_named.134, + version: self.__unsafe_private_named.135, + video: self.__unsafe_private_named.136, + word_count: self.__unsafe_private_named.137, + work_example: self.__unsafe_private_named.138, + work_translation: self.__unsafe_private_named.139, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> TvSeason<'a> { + TvSeason { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + additional_type: self.__unsafe_private_named.12, + aggregate_rating: self.__unsafe_private_named.13, + alternate_name: self.__unsafe_private_named.14, + alternative_headline: self.__unsafe_private_named.15, + archived_at: self.__unsafe_private_named.16, + assesses: self.__unsafe_private_named.17, + associated_media: self.__unsafe_private_named.18, + audience: self.__unsafe_private_named.19, + audio: self.__unsafe_private_named.20, + author: self.__unsafe_private_named.21, + award: self.__unsafe_private_named.22, + awards: self.__unsafe_private_named.23, + character: self.__unsafe_private_named.24, + citation: self.__unsafe_private_named.25, + comment: self.__unsafe_private_named.26, + comment_count: self.__unsafe_private_named.27, + conditions_of_access: self.__unsafe_private_named.28, + content_location: self.__unsafe_private_named.29, + content_rating: self.__unsafe_private_named.30, + content_reference_time: self.__unsafe_private_named.31, + contributor: self.__unsafe_private_named.32, + copyright_holder: self.__unsafe_private_named.33, + copyright_notice: self.__unsafe_private_named.34, + copyright_year: self.__unsafe_private_named.35, + correction: self.__unsafe_private_named.36, + country_of_origin: self.__unsafe_private_named.37, + creative_work_status: self.__unsafe_private_named.38, + creator: self.__unsafe_private_named.39, + credit_text: self.__unsafe_private_named.40, + date_created: self.__unsafe_private_named.41, + date_modified: self.__unsafe_private_named.42, + date_published: self.__unsafe_private_named.43, + description: self.__unsafe_private_named.44, + digital_source_type: self.__unsafe_private_named.45, + director: self.__unsafe_private_named.46, + disambiguating_description: self.__unsafe_private_named.47, + discussion_url: self.__unsafe_private_named.48, + edit_eidr: self.__unsafe_private_named.49, + editor: self.__unsafe_private_named.50, + educational_alignment: self.__unsafe_private_named.51, + educational_level: self.__unsafe_private_named.52, + educational_use: self.__unsafe_private_named.53, + encoding: self.__unsafe_private_named.54, + encoding_format: self.__unsafe_private_named.55, + encodings: self.__unsafe_private_named.56, + end_date: self.__unsafe_private_named.57, + episode: self.__unsafe_private_named.58, + episodes: self.__unsafe_private_named.59, + example_of_work: self.__unsafe_private_named.60, + expires: self.__unsafe_private_named.61, + file_format: self.__unsafe_private_named.62, + funder: self.__unsafe_private_named.63, + funding: self.__unsafe_private_named.64, + genre: self.__unsafe_private_named.65, + has_part: self.__unsafe_private_named.66, + headline: self.__unsafe_private_named.67, + identifier: self.__unsafe_private_named.68, + image: self.__unsafe_private_named.69, + in_language: self.__unsafe_private_named.70, + interaction_statistic: self.__unsafe_private_named.71, + interactivity_type: self.__unsafe_private_named.72, + interpreted_as_claim: self.__unsafe_private_named.73, + is_accessible_for_free: self.__unsafe_private_named.74, + is_based_on: self.__unsafe_private_named.75, + is_based_on_url: self.__unsafe_private_named.76, + is_family_friendly: self.__unsafe_private_named.77, + is_part_of: self.__unsafe_private_named.78, + keywords: self.__unsafe_private_named.79, + learning_resource_type: self.__unsafe_private_named.80, + license: self.__unsafe_private_named.81, + location_created: self.__unsafe_private_named.82, + main_entity: self.__unsafe_private_named.83, + main_entity_of_page: self.__unsafe_private_named.84, + maintainer: self.__unsafe_private_named.85, + material: self.__unsafe_private_named.86, + material_extent: self.__unsafe_private_named.87, + mentions: self.__unsafe_private_named.88, + name: self.__unsafe_private_named.89, + number_of_episodes: self.__unsafe_private_named.90, + offers: self.__unsafe_private_named.91, + part_of_series: self.__unsafe_private_named.92, + part_of_tv_series: self.__unsafe_private_named.93, + pattern: self.__unsafe_private_named.94, + position: self.__unsafe_private_named.95, + potential_action: self.__unsafe_private_named.96, + producer: self.__unsafe_private_named.97, + production_company: self.__unsafe_private_named.98, + provider: self.__unsafe_private_named.99, + publication: self.__unsafe_private_named.100, + publisher: self.__unsafe_private_named.101, + publisher_imprint: self.__unsafe_private_named.102, + publishing_principles: self.__unsafe_private_named.103, + recorded_at: self.__unsafe_private_named.104, + released_event: self.__unsafe_private_named.105, + review: self.__unsafe_private_named.106, + reviews: self.__unsafe_private_named.107, + same_as: self.__unsafe_private_named.108, + schema_version: self.__unsafe_private_named.109, + sd_date_published: self.__unsafe_private_named.110, + sd_license: self.__unsafe_private_named.111, + sd_publisher: self.__unsafe_private_named.112, + season_number: self.__unsafe_private_named.113, + size: self.__unsafe_private_named.114, + source_organization: self.__unsafe_private_named.115, + spatial: self.__unsafe_private_named.116, + spatial_coverage: self.__unsafe_private_named.117, + sponsor: self.__unsafe_private_named.118, + start_date: self.__unsafe_private_named.119, + subject_of: self.__unsafe_private_named.120, + teaches: self.__unsafe_private_named.121, + temporal: self.__unsafe_private_named.122, + temporal_coverage: self.__unsafe_private_named.123, + text: self.__unsafe_private_named.124, + thumbnail: self.__unsafe_private_named.125, + thumbnail_url: self.__unsafe_private_named.126, + time_required: self.__unsafe_private_named.127, + title_eidr: self.__unsafe_private_named.128, + trailer: self.__unsafe_private_named.129, + translation_of_work: self.__unsafe_private_named.130, + translator: self.__unsafe_private_named.131, + typical_age_range: self.__unsafe_private_named.132, + url: self.__unsafe_private_named.133, + usage_info: self.__unsafe_private_named.134, + version: self.__unsafe_private_named.135, + video: self.__unsafe_private_named.136, + word_count: self.__unsafe_private_named.137, + work_example: self.__unsafe_private_named.138, + work_translation: self.__unsafe_private_named.139, + extra_data: Some(extra_data), + } + } +} + +impl<'a> TvSeason<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, TvSeasonRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEpisode<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonEpisodes<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonNumberOfEpisodes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPartOfSeries<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPartOfTvSeries<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.TVSeries#embedded")] + TvSeriesEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSeasonNumber<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeasonWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TvSeasonGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: TvSeason<'a>, +} + +impl From> for TvSeason<'_> { + fn from(output: TvSeasonGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for TvSeason<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVSeason"; + type Record = TvSeasonRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct TvSeasonRecord; +impl jacquard_common::xrpc::XrpcResp for TvSeasonRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVSeason"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = TvSeasonGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for TvSeasonRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVSeason"; + type Record = TvSeasonRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TvSeason<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.TVSeason" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_TVSeason() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs new file mode 100644 index 00000000..a6982aa1 --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs @@ -0,0 +1,11901 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.TVSeries +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// CreativeWorkSeries dedicated to TV broadcast and associated online delivery. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub issn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_seasons: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seasons: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContainsSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEpisode<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEpisodes<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIssn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfEpisodes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedNumberOfSeasons<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSeasons<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.TVSeries", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "CreativeWorkSeries dedicated to TV broadcast and associated online delivery.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsSeason", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#containsSeasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("director"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#episodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("episodes"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#episodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#issnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#issnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEpisodes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfEpisodesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfEpisodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfSeasons", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfSeasonsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfSeasonsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("season"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#seasonScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#seasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seasons"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#seasonsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "CreativeWorkSeries dedicated to TV broadcast and associated online delivery.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PerformingGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#actorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("actors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#actorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "containsSeason", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#containsSeasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "director", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#directorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "directors", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#directorsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("endDate"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#endDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#endDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("episode"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#episodeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "episodes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Episode#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#episodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#issnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#issnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("musicBy"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#musicByList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfEpisodes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfEpisodesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfEpisodesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "numberOfSeasons", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfSeasonsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#numberOfSeasonsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "productionCompany", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#productionCompanyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("season"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#seasonScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#seasonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("seasons"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWorkSeason#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#seasonsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "startDate", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#startDateScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#startDateList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "titleEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#titleEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#titleEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("trailer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#trailerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.tVSeries#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.TVSeries" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_TVSeries() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TvSeries<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub actors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contains_season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub director: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub directors: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + TvSeriesDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub end_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub issn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub music_by: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_episodes: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub number_of_seasons: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub production_company: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub season: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub seasons: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub start_date: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub trailer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod tv_series_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 TvSeriesBuilder<'a, S: tv_series_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> TvSeries<'a> { + /// Create a new builder for this type + pub fn new() -> TvSeriesBuilder<'a, tv_series_state::Empty> { + TvSeriesBuilder::new() + } +} + +impl<'a> TvSeriesBuilder<'a, tv_series_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + TvSeriesBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `actor` field (optional) + pub fn actor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `actor` field to an Option value (optional) + pub fn maybe_actor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `actors` field (optional) + pub fn actors(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `actors` field to an Option value (optional) + pub fn maybe_actors(mut self, value: Option>) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `containsSeason` field (optional) + pub fn contains_season( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `containsSeason` field to an Option value (optional) + pub fn maybe_contains_season( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `director` field (optional) + pub fn director(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `director` field to an Option value (optional) + pub fn maybe_director(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `directors` field (optional) + pub fn directors(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `directors` field to an Option value (optional) + pub fn maybe_directors(mut self, value: Option>) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `endDate` field (optional) + pub fn end_date(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `endDate` field to an Option value (optional) + pub fn maybe_end_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `episode` field (optional) + pub fn episode(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `episode` field to an Option value (optional) + pub fn maybe_episode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `episodes` field (optional) + pub fn episodes(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `episodes` field to an Option value (optional) + pub fn maybe_episodes(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `issn` field (optional) + pub fn issn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `issn` field to an Option value (optional) + pub fn maybe_issn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `musicBy` field (optional) + pub fn music_by(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `musicBy` field to an Option value (optional) + pub fn maybe_music_by(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `numberOfEpisodes` field (optional) + pub fn number_of_episodes( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `numberOfEpisodes` field to an Option value (optional) + pub fn maybe_number_of_episodes( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `numberOfSeasons` field (optional) + pub fn number_of_seasons( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `numberOfSeasons` field to an Option value (optional) + pub fn maybe_number_of_seasons( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `productionCompany` field (optional) + pub fn production_company( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `productionCompany` field to an Option value (optional) + pub fn maybe_production_company( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `season` field (optional) + pub fn season(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `season` field to an Option value (optional) + pub fn maybe_season(mut self, value: Option>) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `seasons` field (optional) + pub fn seasons(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `seasons` field to an Option value (optional) + pub fn maybe_seasons(mut self, value: Option>) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `startDate` field (optional) + pub fn start_date( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `startDate` field to an Option value (optional) + pub fn maybe_start_date(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.128 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.128 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.129 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.129 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.130 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.130 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.131 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.131 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.132 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.132 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `titleEIDR` field (optional) + pub fn title_eidr( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.133 = value.into(); + self + } + /// Set the `titleEIDR` field to an Option value (optional) + pub fn maybe_title_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.133 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `trailer` field (optional) + pub fn trailer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.134 = value.into(); + self + } + /// Set the `trailer` field to an Option value (optional) + pub fn maybe_trailer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.134 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.135 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.135 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.136 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.136 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.137 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.137 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.138 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.138 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.139 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.139 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.140 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.140 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.141 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.141 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.142 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.142 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.143 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.143 = value; + self + } +} + +impl<'a, S: tv_series_state::State> TvSeriesBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.144 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.144 = value; + self + } +} + +impl<'a, S> TvSeriesBuilder<'a, S> +where + S: tv_series_state::State, +{ + /// Build the final struct + pub fn build(self) -> TvSeries<'a> { + TvSeries { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + actors: self.__unsafe_private_named.12, + additional_type: self.__unsafe_private_named.13, + aggregate_rating: self.__unsafe_private_named.14, + alternate_name: self.__unsafe_private_named.15, + alternative_headline: self.__unsafe_private_named.16, + archived_at: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + character: self.__unsafe_private_named.25, + citation: self.__unsafe_private_named.26, + comment: self.__unsafe_private_named.27, + comment_count: self.__unsafe_private_named.28, + conditions_of_access: self.__unsafe_private_named.29, + contains_season: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + director: self.__unsafe_private_named.48, + directors: self.__unsafe_private_named.49, + disambiguating_description: self.__unsafe_private_named.50, + discussion_url: self.__unsafe_private_named.51, + edit_eidr: self.__unsafe_private_named.52, + editor: self.__unsafe_private_named.53, + educational_alignment: self.__unsafe_private_named.54, + educational_level: self.__unsafe_private_named.55, + educational_use: self.__unsafe_private_named.56, + encoding: self.__unsafe_private_named.57, + encoding_format: self.__unsafe_private_named.58, + encodings: self.__unsafe_private_named.59, + end_date: self.__unsafe_private_named.60, + episode: self.__unsafe_private_named.61, + episodes: self.__unsafe_private_named.62, + example_of_work: self.__unsafe_private_named.63, + expires: self.__unsafe_private_named.64, + file_format: self.__unsafe_private_named.65, + funder: self.__unsafe_private_named.66, + funding: self.__unsafe_private_named.67, + genre: self.__unsafe_private_named.68, + has_part: self.__unsafe_private_named.69, + headline: self.__unsafe_private_named.70, + identifier: self.__unsafe_private_named.71, + image: self.__unsafe_private_named.72, + in_language: self.__unsafe_private_named.73, + interaction_statistic: self.__unsafe_private_named.74, + interactivity_type: self.__unsafe_private_named.75, + interpreted_as_claim: self.__unsafe_private_named.76, + is_accessible_for_free: self.__unsafe_private_named.77, + is_based_on: self.__unsafe_private_named.78, + is_based_on_url: self.__unsafe_private_named.79, + is_family_friendly: self.__unsafe_private_named.80, + is_part_of: self.__unsafe_private_named.81, + issn: self.__unsafe_private_named.82, + keywords: self.__unsafe_private_named.83, + learning_resource_type: self.__unsafe_private_named.84, + license: self.__unsafe_private_named.85, + location_created: self.__unsafe_private_named.86, + main_entity: self.__unsafe_private_named.87, + main_entity_of_page: self.__unsafe_private_named.88, + maintainer: self.__unsafe_private_named.89, + material: self.__unsafe_private_named.90, + material_extent: self.__unsafe_private_named.91, + mentions: self.__unsafe_private_named.92, + music_by: self.__unsafe_private_named.93, + name: self.__unsafe_private_named.94, + number_of_episodes: self.__unsafe_private_named.95, + number_of_seasons: self.__unsafe_private_named.96, + offers: self.__unsafe_private_named.97, + pattern: self.__unsafe_private_named.98, + position: self.__unsafe_private_named.99, + potential_action: self.__unsafe_private_named.100, + producer: self.__unsafe_private_named.101, + production_company: self.__unsafe_private_named.102, + provider: self.__unsafe_private_named.103, + publication: self.__unsafe_private_named.104, + publisher: self.__unsafe_private_named.105, + publisher_imprint: self.__unsafe_private_named.106, + publishing_principles: self.__unsafe_private_named.107, + recorded_at: self.__unsafe_private_named.108, + released_event: self.__unsafe_private_named.109, + review: self.__unsafe_private_named.110, + reviews: self.__unsafe_private_named.111, + same_as: self.__unsafe_private_named.112, + schema_version: self.__unsafe_private_named.113, + sd_date_published: self.__unsafe_private_named.114, + sd_license: self.__unsafe_private_named.115, + sd_publisher: self.__unsafe_private_named.116, + season: self.__unsafe_private_named.117, + seasons: self.__unsafe_private_named.118, + size: self.__unsafe_private_named.119, + source_organization: self.__unsafe_private_named.120, + spatial: self.__unsafe_private_named.121, + spatial_coverage: self.__unsafe_private_named.122, + sponsor: self.__unsafe_private_named.123, + start_date: self.__unsafe_private_named.124, + subject_of: self.__unsafe_private_named.125, + teaches: self.__unsafe_private_named.126, + temporal: self.__unsafe_private_named.127, + temporal_coverage: self.__unsafe_private_named.128, + text: self.__unsafe_private_named.129, + thumbnail: self.__unsafe_private_named.130, + thumbnail_url: self.__unsafe_private_named.131, + time_required: self.__unsafe_private_named.132, + title_eidr: self.__unsafe_private_named.133, + trailer: self.__unsafe_private_named.134, + translation_of_work: self.__unsafe_private_named.135, + translator: self.__unsafe_private_named.136, + typical_age_range: self.__unsafe_private_named.137, + url: self.__unsafe_private_named.138, + usage_info: self.__unsafe_private_named.139, + version: self.__unsafe_private_named.140, + video: self.__unsafe_private_named.141, + word_count: self.__unsafe_private_named.142, + work_example: self.__unsafe_private_named.143, + work_translation: self.__unsafe_private_named.144, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> TvSeries<'a> { + TvSeries { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + actor: self.__unsafe_private_named.11, + actors: self.__unsafe_private_named.12, + additional_type: self.__unsafe_private_named.13, + aggregate_rating: self.__unsafe_private_named.14, + alternate_name: self.__unsafe_private_named.15, + alternative_headline: self.__unsafe_private_named.16, + archived_at: self.__unsafe_private_named.17, + assesses: self.__unsafe_private_named.18, + associated_media: self.__unsafe_private_named.19, + audience: self.__unsafe_private_named.20, + audio: self.__unsafe_private_named.21, + author: self.__unsafe_private_named.22, + award: self.__unsafe_private_named.23, + awards: self.__unsafe_private_named.24, + character: self.__unsafe_private_named.25, + citation: self.__unsafe_private_named.26, + comment: self.__unsafe_private_named.27, + comment_count: self.__unsafe_private_named.28, + conditions_of_access: self.__unsafe_private_named.29, + contains_season: self.__unsafe_private_named.30, + content_location: self.__unsafe_private_named.31, + content_rating: self.__unsafe_private_named.32, + content_reference_time: self.__unsafe_private_named.33, + contributor: self.__unsafe_private_named.34, + copyright_holder: self.__unsafe_private_named.35, + copyright_notice: self.__unsafe_private_named.36, + copyright_year: self.__unsafe_private_named.37, + correction: self.__unsafe_private_named.38, + country_of_origin: self.__unsafe_private_named.39, + creative_work_status: self.__unsafe_private_named.40, + creator: self.__unsafe_private_named.41, + credit_text: self.__unsafe_private_named.42, + date_created: self.__unsafe_private_named.43, + date_modified: self.__unsafe_private_named.44, + date_published: self.__unsafe_private_named.45, + description: self.__unsafe_private_named.46, + digital_source_type: self.__unsafe_private_named.47, + director: self.__unsafe_private_named.48, + directors: self.__unsafe_private_named.49, + disambiguating_description: self.__unsafe_private_named.50, + discussion_url: self.__unsafe_private_named.51, + edit_eidr: self.__unsafe_private_named.52, + editor: self.__unsafe_private_named.53, + educational_alignment: self.__unsafe_private_named.54, + educational_level: self.__unsafe_private_named.55, + educational_use: self.__unsafe_private_named.56, + encoding: self.__unsafe_private_named.57, + encoding_format: self.__unsafe_private_named.58, + encodings: self.__unsafe_private_named.59, + end_date: self.__unsafe_private_named.60, + episode: self.__unsafe_private_named.61, + episodes: self.__unsafe_private_named.62, + example_of_work: self.__unsafe_private_named.63, + expires: self.__unsafe_private_named.64, + file_format: self.__unsafe_private_named.65, + funder: self.__unsafe_private_named.66, + funding: self.__unsafe_private_named.67, + genre: self.__unsafe_private_named.68, + has_part: self.__unsafe_private_named.69, + headline: self.__unsafe_private_named.70, + identifier: self.__unsafe_private_named.71, + image: self.__unsafe_private_named.72, + in_language: self.__unsafe_private_named.73, + interaction_statistic: self.__unsafe_private_named.74, + interactivity_type: self.__unsafe_private_named.75, + interpreted_as_claim: self.__unsafe_private_named.76, + is_accessible_for_free: self.__unsafe_private_named.77, + is_based_on: self.__unsafe_private_named.78, + is_based_on_url: self.__unsafe_private_named.79, + is_family_friendly: self.__unsafe_private_named.80, + is_part_of: self.__unsafe_private_named.81, + issn: self.__unsafe_private_named.82, + keywords: self.__unsafe_private_named.83, + learning_resource_type: self.__unsafe_private_named.84, + license: self.__unsafe_private_named.85, + location_created: self.__unsafe_private_named.86, + main_entity: self.__unsafe_private_named.87, + main_entity_of_page: self.__unsafe_private_named.88, + maintainer: self.__unsafe_private_named.89, + material: self.__unsafe_private_named.90, + material_extent: self.__unsafe_private_named.91, + mentions: self.__unsafe_private_named.92, + music_by: self.__unsafe_private_named.93, + name: self.__unsafe_private_named.94, + number_of_episodes: self.__unsafe_private_named.95, + number_of_seasons: self.__unsafe_private_named.96, + offers: self.__unsafe_private_named.97, + pattern: self.__unsafe_private_named.98, + position: self.__unsafe_private_named.99, + potential_action: self.__unsafe_private_named.100, + producer: self.__unsafe_private_named.101, + production_company: self.__unsafe_private_named.102, + provider: self.__unsafe_private_named.103, + publication: self.__unsafe_private_named.104, + publisher: self.__unsafe_private_named.105, + publisher_imprint: self.__unsafe_private_named.106, + publishing_principles: self.__unsafe_private_named.107, + recorded_at: self.__unsafe_private_named.108, + released_event: self.__unsafe_private_named.109, + review: self.__unsafe_private_named.110, + reviews: self.__unsafe_private_named.111, + same_as: self.__unsafe_private_named.112, + schema_version: self.__unsafe_private_named.113, + sd_date_published: self.__unsafe_private_named.114, + sd_license: self.__unsafe_private_named.115, + sd_publisher: self.__unsafe_private_named.116, + season: self.__unsafe_private_named.117, + seasons: self.__unsafe_private_named.118, + size: self.__unsafe_private_named.119, + source_organization: self.__unsafe_private_named.120, + spatial: self.__unsafe_private_named.121, + spatial_coverage: self.__unsafe_private_named.122, + sponsor: self.__unsafe_private_named.123, + start_date: self.__unsafe_private_named.124, + subject_of: self.__unsafe_private_named.125, + teaches: self.__unsafe_private_named.126, + temporal: self.__unsafe_private_named.127, + temporal_coverage: self.__unsafe_private_named.128, + text: self.__unsafe_private_named.129, + thumbnail: self.__unsafe_private_named.130, + thumbnail_url: self.__unsafe_private_named.131, + time_required: self.__unsafe_private_named.132, + title_eidr: self.__unsafe_private_named.133, + trailer: self.__unsafe_private_named.134, + translation_of_work: self.__unsafe_private_named.135, + translator: self.__unsafe_private_named.136, + typical_age_range: self.__unsafe_private_named.137, + url: self.__unsafe_private_named.138, + usage_info: self.__unsafe_private_named.139, + version: self.__unsafe_private_named.140, + video: self.__unsafe_private_named.141, + word_count: self.__unsafe_private_named.142, + work_example: self.__unsafe_private_named.143, + work_translation: self.__unsafe_private_named.144, + extra_data: Some(extra_data), + } + } +} + +impl<'a> TvSeries<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, TvSeriesRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesActor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesActors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesContainsSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDirector<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDirectors<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEndDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEpisode<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesEpisodes<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Episode#embedded")] + EpisodeEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesIssn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesMusicBy<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.MusicGroup#embedded")] + MusicGroupEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesNumberOfEpisodes<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesNumberOfSeasons<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesProductionCompany<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSeason<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSeasons<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesStartDate<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTitleEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTrailer<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TvSeriesWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TvSeriesGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: TvSeries<'a>, +} + +impl From> for TvSeries<'_> { + fn from(output: TvSeriesGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for TvSeries<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVSeries"; + type Record = TvSeriesRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct TvSeriesRecord; +impl jacquard_common::xrpc::XrpcResp for TvSeriesRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVSeries"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = TvSeriesGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for TvSeriesRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.TVSeries"; + type Record = TvSeriesRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TvSeries<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.TVSeries" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_TVSeries() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs new file mode 100644 index 00000000..f092095d --- /dev/null +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs @@ -0,0 +1,10530 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: social.flockfeeds.lexical.type.WebSite +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A WebSite is a set of related web pages and other items typically served from a single web domain and accessible via URLs. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Embedded<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + EmbeddedDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub issn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedIssn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedPublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum EmbeddedWorkTranslation<'a> {} +fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static( + "social.flockfeeds.lexical.type.WebSite", + ), + revision: None, + description: None, + defs: { + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedded"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A WebSite is a set of related web pages and other items typically served from a single web domain and accessible via URLs.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("abstract"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("assesses"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audience"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("citation"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editEIDR"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("encoding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headline"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("isPartOf"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#issnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#issnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keywords"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("material"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("position"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("producer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("provider"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("temporal"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "A WebSite is a set of related web pages and other items typically served from a single web domain and accessible via URLs.", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::alloc::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("about"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#aboutList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "abstract", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#abstractScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#abstractList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessModeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessModeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessModeSufficient", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessModeSufficientList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityAPI", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityAPIScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityAPIList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityControl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityControlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityControlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityFeature", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityFeatureScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityFeatureList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilityHazard", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityHazardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilityHazardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accessibilitySummary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilitySummaryScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accessibilitySummaryList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountablePerson", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#accountablePersonList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "acquireLicensePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#acquireLicensePageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#acquireLicensePageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "additionalType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#additionalTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#additionalTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aggregateRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#aggregateRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternateName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternateNameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternateNameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "alternativeHeadline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternativeHeadlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#alternativeHeadlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "archivedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.WebPage#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#archivedAtScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#archivedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "assesses", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#assessesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#assessesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "associatedMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#associatedMediaList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audience", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#audienceList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("audio"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AudioObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MusicRecording#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#audioList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#authorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("award"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("awards"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#awardsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "character", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#characterList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "citation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#citationScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#citationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("comment"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Comment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#commentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#commentCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#commentCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "conditionsOfAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#conditionsOfAccessScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#conditionsOfAccessList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentLocation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentLocationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentRating", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Rating#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentRatingScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentRatingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contentReferenceTime", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentReferenceTimeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contentReferenceTimeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "contributor", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#contributorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightHolder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightHolderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightNotice", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightNoticeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightNoticeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyrightYear", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightYearScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#copyrightYearList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "correction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CorrectionComment#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#correctionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#correctionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "countryOfOrigin", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#countryOfOriginList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creativeWorkStatus", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creativeWorkStatusScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creativeWorkStatusList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("creator"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "creditText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creditTextScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#creditTextList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateCreatedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dateModified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateModifiedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#dateModifiedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "datePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#datePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#datePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "description", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#descriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#descriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "digitalSourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.IPTCDigitalSourceEnumeration#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#digitalSourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#digitalSourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "disambiguatingDescription", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#disambiguatingDescriptionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#disambiguatingDescriptionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "discussionUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#discussionUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#discussionUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "editEIDR", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#editEIDRScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#editEIDRList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("editor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#editorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalAlignment", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.AlignmentObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalAlignmentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalLevel", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalLevelScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalLevelList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "educationalUse", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalUseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#educationalUseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encoding", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodingFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "encodings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.MediaObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#encodingsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "exampleOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#exampleOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("expires"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#expiresScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#expiresList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fileFormat", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#fileFormatScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#fileFormatList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funder"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#funderList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("funding"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#fundingList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("genre"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#genreScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#genreList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hasPart"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#hasPartList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "headline", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#headlineScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#headlineList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "identifier", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#identifierScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#identifierList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("image"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#imageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#imageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inLanguage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#inLanguageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#inLanguageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactionStatistic", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interactionStatisticList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interactivityType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interactivityTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interactivityTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "interpretedAsClaim", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Claim#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#interpretedAsClaimList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isAccessibleForFree", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isAccessibleForFreeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isAccessibleForFreeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOn", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isBasedOnUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isBasedOnUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isFamilyFriendly", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isFamilyFriendlyScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isFamilyFriendlyList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "isPartOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isPartOfScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#isPartOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("issn"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#issnScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#issnList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keywords", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#keywordsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#keywordsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "learningResourceType", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#learningResourceTypeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#learningResourceTypeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("license"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#licenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#licenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "locationCreated", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#locationCreatedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntity", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mainEntityList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mainEntityOfPage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mainEntityOfPageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mainEntityOfPageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maintainer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#maintainerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "material", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "materialExtent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialExtentScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#materialExtentList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mentions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#mentionsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#nameScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#nameList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("offers"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#offersList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("pattern"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#patternScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#patternList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "position", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#positionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#positionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "potentialAction", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#potentialActionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "producer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#producerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "provider", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#providerList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publication", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publicationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publisherImprint", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publisherImprintList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishingPrinciples", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publishingPrinciplesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#publishingPrinciplesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#recordedAtList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "releasedEvent", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.PublicationEvent#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#releasedEventList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("review"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#reviewList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reviews"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#reviewsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sameAs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sameAsScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sameAsList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "schemaVersion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#schemaVersionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#schemaVersionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdDatePublished", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdDatePublishedScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdDatePublishedList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdLicense", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdLicenseScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdLicenseList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sdPublisher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sdPublisherList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("size"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sizeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sizeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "sourceOrganization", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sourceOrganizationList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spatial"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#spatialList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "spatialCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#spatialCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("sponsor"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#sponsorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "subjectOf", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#subjectOfList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("teaches"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#teachesScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#teachesList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporal", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "temporalCoverage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalCoverageScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#temporalCoverageList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#textScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#textList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnail", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#thumbnailList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "thumbnailUrl", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#thumbnailUrlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#thumbnailUrlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "timeRequired", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#timeRequiredScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#timeRequiredList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translationOfWork", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#translationOfWorkList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "translator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#translatorList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "typicalAgeRange", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#typicalAgeRangeScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#typicalAgeRangeList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#urlScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#urlList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "usageInfo", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#usageInfoScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#usageInfoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#versionScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#versionList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.Clip#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.VideoObject#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#videoList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "wordCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#wordCountScalar"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#wordCountList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workExample", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#workExampleList") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "workTranslation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"), + ::jacquard_common::CowStr::new_static("social.flockfeeds.lexical.prop.webSite#workTranslationList") + ], + closed: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Embedded<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.WebSite" + } + fn def_name() -> &'static str { + "embedded" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_WebSite() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct WebSite<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub about: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub r#abstract: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub access_mode_sufficient: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_api: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_control: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_feature: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_hazard: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accessibility_summary: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub accountable_person: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub acquire_license_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub additional_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aggregate_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternate_name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alternative_headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub archived_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub assesses: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub associated_media: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audience: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub audio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub author: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub award: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub awards: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub character: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub citation: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub comment_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub conditions_of_access: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_location: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_rating: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content_reference_time: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub contributor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_holder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_notice: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub copyright_year: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub correction: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub country_of_origin: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creative_work_status: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub creator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub credit_text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_modified: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub description: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub digital_source_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub disambiguating_description: std::option::Option< + WebSiteDisambiguatingDescription<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub discussion_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub edit_eidr: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub editor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_alignment: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_level: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub educational_use: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encoding_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub encodings: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub example_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub expires: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub file_format: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funder: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub funding: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub genre: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub has_part: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub headline: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub identifier: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub image: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub in_language: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interaction_statistic: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interactivity_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub interpreted_as_claim: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_accessible_for_free: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_based_on_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_family_friendly: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub is_part_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub issn: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keywords: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub learning_resource_type: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub location_created: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub main_entity_of_page: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub maintainer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub material_extent: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub mentions: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub offers: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pattern: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub position: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub potential_action: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub producer: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub provider: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publication: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publisher_imprint: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publishing_principles: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub recorded_at: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub released_event: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub review: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reviews: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub same_as: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub schema_version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_date_published: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_license: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sd_publisher: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub size: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub source_organization: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub spatial_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub sponsor: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject_of: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub teaches: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub temporal_coverage: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub text: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thumbnail_url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub time_required: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translation_of_work: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub translator: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub typical_age_range: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub url: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub usage_info: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub version: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub video: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub word_count: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_example: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub work_translation: std::option::Option>, +} + +pub mod web_site_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 WebSiteBuilder<'a, S: web_site_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> WebSite<'a> { + /// Create a new builder for this type + pub fn new() -> WebSiteBuilder<'a, web_site_state::Empty> { + WebSiteBuilder::new() + } +} + +impl<'a> WebSiteBuilder<'a, web_site_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + WebSiteBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `about` field (optional) + pub fn about(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `about` field to an Option value (optional) + pub fn maybe_about(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `abstract` field (optional) + pub fn r#abstract(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `abstract` field to an Option value (optional) + pub fn maybe_abstract(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessMode` field (optional) + pub fn access_mode( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `accessMode` field to an Option value (optional) + pub fn maybe_access_mode(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessModeSufficient` field (optional) + pub fn access_mode_sufficient( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `accessModeSufficient` field to an Option value (optional) + pub fn maybe_access_mode_sufficient( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessibilityAPI` field (optional) + pub fn accessibility_api( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `accessibilityAPI` field to an Option value (optional) + pub fn maybe_accessibility_api( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessibilityControl` field (optional) + pub fn accessibility_control( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `accessibilityControl` field to an Option value (optional) + pub fn maybe_accessibility_control( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessibilityFeature` field (optional) + pub fn accessibility_feature( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `accessibilityFeature` field to an Option value (optional) + pub fn maybe_accessibility_feature( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessibilityHazard` field (optional) + pub fn accessibility_hazard( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `accessibilityHazard` field to an Option value (optional) + pub fn maybe_accessibility_hazard( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accessibilitySummary` field (optional) + pub fn accessibility_summary( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `accessibilitySummary` field to an Option value (optional) + pub fn maybe_accessibility_summary( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `accountablePerson` field (optional) + pub fn accountable_person( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.9 = value.into(); + self + } + /// Set the `accountablePerson` field to an Option value (optional) + pub fn maybe_accountable_person( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.9 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `acquireLicensePage` field (optional) + pub fn acquire_license_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.10 = value.into(); + self + } + /// Set the `acquireLicensePage` field to an Option value (optional) + pub fn maybe_acquire_license_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.10 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `additionalType` field (optional) + pub fn additional_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.11 = value.into(); + self + } + /// Set the `additionalType` field to an Option value (optional) + pub fn maybe_additional_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.11 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `aggregateRating` field (optional) + pub fn aggregate_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.12 = value.into(); + self + } + /// Set the `aggregateRating` field to an Option value (optional) + pub fn maybe_aggregate_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.12 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `alternateName` field (optional) + pub fn alternate_name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.13 = value.into(); + self + } + /// Set the `alternateName` field to an Option value (optional) + pub fn maybe_alternate_name( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.13 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `alternativeHeadline` field (optional) + pub fn alternative_headline( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.14 = value.into(); + self + } + /// Set the `alternativeHeadline` field to an Option value (optional) + pub fn maybe_alternative_headline( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.14 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `archivedAt` field (optional) + pub fn archived_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.15 = value.into(); + self + } + /// Set the `archivedAt` field to an Option value (optional) + pub fn maybe_archived_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.15 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `assesses` field (optional) + pub fn assesses(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.16 = value.into(); + self + } + /// Set the `assesses` field to an Option value (optional) + pub fn maybe_assesses(mut self, value: Option>) -> Self { + self.__unsafe_private_named.16 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `associatedMedia` field (optional) + pub fn associated_media( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.17 = value.into(); + self + } + /// Set the `associatedMedia` field to an Option value (optional) + pub fn maybe_associated_media( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.17 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `audience` field (optional) + pub fn audience(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.18 = value.into(); + self + } + /// Set the `audience` field to an Option value (optional) + pub fn maybe_audience(mut self, value: Option>) -> Self { + self.__unsafe_private_named.18 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `audio` field (optional) + pub fn audio(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.19 = value.into(); + self + } + /// Set the `audio` field to an Option value (optional) + pub fn maybe_audio(mut self, value: Option>) -> Self { + self.__unsafe_private_named.19 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `author` field (optional) + pub fn author(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.20 = value.into(); + self + } + /// Set the `author` field to an Option value (optional) + pub fn maybe_author(mut self, value: Option>) -> Self { + self.__unsafe_private_named.20 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `award` field (optional) + pub fn award(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.21 = value.into(); + self + } + /// Set the `award` field to an Option value (optional) + pub fn maybe_award(mut self, value: Option>) -> Self { + self.__unsafe_private_named.21 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `awards` field (optional) + pub fn awards(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.22 = value.into(); + self + } + /// Set the `awards` field to an Option value (optional) + pub fn maybe_awards(mut self, value: Option>) -> Self { + self.__unsafe_private_named.22 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `character` field (optional) + pub fn character(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.23 = value.into(); + self + } + /// Set the `character` field to an Option value (optional) + pub fn maybe_character(mut self, value: Option>) -> Self { + self.__unsafe_private_named.23 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `citation` field (optional) + pub fn citation(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.24 = value.into(); + self + } + /// Set the `citation` field to an Option value (optional) + pub fn maybe_citation(mut self, value: Option>) -> Self { + self.__unsafe_private_named.24 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `comment` field (optional) + pub fn comment(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.25 = value.into(); + self + } + /// Set the `comment` field to an Option value (optional) + pub fn maybe_comment(mut self, value: Option>) -> Self { + self.__unsafe_private_named.25 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `commentCount` field (optional) + pub fn comment_count( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.26 = value.into(); + self + } + /// Set the `commentCount` field to an Option value (optional) + pub fn maybe_comment_count( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.26 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `conditionsOfAccess` field (optional) + pub fn conditions_of_access( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.27 = value.into(); + self + } + /// Set the `conditionsOfAccess` field to an Option value (optional) + pub fn maybe_conditions_of_access( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.27 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `contentLocation` field (optional) + pub fn content_location( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.28 = value.into(); + self + } + /// Set the `contentLocation` field to an Option value (optional) + pub fn maybe_content_location( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.28 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `contentRating` field (optional) + pub fn content_rating( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.29 = value.into(); + self + } + /// Set the `contentRating` field to an Option value (optional) + pub fn maybe_content_rating( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.29 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `contentReferenceTime` field (optional) + pub fn content_reference_time( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.30 = value.into(); + self + } + /// Set the `contentReferenceTime` field to an Option value (optional) + pub fn maybe_content_reference_time( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.30 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `contributor` field (optional) + pub fn contributor( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.31 = value.into(); + self + } + /// Set the `contributor` field to an Option value (optional) + pub fn maybe_contributor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.31 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `copyrightHolder` field (optional) + pub fn copyright_holder( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.32 = value.into(); + self + } + /// Set the `copyrightHolder` field to an Option value (optional) + pub fn maybe_copyright_holder( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.32 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `copyrightNotice` field (optional) + pub fn copyright_notice( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.33 = value.into(); + self + } + /// Set the `copyrightNotice` field to an Option value (optional) + pub fn maybe_copyright_notice( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.33 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `copyrightYear` field (optional) + pub fn copyright_year( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.34 = value.into(); + self + } + /// Set the `copyrightYear` field to an Option value (optional) + pub fn maybe_copyright_year( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.34 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `correction` field (optional) + pub fn correction( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.35 = value.into(); + self + } + /// Set the `correction` field to an Option value (optional) + pub fn maybe_correction(mut self, value: Option>) -> Self { + self.__unsafe_private_named.35 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `countryOfOrigin` field (optional) + pub fn country_of_origin( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.36 = value.into(); + self + } + /// Set the `countryOfOrigin` field to an Option value (optional) + pub fn maybe_country_of_origin( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.36 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `creativeWorkStatus` field (optional) + pub fn creative_work_status( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.37 = value.into(); + self + } + /// Set the `creativeWorkStatus` field to an Option value (optional) + pub fn maybe_creative_work_status( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.37 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `creator` field (optional) + pub fn creator(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.38 = value.into(); + self + } + /// Set the `creator` field to an Option value (optional) + pub fn maybe_creator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.38 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `creditText` field (optional) + pub fn credit_text( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.39 = value.into(); + self + } + /// Set the `creditText` field to an Option value (optional) + pub fn maybe_credit_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.39 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `dateCreated` field (optional) + pub fn date_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.40 = value.into(); + self + } + /// Set the `dateCreated` field to an Option value (optional) + pub fn maybe_date_created(mut self, value: Option>) -> Self { + self.__unsafe_private_named.40 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `dateModified` field (optional) + pub fn date_modified( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.41 = value.into(); + self + } + /// Set the `dateModified` field to an Option value (optional) + pub fn maybe_date_modified( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.41 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `datePublished` field (optional) + pub fn date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.42 = value.into(); + self + } + /// Set the `datePublished` field to an Option value (optional) + pub fn maybe_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.42 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `description` field (optional) + pub fn description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.43 = value.into(); + self + } + /// Set the `description` field to an Option value (optional) + pub fn maybe_description(mut self, value: Option>) -> Self { + self.__unsafe_private_named.43 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `digitalSourceType` field (optional) + pub fn digital_source_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.44 = value.into(); + self + } + /// Set the `digitalSourceType` field to an Option value (optional) + pub fn maybe_digital_source_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.44 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `disambiguatingDescription` field (optional) + pub fn disambiguating_description( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.45 = value.into(); + self + } + /// Set the `disambiguatingDescription` field to an Option value (optional) + pub fn maybe_disambiguating_description( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.45 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `discussionUrl` field (optional) + pub fn discussion_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.46 = value.into(); + self + } + /// Set the `discussionUrl` field to an Option value (optional) + pub fn maybe_discussion_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.46 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `editEIDR` field (optional) + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.47 = value.into(); + self + } + /// Set the `editEIDR` field to an Option value (optional) + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { + self.__unsafe_private_named.47 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `editor` field (optional) + pub fn editor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.48 = value.into(); + self + } + /// Set the `editor` field to an Option value (optional) + pub fn maybe_editor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.48 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `educationalAlignment` field (optional) + pub fn educational_alignment( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.49 = value.into(); + self + } + /// Set the `educationalAlignment` field to an Option value (optional) + pub fn maybe_educational_alignment( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.49 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `educationalLevel` field (optional) + pub fn educational_level( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.50 = value.into(); + self + } + /// Set the `educationalLevel` field to an Option value (optional) + pub fn maybe_educational_level( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.50 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `educationalUse` field (optional) + pub fn educational_use( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.51 = value.into(); + self + } + /// Set the `educationalUse` field to an Option value (optional) + pub fn maybe_educational_use( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.51 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `encoding` field (optional) + pub fn encoding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.52 = value.into(); + self + } + /// Set the `encoding` field to an Option value (optional) + pub fn maybe_encoding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.52 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `encodingFormat` field (optional) + pub fn encoding_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.53 = value.into(); + self + } + /// Set the `encodingFormat` field to an Option value (optional) + pub fn maybe_encoding_format( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.53 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `encodings` field (optional) + pub fn encodings(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.54 = value.into(); + self + } + /// Set the `encodings` field to an Option value (optional) + pub fn maybe_encodings(mut self, value: Option>) -> Self { + self.__unsafe_private_named.54 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `exampleOfWork` field (optional) + pub fn example_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.55 = value.into(); + self + } + /// Set the `exampleOfWork` field to an Option value (optional) + pub fn maybe_example_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.55 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `expires` field (optional) + pub fn expires(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.56 = value.into(); + self + } + /// Set the `expires` field to an Option value (optional) + pub fn maybe_expires(mut self, value: Option>) -> Self { + self.__unsafe_private_named.56 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `fileFormat` field (optional) + pub fn file_format( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.57 = value.into(); + self + } + /// Set the `fileFormat` field to an Option value (optional) + pub fn maybe_file_format(mut self, value: Option>) -> Self { + self.__unsafe_private_named.57 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `funder` field (optional) + pub fn funder(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.58 = value.into(); + self + } + /// Set the `funder` field to an Option value (optional) + pub fn maybe_funder(mut self, value: Option>) -> Self { + self.__unsafe_private_named.58 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `funding` field (optional) + pub fn funding(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.59 = value.into(); + self + } + /// Set the `funding` field to an Option value (optional) + pub fn maybe_funding(mut self, value: Option>) -> Self { + self.__unsafe_private_named.59 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `genre` field (optional) + pub fn genre(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.60 = value.into(); + self + } + /// Set the `genre` field to an Option value (optional) + pub fn maybe_genre(mut self, value: Option>) -> Self { + self.__unsafe_private_named.60 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `hasPart` field (optional) + pub fn has_part(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.61 = value.into(); + self + } + /// Set the `hasPart` field to an Option value (optional) + pub fn maybe_has_part(mut self, value: Option>) -> Self { + self.__unsafe_private_named.61 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `headline` field (optional) + pub fn headline(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.62 = value.into(); + self + } + /// Set the `headline` field to an Option value (optional) + pub fn maybe_headline(mut self, value: Option>) -> Self { + self.__unsafe_private_named.62 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `identifier` field (optional) + pub fn identifier( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.63 = value.into(); + self + } + /// Set the `identifier` field to an Option value (optional) + pub fn maybe_identifier(mut self, value: Option>) -> Self { + self.__unsafe_private_named.63 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `image` field (optional) + pub fn image(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.64 = value.into(); + self + } + /// Set the `image` field to an Option value (optional) + pub fn maybe_image(mut self, value: Option>) -> Self { + self.__unsafe_private_named.64 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `inLanguage` field (optional) + pub fn in_language( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.65 = value.into(); + self + } + /// Set the `inLanguage` field to an Option value (optional) + pub fn maybe_in_language(mut self, value: Option>) -> Self { + self.__unsafe_private_named.65 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `interactionStatistic` field (optional) + pub fn interaction_statistic( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.66 = value.into(); + self + } + /// Set the `interactionStatistic` field to an Option value (optional) + pub fn maybe_interaction_statistic( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.66 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `interactivityType` field (optional) + pub fn interactivity_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.67 = value.into(); + self + } + /// Set the `interactivityType` field to an Option value (optional) + pub fn maybe_interactivity_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.67 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `interpretedAsClaim` field (optional) + pub fn interpreted_as_claim( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.68 = value.into(); + self + } + /// Set the `interpretedAsClaim` field to an Option value (optional) + pub fn maybe_interpreted_as_claim( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.68 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `isAccessibleForFree` field (optional) + pub fn is_accessible_for_free( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.69 = value.into(); + self + } + /// Set the `isAccessibleForFree` field to an Option value (optional) + pub fn maybe_is_accessible_for_free( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.69 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `isBasedOn` field (optional) + pub fn is_based_on( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.70 = value.into(); + self + } + /// Set the `isBasedOn` field to an Option value (optional) + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { + self.__unsafe_private_named.70 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `isBasedOnUrl` field (optional) + pub fn is_based_on_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.71 = value.into(); + self + } + /// Set the `isBasedOnUrl` field to an Option value (optional) + pub fn maybe_is_based_on_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.71 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `isFamilyFriendly` field (optional) + pub fn is_family_friendly( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.72 = value.into(); + self + } + /// Set the `isFamilyFriendly` field to an Option value (optional) + pub fn maybe_is_family_friendly( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.72 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `isPartOf` field (optional) + pub fn is_part_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.73 = value.into(); + self + } + /// Set the `isPartOf` field to an Option value (optional) + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.73 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `issn` field (optional) + pub fn issn(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.74 = value.into(); + self + } + /// Set the `issn` field to an Option value (optional) + pub fn maybe_issn(mut self, value: Option>) -> Self { + self.__unsafe_private_named.74 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `keywords` field (optional) + pub fn keywords(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.75 = value.into(); + self + } + /// Set the `keywords` field to an Option value (optional) + pub fn maybe_keywords(mut self, value: Option>) -> Self { + self.__unsafe_private_named.75 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `learningResourceType` field (optional) + pub fn learning_resource_type( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.76 = value.into(); + self + } + /// Set the `learningResourceType` field to an Option value (optional) + pub fn maybe_learning_resource_type( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.76 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `license` field (optional) + pub fn license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.77 = value.into(); + self + } + /// Set the `license` field to an Option value (optional) + pub fn maybe_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.77 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `locationCreated` field (optional) + pub fn location_created( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.78 = value.into(); + self + } + /// Set the `locationCreated` field to an Option value (optional) + pub fn maybe_location_created( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.78 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `mainEntity` field (optional) + pub fn main_entity( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.79 = value.into(); + self + } + /// Set the `mainEntity` field to an Option value (optional) + pub fn maybe_main_entity(mut self, value: Option>) -> Self { + self.__unsafe_private_named.79 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `mainEntityOfPage` field (optional) + pub fn main_entity_of_page( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.80 = value.into(); + self + } + /// Set the `mainEntityOfPage` field to an Option value (optional) + pub fn maybe_main_entity_of_page( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.80 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `maintainer` field (optional) + pub fn maintainer( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.81 = value.into(); + self + } + /// Set the `maintainer` field to an Option value (optional) + pub fn maybe_maintainer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.81 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `material` field (optional) + pub fn material(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.82 = value.into(); + self + } + /// Set the `material` field to an Option value (optional) + pub fn maybe_material(mut self, value: Option>) -> Self { + self.__unsafe_private_named.82 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `materialExtent` field (optional) + pub fn material_extent( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.83 = value.into(); + self + } + /// Set the `materialExtent` field to an Option value (optional) + pub fn maybe_material_extent( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.83 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `mentions` field (optional) + pub fn mentions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.84 = value.into(); + self + } + /// Set the `mentions` field to an Option value (optional) + pub fn maybe_mentions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.84 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.85 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.85 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `offers` field (optional) + pub fn offers(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.86 = value.into(); + self + } + /// Set the `offers` field to an Option value (optional) + pub fn maybe_offers(mut self, value: Option>) -> Self { + self.__unsafe_private_named.86 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `pattern` field (optional) + pub fn pattern(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.87 = value.into(); + self + } + /// Set the `pattern` field to an Option value (optional) + pub fn maybe_pattern(mut self, value: Option>) -> Self { + self.__unsafe_private_named.87 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `position` field (optional) + pub fn position(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.88 = value.into(); + self + } + /// Set the `position` field to an Option value (optional) + pub fn maybe_position(mut self, value: Option>) -> Self { + self.__unsafe_private_named.88 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `potentialAction` field (optional) + pub fn potential_action( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.89 = value.into(); + self + } + /// Set the `potentialAction` field to an Option value (optional) + pub fn maybe_potential_action( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.89 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `producer` field (optional) + pub fn producer(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.90 = value.into(); + self + } + /// Set the `producer` field to an Option value (optional) + pub fn maybe_producer(mut self, value: Option>) -> Self { + self.__unsafe_private_named.90 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `provider` field (optional) + pub fn provider(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.91 = value.into(); + self + } + /// Set the `provider` field to an Option value (optional) + pub fn maybe_provider(mut self, value: Option>) -> Self { + self.__unsafe_private_named.91 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `publication` field (optional) + pub fn publication( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.92 = value.into(); + self + } + /// Set the `publication` field to an Option value (optional) + pub fn maybe_publication(mut self, value: Option>) -> Self { + self.__unsafe_private_named.92 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `publisher` field (optional) + pub fn publisher(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.93 = value.into(); + self + } + /// Set the `publisher` field to an Option value (optional) + pub fn maybe_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.93 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `publisherImprint` field (optional) + pub fn publisher_imprint( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.94 = value.into(); + self + } + /// Set the `publisherImprint` field to an Option value (optional) + pub fn maybe_publisher_imprint( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.94 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `publishingPrinciples` field (optional) + pub fn publishing_principles( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.95 = value.into(); + self + } + /// Set the `publishingPrinciples` field to an Option value (optional) + pub fn maybe_publishing_principles( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.95 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `recordedAt` field (optional) + pub fn recorded_at( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.96 = value.into(); + self + } + /// Set the `recordedAt` field to an Option value (optional) + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { + self.__unsafe_private_named.96 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `releasedEvent` field (optional) + pub fn released_event( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.97 = value.into(); + self + } + /// Set the `releasedEvent` field to an Option value (optional) + pub fn maybe_released_event( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.97 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `review` field (optional) + pub fn review(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.98 = value.into(); + self + } + /// Set the `review` field to an Option value (optional) + pub fn maybe_review(mut self, value: Option>) -> Self { + self.__unsafe_private_named.98 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `reviews` field (optional) + pub fn reviews(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.99 = value.into(); + self + } + /// Set the `reviews` field to an Option value (optional) + pub fn maybe_reviews(mut self, value: Option>) -> Self { + self.__unsafe_private_named.99 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `sameAs` field (optional) + pub fn same_as(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.100 = value.into(); + self + } + /// Set the `sameAs` field to an Option value (optional) + pub fn maybe_same_as(mut self, value: Option>) -> Self { + self.__unsafe_private_named.100 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `schemaVersion` field (optional) + pub fn schema_version( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.101 = value.into(); + self + } + /// Set the `schemaVersion` field to an Option value (optional) + pub fn maybe_schema_version( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.101 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `sdDatePublished` field (optional) + pub fn sd_date_published( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.102 = value.into(); + self + } + /// Set the `sdDatePublished` field to an Option value (optional) + pub fn maybe_sd_date_published( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.102 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `sdLicense` field (optional) + pub fn sd_license(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.103 = value.into(); + self + } + /// Set the `sdLicense` field to an Option value (optional) + pub fn maybe_sd_license(mut self, value: Option>) -> Self { + self.__unsafe_private_named.103 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `sdPublisher` field (optional) + pub fn sd_publisher( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.104 = value.into(); + self + } + /// Set the `sdPublisher` field to an Option value (optional) + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { + self.__unsafe_private_named.104 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `size` field (optional) + pub fn size(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.105 = value.into(); + self + } + /// Set the `size` field to an Option value (optional) + pub fn maybe_size(mut self, value: Option>) -> Self { + self.__unsafe_private_named.105 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `sourceOrganization` field (optional) + pub fn source_organization( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.106 = value.into(); + self + } + /// Set the `sourceOrganization` field to an Option value (optional) + pub fn maybe_source_organization( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.106 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `spatial` field (optional) + pub fn spatial(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.107 = value.into(); + self + } + /// Set the `spatial` field to an Option value (optional) + pub fn maybe_spatial(mut self, value: Option>) -> Self { + self.__unsafe_private_named.107 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `spatialCoverage` field (optional) + pub fn spatial_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.108 = value.into(); + self + } + /// Set the `spatialCoverage` field to an Option value (optional) + pub fn maybe_spatial_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.108 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `sponsor` field (optional) + pub fn sponsor(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.109 = value.into(); + self + } + /// Set the `sponsor` field to an Option value (optional) + pub fn maybe_sponsor(mut self, value: Option>) -> Self { + self.__unsafe_private_named.109 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `subjectOf` field (optional) + pub fn subject_of(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.110 = value.into(); + self + } + /// Set the `subjectOf` field to an Option value (optional) + pub fn maybe_subject_of(mut self, value: Option>) -> Self { + self.__unsafe_private_named.110 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `teaches` field (optional) + pub fn teaches(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.111 = value.into(); + self + } + /// Set the `teaches` field to an Option value (optional) + pub fn maybe_teaches(mut self, value: Option>) -> Self { + self.__unsafe_private_named.111 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `temporal` field (optional) + pub fn temporal(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.112 = value.into(); + self + } + /// Set the `temporal` field to an Option value (optional) + pub fn maybe_temporal(mut self, value: Option>) -> Self { + self.__unsafe_private_named.112 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `temporalCoverage` field (optional) + pub fn temporal_coverage( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.113 = value.into(); + self + } + /// Set the `temporalCoverage` field to an Option value (optional) + pub fn maybe_temporal_coverage( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.113 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `text` field (optional) + pub fn text(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.114 = value.into(); + self + } + /// Set the `text` field to an Option value (optional) + pub fn maybe_text(mut self, value: Option>) -> Self { + self.__unsafe_private_named.114 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `thumbnail` field (optional) + pub fn thumbnail(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.115 = value.into(); + self + } + /// Set the `thumbnail` field to an Option value (optional) + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { + self.__unsafe_private_named.115 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `thumbnailUrl` field (optional) + pub fn thumbnail_url( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.116 = value.into(); + self + } + /// Set the `thumbnailUrl` field to an Option value (optional) + pub fn maybe_thumbnail_url( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.116 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `timeRequired` field (optional) + pub fn time_required( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.117 = value.into(); + self + } + /// Set the `timeRequired` field to an Option value (optional) + pub fn maybe_time_required( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.117 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `translationOfWork` field (optional) + pub fn translation_of_work( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.118 = value.into(); + self + } + /// Set the `translationOfWork` field to an Option value (optional) + pub fn maybe_translation_of_work( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.118 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `translator` field (optional) + pub fn translator( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.119 = value.into(); + self + } + /// Set the `translator` field to an Option value (optional) + pub fn maybe_translator(mut self, value: Option>) -> Self { + self.__unsafe_private_named.119 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `typicalAgeRange` field (optional) + pub fn typical_age_range( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.120 = value.into(); + self + } + /// Set the `typicalAgeRange` field to an Option value (optional) + pub fn maybe_typical_age_range( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.120 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `url` field (optional) + pub fn url(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.121 = value.into(); + self + } + /// Set the `url` field to an Option value (optional) + pub fn maybe_url(mut self, value: Option>) -> Self { + self.__unsafe_private_named.121 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `usageInfo` field (optional) + pub fn usage_info(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.122 = value.into(); + self + } + /// Set the `usageInfo` field to an Option value (optional) + pub fn maybe_usage_info(mut self, value: Option>) -> Self { + self.__unsafe_private_named.122 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `version` field (optional) + pub fn version(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.123 = value.into(); + self + } + /// Set the `version` field to an Option value (optional) + pub fn maybe_version(mut self, value: Option>) -> Self { + self.__unsafe_private_named.123 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `video` field (optional) + pub fn video(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.124 = value.into(); + self + } + /// Set the `video` field to an Option value (optional) + pub fn maybe_video(mut self, value: Option>) -> Self { + self.__unsafe_private_named.124 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `wordCount` field (optional) + pub fn word_count(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.125 = value.into(); + self + } + /// Set the `wordCount` field to an Option value (optional) + pub fn maybe_word_count(mut self, value: Option>) -> Self { + self.__unsafe_private_named.125 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `workExample` field (optional) + pub fn work_example( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.126 = value.into(); + self + } + /// Set the `workExample` field to an Option value (optional) + pub fn maybe_work_example(mut self, value: Option>) -> Self { + self.__unsafe_private_named.126 = value; + self + } +} + +impl<'a, S: web_site_state::State> WebSiteBuilder<'a, S> { + /// Set the `workTranslation` field (optional) + pub fn work_translation( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.127 = value.into(); + self + } + /// Set the `workTranslation` field to an Option value (optional) + pub fn maybe_work_translation( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.127 = value; + self + } +} + +impl<'a, S> WebSiteBuilder<'a, S> +where + S: web_site_state::State, +{ + /// Build the final struct + pub fn build(self) -> WebSite<'a> { + WebSite { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + assesses: self.__unsafe_private_named.16, + associated_media: self.__unsafe_private_named.17, + audience: self.__unsafe_private_named.18, + audio: self.__unsafe_private_named.19, + author: self.__unsafe_private_named.20, + award: self.__unsafe_private_named.21, + awards: self.__unsafe_private_named.22, + character: self.__unsafe_private_named.23, + citation: self.__unsafe_private_named.24, + comment: self.__unsafe_private_named.25, + comment_count: self.__unsafe_private_named.26, + conditions_of_access: self.__unsafe_private_named.27, + content_location: self.__unsafe_private_named.28, + content_rating: self.__unsafe_private_named.29, + content_reference_time: self.__unsafe_private_named.30, + contributor: self.__unsafe_private_named.31, + copyright_holder: self.__unsafe_private_named.32, + copyright_notice: self.__unsafe_private_named.33, + copyright_year: self.__unsafe_private_named.34, + correction: self.__unsafe_private_named.35, + country_of_origin: self.__unsafe_private_named.36, + creative_work_status: self.__unsafe_private_named.37, + creator: self.__unsafe_private_named.38, + credit_text: self.__unsafe_private_named.39, + date_created: self.__unsafe_private_named.40, + date_modified: self.__unsafe_private_named.41, + date_published: self.__unsafe_private_named.42, + description: self.__unsafe_private_named.43, + digital_source_type: self.__unsafe_private_named.44, + disambiguating_description: self.__unsafe_private_named.45, + discussion_url: self.__unsafe_private_named.46, + edit_eidr: self.__unsafe_private_named.47, + editor: self.__unsafe_private_named.48, + educational_alignment: self.__unsafe_private_named.49, + educational_level: self.__unsafe_private_named.50, + educational_use: self.__unsafe_private_named.51, + encoding: self.__unsafe_private_named.52, + encoding_format: self.__unsafe_private_named.53, + encodings: self.__unsafe_private_named.54, + example_of_work: self.__unsafe_private_named.55, + expires: self.__unsafe_private_named.56, + file_format: self.__unsafe_private_named.57, + funder: self.__unsafe_private_named.58, + funding: self.__unsafe_private_named.59, + genre: self.__unsafe_private_named.60, + has_part: self.__unsafe_private_named.61, + headline: self.__unsafe_private_named.62, + identifier: self.__unsafe_private_named.63, + image: self.__unsafe_private_named.64, + in_language: self.__unsafe_private_named.65, + interaction_statistic: self.__unsafe_private_named.66, + interactivity_type: self.__unsafe_private_named.67, + interpreted_as_claim: self.__unsafe_private_named.68, + is_accessible_for_free: self.__unsafe_private_named.69, + is_based_on: self.__unsafe_private_named.70, + is_based_on_url: self.__unsafe_private_named.71, + is_family_friendly: self.__unsafe_private_named.72, + is_part_of: self.__unsafe_private_named.73, + issn: self.__unsafe_private_named.74, + keywords: self.__unsafe_private_named.75, + learning_resource_type: self.__unsafe_private_named.76, + license: self.__unsafe_private_named.77, + location_created: self.__unsafe_private_named.78, + main_entity: self.__unsafe_private_named.79, + main_entity_of_page: self.__unsafe_private_named.80, + maintainer: self.__unsafe_private_named.81, + material: self.__unsafe_private_named.82, + material_extent: self.__unsafe_private_named.83, + mentions: self.__unsafe_private_named.84, + name: self.__unsafe_private_named.85, + offers: self.__unsafe_private_named.86, + pattern: self.__unsafe_private_named.87, + position: self.__unsafe_private_named.88, + potential_action: self.__unsafe_private_named.89, + producer: self.__unsafe_private_named.90, + provider: self.__unsafe_private_named.91, + publication: self.__unsafe_private_named.92, + publisher: self.__unsafe_private_named.93, + publisher_imprint: self.__unsafe_private_named.94, + publishing_principles: self.__unsafe_private_named.95, + recorded_at: self.__unsafe_private_named.96, + released_event: self.__unsafe_private_named.97, + review: self.__unsafe_private_named.98, + reviews: self.__unsafe_private_named.99, + same_as: self.__unsafe_private_named.100, + schema_version: self.__unsafe_private_named.101, + sd_date_published: self.__unsafe_private_named.102, + sd_license: self.__unsafe_private_named.103, + sd_publisher: self.__unsafe_private_named.104, + size: self.__unsafe_private_named.105, + source_organization: self.__unsafe_private_named.106, + spatial: self.__unsafe_private_named.107, + spatial_coverage: self.__unsafe_private_named.108, + sponsor: self.__unsafe_private_named.109, + subject_of: self.__unsafe_private_named.110, + teaches: self.__unsafe_private_named.111, + temporal: self.__unsafe_private_named.112, + temporal_coverage: self.__unsafe_private_named.113, + text: self.__unsafe_private_named.114, + thumbnail: self.__unsafe_private_named.115, + thumbnail_url: self.__unsafe_private_named.116, + time_required: self.__unsafe_private_named.117, + translation_of_work: self.__unsafe_private_named.118, + translator: self.__unsafe_private_named.119, + typical_age_range: self.__unsafe_private_named.120, + url: self.__unsafe_private_named.121, + usage_info: self.__unsafe_private_named.122, + version: self.__unsafe_private_named.123, + video: self.__unsafe_private_named.124, + word_count: self.__unsafe_private_named.125, + work_example: self.__unsafe_private_named.126, + work_translation: self.__unsafe_private_named.127, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> WebSite<'a> { + WebSite { + about: self.__unsafe_private_named.0, + r#abstract: self.__unsafe_private_named.1, + access_mode: self.__unsafe_private_named.2, + access_mode_sufficient: self.__unsafe_private_named.3, + accessibility_api: self.__unsafe_private_named.4, + accessibility_control: self.__unsafe_private_named.5, + accessibility_feature: self.__unsafe_private_named.6, + accessibility_hazard: self.__unsafe_private_named.7, + accessibility_summary: self.__unsafe_private_named.8, + accountable_person: self.__unsafe_private_named.9, + acquire_license_page: self.__unsafe_private_named.10, + additional_type: self.__unsafe_private_named.11, + aggregate_rating: self.__unsafe_private_named.12, + alternate_name: self.__unsafe_private_named.13, + alternative_headline: self.__unsafe_private_named.14, + archived_at: self.__unsafe_private_named.15, + assesses: self.__unsafe_private_named.16, + associated_media: self.__unsafe_private_named.17, + audience: self.__unsafe_private_named.18, + audio: self.__unsafe_private_named.19, + author: self.__unsafe_private_named.20, + award: self.__unsafe_private_named.21, + awards: self.__unsafe_private_named.22, + character: self.__unsafe_private_named.23, + citation: self.__unsafe_private_named.24, + comment: self.__unsafe_private_named.25, + comment_count: self.__unsafe_private_named.26, + conditions_of_access: self.__unsafe_private_named.27, + content_location: self.__unsafe_private_named.28, + content_rating: self.__unsafe_private_named.29, + content_reference_time: self.__unsafe_private_named.30, + contributor: self.__unsafe_private_named.31, + copyright_holder: self.__unsafe_private_named.32, + copyright_notice: self.__unsafe_private_named.33, + copyright_year: self.__unsafe_private_named.34, + correction: self.__unsafe_private_named.35, + country_of_origin: self.__unsafe_private_named.36, + creative_work_status: self.__unsafe_private_named.37, + creator: self.__unsafe_private_named.38, + credit_text: self.__unsafe_private_named.39, + date_created: self.__unsafe_private_named.40, + date_modified: self.__unsafe_private_named.41, + date_published: self.__unsafe_private_named.42, + description: self.__unsafe_private_named.43, + digital_source_type: self.__unsafe_private_named.44, + disambiguating_description: self.__unsafe_private_named.45, + discussion_url: self.__unsafe_private_named.46, + edit_eidr: self.__unsafe_private_named.47, + editor: self.__unsafe_private_named.48, + educational_alignment: self.__unsafe_private_named.49, + educational_level: self.__unsafe_private_named.50, + educational_use: self.__unsafe_private_named.51, + encoding: self.__unsafe_private_named.52, + encoding_format: self.__unsafe_private_named.53, + encodings: self.__unsafe_private_named.54, + example_of_work: self.__unsafe_private_named.55, + expires: self.__unsafe_private_named.56, + file_format: self.__unsafe_private_named.57, + funder: self.__unsafe_private_named.58, + funding: self.__unsafe_private_named.59, + genre: self.__unsafe_private_named.60, + has_part: self.__unsafe_private_named.61, + headline: self.__unsafe_private_named.62, + identifier: self.__unsafe_private_named.63, + image: self.__unsafe_private_named.64, + in_language: self.__unsafe_private_named.65, + interaction_statistic: self.__unsafe_private_named.66, + interactivity_type: self.__unsafe_private_named.67, + interpreted_as_claim: self.__unsafe_private_named.68, + is_accessible_for_free: self.__unsafe_private_named.69, + is_based_on: self.__unsafe_private_named.70, + is_based_on_url: self.__unsafe_private_named.71, + is_family_friendly: self.__unsafe_private_named.72, + is_part_of: self.__unsafe_private_named.73, + issn: self.__unsafe_private_named.74, + keywords: self.__unsafe_private_named.75, + learning_resource_type: self.__unsafe_private_named.76, + license: self.__unsafe_private_named.77, + location_created: self.__unsafe_private_named.78, + main_entity: self.__unsafe_private_named.79, + main_entity_of_page: self.__unsafe_private_named.80, + maintainer: self.__unsafe_private_named.81, + material: self.__unsafe_private_named.82, + material_extent: self.__unsafe_private_named.83, + mentions: self.__unsafe_private_named.84, + name: self.__unsafe_private_named.85, + offers: self.__unsafe_private_named.86, + pattern: self.__unsafe_private_named.87, + position: self.__unsafe_private_named.88, + potential_action: self.__unsafe_private_named.89, + producer: self.__unsafe_private_named.90, + provider: self.__unsafe_private_named.91, + publication: self.__unsafe_private_named.92, + publisher: self.__unsafe_private_named.93, + publisher_imprint: self.__unsafe_private_named.94, + publishing_principles: self.__unsafe_private_named.95, + recorded_at: self.__unsafe_private_named.96, + released_event: self.__unsafe_private_named.97, + review: self.__unsafe_private_named.98, + reviews: self.__unsafe_private_named.99, + same_as: self.__unsafe_private_named.100, + schema_version: self.__unsafe_private_named.101, + sd_date_published: self.__unsafe_private_named.102, + sd_license: self.__unsafe_private_named.103, + sd_publisher: self.__unsafe_private_named.104, + size: self.__unsafe_private_named.105, + source_organization: self.__unsafe_private_named.106, + spatial: self.__unsafe_private_named.107, + spatial_coverage: self.__unsafe_private_named.108, + sponsor: self.__unsafe_private_named.109, + subject_of: self.__unsafe_private_named.110, + teaches: self.__unsafe_private_named.111, + temporal: self.__unsafe_private_named.112, + temporal_coverage: self.__unsafe_private_named.113, + text: self.__unsafe_private_named.114, + thumbnail: self.__unsafe_private_named.115, + thumbnail_url: self.__unsafe_private_named.116, + time_required: self.__unsafe_private_named.117, + translation_of_work: self.__unsafe_private_named.118, + translator: self.__unsafe_private_named.119, + typical_age_range: self.__unsafe_private_named.120, + url: self.__unsafe_private_named.121, + usage_info: self.__unsafe_private_named.122, + version: self.__unsafe_private_named.123, + video: self.__unsafe_private_named.124, + word_count: self.__unsafe_private_named.125, + work_example: self.__unsafe_private_named.126, + work_translation: self.__unsafe_private_named.127, + extra_data: Some(extra_data), + } + } +} + +impl<'a> WebSite<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, WebSiteRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAbout<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAbstract<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessMode<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessModeSufficient<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessibilityApi<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessibilityControl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessibilityFeature<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessibilityHazard<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccessibilitySummary<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAccountablePerson<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAcquireLicensePage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAdditionalType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAggregateRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAlternateName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAlternativeHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteArchivedAt<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAssesses<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAssociatedMedia<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAudience<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAudio<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAuthor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAward<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteAwards<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCharacter<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCitation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteComment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCommentCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteConditionsOfAccess<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteContentLocation<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteContentRating<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteContentReferenceTime<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteContributor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCopyrightHolder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCopyrightNotice<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCopyrightYear<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCorrection<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCountryOfOrigin<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCreativeWorkStatus<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCreator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteCreditText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDateCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDateModified<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDigitalSourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDisambiguatingDescription<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteDiscussionUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEditEidr<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEditor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEducationalAlignment<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEducationalLevel<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEducationalUse<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEncoding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEncodingFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteEncodings<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteExampleOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteExpires<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteFileFormat<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteFunder<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteFunding<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteGenre<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteHasPart<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteHeadline<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIdentifier<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteImage<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteInLanguage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteInteractionStatistic<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteInteractivityType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteInterpretedAsClaim<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIsAccessibleForFree<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIsBasedOn<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIsBasedOnUrl<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIsFamilyFriendly<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIsPartOf<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteIssn<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteKeywords<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteLearningResourceType<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteLocationCreated<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteMainEntity<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteMainEntityOfPage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteMaintainer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteMaterial<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")] + ProductEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteMaterialExtent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteMentions<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteName<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteOffers<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")] + OfferEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePattern<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePosition<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePotentialAction<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteProducer<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteProvider<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePublication<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePublisherImprint<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSitePublishingPrinciples<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteRecordedAt<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteReleasedEvent<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteReview<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteReviews<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSameAs<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSchemaVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSdDatePublished<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSdLicense<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSdPublisher<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSize<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSourceOrganization<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSpatial<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSpatialCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSponsor<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteSubjectOf<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")] + EventEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTeaches<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTemporal<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTemporalCoverage<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteText<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteThumbnail<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")] + ImageObjectEmbedded( + Box>, + ), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteThumbnailUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTimeRequired<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTranslationOfWork<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTranslator<'a> { + #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")] + OrganizationEmbedded( + Box>, + ), + #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")] + PersonEmbedded(Box>), +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteTypicalAgeRange<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteUrl<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteUsageInfo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteVersion<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteVideo<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteWordCount<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteWorkExample<'a> {} +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum WebSiteWorkTranslation<'a> {} +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct WebSiteGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: WebSite<'a>, +} + +impl From> for WebSite<'_> { + fn from(output: WebSiteGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for WebSite<'_> { + const NSID: &'static str = "social.flockfeeds.lexical.type.WebSite"; + type Record = WebSiteRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct WebSiteRecord; +impl jacquard_common::xrpc::XrpcResp for WebSiteRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.WebSite"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = WebSiteGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for WebSiteRecord { + const NSID: &'static str = "social.flockfeeds.lexical.type.WebSite"; + type Record = WebSiteRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for WebSite<'a> { + fn nsid() -> &'static str { + "social.flockfeeds.lexical.type.WebSite" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_social_flockfeeds_lexical_type_WebSite() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/social_grain/favorite.rs b/crates/jacquard-api/src/social_grain/favorite.rs index fa3f393d..f24d933b 100644 --- a/crates/jacquard-api/src/social_grain/favorite.rs +++ b/crates/jacquard-api/src/social_grain/favorite.rs @@ -32,37 +32,37 @@ pub mod favorite_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Subject; type CreatedAt; + type Subject; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Subject = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type Subject = Set; - type CreatedAt = S::CreatedAt; + type Subject = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Subject = S::Subject; type CreatedAt = Set; + type Subject = S::Subject; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type CreatedAt = S::CreatedAt; + type Subject = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `subject` field + pub struct subject(()); } } @@ -135,8 +135,8 @@ where impl<'a, S> FavoriteBuilder<'a, S> where S: favorite_state::State, - S::Subject: favorite_state::IsSet, S::CreatedAt: favorite_state::IsSet, + S::Subject: favorite_state::IsSet, { /// Build the final struct pub fn build(self) -> Favorite<'a> { diff --git a/crates/jacquard-api/src/social_grain/gallery.rs b/crates/jacquard-api/src/social_grain/gallery.rs index f4297337..dd1fef89 100644 --- a/crates/jacquard-api/src/social_grain/gallery.rs +++ b/crates/jacquard-api/src/social_grain/gallery.rs @@ -459,85 +459,85 @@ pub mod gallery_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Uri; - type IndexedAt; - type Cid; - type Creator; type Record; + type Creator; + type Cid; + type IndexedAt; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Uri = Unset; - type IndexedAt = Unset; - type Cid = Unset; - type Creator = Unset; type Record = Unset; + type Creator = Unset; + type Cid = Unset; + type IndexedAt = Unset; + type Uri = Unset; } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Uri = Set; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; type Creator = S::Creator; - type Record = S::Record; - } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type Uri = S::Uri; - type IndexedAt = Set; type Cid = S::Cid; - type Creator = S::Creator; - type Record = S::Record; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Uri = S::Uri; type IndexedAt = S::IndexedAt; - type Cid = Set; - type Creator = S::Creator; - type Record = S::Record; + type Uri = S::Uri; } ///State transition - sets the `creator` field to Set pub struct SetCreator(PhantomData S>); impl sealed::Sealed for SetCreator {} impl State for SetCreator { - type Uri = S::Uri; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type Creator = Set; type Record = S::Record; - } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { + type Creator = Set; + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; type Uri = S::Uri; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Record = S::Record; + type Creator = S::Creator; + type Cid = Set; type IndexedAt = S::IndexedAt; + type Uri = S::Uri; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type Record = S::Record; + type Creator = S::Creator; type Cid = S::Cid; + type IndexedAt = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type Record = S::Record; type Creator = S::Creator; - type Record = Set; + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `creator` field - pub struct creator(()); ///Marker type for the `record` field pub struct record(()); + ///Marker type for the `creator` field + pub struct creator(()); + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -710,11 +710,11 @@ where impl<'a, S> GalleryViewBuilder<'a, S> where S: gallery_view_state::State, - S::Uri: gallery_view_state::IsSet, - S::IndexedAt: gallery_view_state::IsSet, - S::Cid: gallery_view_state::IsSet, - S::Creator: gallery_view_state::IsSet, S::Record: gallery_view_state::IsSet, + S::Creator: gallery_view_state::IsSet, + S::Cid: gallery_view_state::IsSet, + S::IndexedAt: gallery_view_state::IsSet, + S::Uri: gallery_view_state::IsSet, { /// Build the final struct pub fn build(self) -> GalleryView<'a> { diff --git a/crates/jacquard-api/src/social_grain/photo.rs b/crates/jacquard-api/src/social_grain/photo.rs index a325b0eb..40778cc0 100644 --- a/crates/jacquard-api/src/social_grain/photo.rs +++ b/crates/jacquard-api/src/social_grain/photo.rs @@ -447,37 +447,37 @@ pub mod exif_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Photo; type CreatedAt; + type Photo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Photo = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `photo` field to Set - pub struct SetPhoto(PhantomData S>); - impl sealed::Sealed for SetPhoto {} - impl State for SetPhoto { - type Photo = Set; - type CreatedAt = S::CreatedAt; + type Photo = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Photo = S::Photo; type CreatedAt = Set; + type Photo = S::Photo; + } + ///State transition - sets the `photo` field to Set + pub struct SetPhoto(PhantomData S>); + impl sealed::Sealed for SetPhoto {} + impl State for SetPhoto { + type CreatedAt = S::CreatedAt; + type Photo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `photo` field - pub struct photo(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `photo` field + pub struct photo(()); } } @@ -787,8 +787,8 @@ impl<'a, S: exif_view_state::State> ExifViewBuilder<'a, S> { impl<'a, S> ExifViewBuilder<'a, S> where S: exif_view_state::State, - S::Photo: exif_view_state::IsSet, S::CreatedAt: exif_view_state::IsSet, + S::Photo: exif_view_state::IsSet, { /// Build the final struct pub fn build(self) -> ExifView<'a> { @@ -1292,77 +1292,75 @@ pub mod photo_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Thumb; type Uri; type Alt; type Fullsize; type Cid; + type Thumb; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Thumb = Unset; type Uri = Unset; type Alt = Unset; type Fullsize = Unset; type Cid = Unset; - } - ///State transition - sets the `thumb` field to Set - pub struct SetThumb(PhantomData S>); - impl sealed::Sealed for SetThumb {} - impl State for SetThumb { - type Thumb = Set; - type Uri = S::Uri; - type Alt = S::Alt; - type Fullsize = S::Fullsize; - type Cid = S::Cid; + type Thumb = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Thumb = S::Thumb; type Uri = Set; type Alt = S::Alt; type Fullsize = S::Fullsize; type Cid = S::Cid; + type Thumb = S::Thumb; } ///State transition - sets the `alt` field to Set pub struct SetAlt(PhantomData S>); impl sealed::Sealed for SetAlt {} impl State for SetAlt { - type Thumb = S::Thumb; type Uri = S::Uri; type Alt = Set; type Fullsize = S::Fullsize; type Cid = S::Cid; + type Thumb = S::Thumb; } ///State transition - sets the `fullsize` field to Set pub struct SetFullsize(PhantomData S>); impl sealed::Sealed for SetFullsize {} impl State for SetFullsize { - type Thumb = S::Thumb; type Uri = S::Uri; type Alt = S::Alt; type Fullsize = Set; type Cid = S::Cid; + type Thumb = S::Thumb; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Thumb = S::Thumb; type Uri = S::Uri; type Alt = S::Alt; type Fullsize = S::Fullsize; type Cid = Set; + type Thumb = S::Thumb; + } + ///State transition - sets the `thumb` field to Set + pub struct SetThumb(PhantomData S>); + impl sealed::Sealed for SetThumb {} + impl State for SetThumb { + type Uri = S::Uri; + type Alt = S::Alt; + type Fullsize = S::Fullsize; + type Cid = S::Cid; + type Thumb = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `thumb` field - pub struct thumb(()); ///Marker type for the `uri` field pub struct uri(()); ///Marker type for the `alt` field @@ -1371,6 +1369,8 @@ pub mod photo_view_state { pub struct fullsize(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `thumb` field + pub struct thumb(()); } } @@ -1543,11 +1543,11 @@ where impl<'a, S> PhotoViewBuilder<'a, S> where S: photo_view_state::State, - S::Thumb: photo_view_state::IsSet, S::Uri: photo_view_state::IsSet, S::Alt: photo_view_state::IsSet, S::Fullsize: photo_view_state::IsSet, S::Cid: photo_view_state::IsSet, + S::Thumb: photo_view_state::IsSet, { /// Build the final struct pub fn build(self) -> PhotoView<'a> { diff --git a/crates/jacquard-api/src/social_grain/photo/exif.rs b/crates/jacquard-api/src/social_grain/photo/exif.rs index 13f98eba..89daa7b6 100644 --- a/crates/jacquard-api/src/social_grain/photo/exif.rs +++ b/crates/jacquard-api/src/social_grain/photo/exif.rs @@ -60,37 +60,37 @@ pub mod exif_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Photo; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Photo = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Photo = S::Photo; + type CreatedAt = Unset; } ///State transition - sets the `photo` field to Set pub struct SetPhoto(PhantomData S>); impl sealed::Sealed for SetPhoto {} impl State for SetPhoto { - type CreatedAt = S::CreatedAt; type Photo = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Photo = S::Photo; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `photo` field pub struct photo(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -343,8 +343,8 @@ where impl<'a, S> ExifBuilder<'a, S> where S: exif_state::State, - S::CreatedAt: exif_state::IsSet, S::Photo: exif_state::IsSet, + S::CreatedAt: exif_state::IsSet, { /// Build the final struct pub fn build(self) -> Exif<'a> { diff --git a/crates/jacquard-api/src/social_pmsky/proposal.rs b/crates/jacquard-api/src/social_pmsky/proposal.rs index d307f949..1da9092b 100644 --- a/crates/jacquard-api/src/social_pmsky/proposal.rs +++ b/crates/jacquard-api/src/social_pmsky/proposal.rs @@ -68,9 +68,9 @@ pub mod proposal_state { pub trait State: sealed::Sealed { type Typ; type Uri; - type Cts; - type Src; type Val; + type Src; + type Cts; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -78,9 +78,9 @@ pub mod proposal_state { impl State for Empty { type Typ = Unset; type Uri = Unset; - type Cts = Unset; - type Src = Unset; type Val = Unset; + type Src = Unset; + type Cts = Unset; } ///State transition - sets the `typ` field to Set pub struct SetTyp(PhantomData S>); @@ -88,9 +88,9 @@ pub mod proposal_state { impl State for SetTyp { type Typ = Set; type Uri = S::Uri; - type Cts = S::Cts; - type Src = S::Src; type Val = S::Val; + type Src = S::Src; + type Cts = S::Cts; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); @@ -98,19 +98,19 @@ pub mod proposal_state { impl State for SetUri { type Typ = S::Typ; type Uri = Set; - type Cts = S::Cts; - type Src = S::Src; type Val = S::Val; + type Src = S::Src; + type Cts = S::Cts; } - ///State transition - sets the `cts` field to Set - pub struct SetCts(PhantomData S>); - impl sealed::Sealed for SetCts {} - impl State for SetCts { + ///State transition - sets the `val` field to Set + pub struct SetVal(PhantomData S>); + impl sealed::Sealed for SetVal {} + impl State for SetVal { type Typ = S::Typ; type Uri = S::Uri; - type Cts = Set; + type Val = Set; type Src = S::Src; - type Val = S::Val; + type Cts = S::Cts; } ///State transition - sets the `src` field to Set pub struct SetSrc(PhantomData S>); @@ -118,19 +118,19 @@ pub mod proposal_state { impl State for SetSrc { type Typ = S::Typ; type Uri = S::Uri; - type Cts = S::Cts; - type Src = Set; type Val = S::Val; + type Src = Set; + type Cts = S::Cts; } - ///State transition - sets the `val` field to Set - pub struct SetVal(PhantomData S>); - impl sealed::Sealed for SetVal {} - impl State for SetVal { + ///State transition - sets the `cts` field to Set + pub struct SetCts(PhantomData S>); + impl sealed::Sealed for SetCts {} + impl State for SetCts { type Typ = S::Typ; type Uri = S::Uri; - type Cts = S::Cts; + type Val = S::Val; type Src = S::Src; - type Val = Set; + type Cts = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -139,12 +139,12 @@ pub mod proposal_state { pub struct typ(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `cts` field - pub struct cts(()); - ///Marker type for the `src` field - pub struct src(()); ///Marker type for the `val` field pub struct val(()); + ///Marker type for the `src` field + pub struct src(()); + ///Marker type for the `cts` field + pub struct cts(()); } } @@ -390,9 +390,9 @@ where S: proposal_state::State, S::Typ: proposal_state::IsSet, S::Uri: proposal_state::IsSet, - S::Cts: proposal_state::IsSet, - S::Src: proposal_state::IsSet, S::Val: proposal_state::IsSet, + S::Src: proposal_state::IsSet, + S::Cts: proposal_state::IsSet, { /// Build the final struct pub fn build(self) -> Proposal<'a> { diff --git a/crates/jacquard-api/src/social_pmsky/vote.rs b/crates/jacquard-api/src/social_pmsky/vote.rs index 25abb8dd..91cd3286 100644 --- a/crates/jacquard-api/src/social_pmsky/vote.rs +++ b/crates/jacquard-api/src/social_pmsky/vote.rs @@ -55,67 +55,67 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cts; - type Src; type Uri; + type Cts; type Val; + type Src; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cts = Unset; - type Src = Unset; type Uri = Unset; + type Cts = Unset; type Val = Unset; - } - ///State transition - sets the `cts` field to Set - pub struct SetCts(PhantomData S>); - impl sealed::Sealed for SetCts {} - impl State for SetCts { - type Cts = Set; - type Src = S::Src; - type Uri = S::Uri; - type Val = S::Val; - } - ///State transition - sets the `src` field to Set - pub struct SetSrc(PhantomData S>); - impl sealed::Sealed for SetSrc {} - impl State for SetSrc { - type Cts = S::Cts; - type Src = Set; - type Uri = S::Uri; - type Val = S::Val; + type Src = Unset; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Uri = Set; type Cts = S::Cts; + type Val = S::Val; type Src = S::Src; - type Uri = Set; + } + ///State transition - sets the `cts` field to Set + pub struct SetCts(PhantomData S>); + impl sealed::Sealed for SetCts {} + impl State for SetCts { + type Uri = S::Uri; + type Cts = Set; type Val = S::Val; + type Src = S::Src; } ///State transition - sets the `val` field to Set pub struct SetVal(PhantomData S>); impl sealed::Sealed for SetVal {} impl State for SetVal { + type Uri = S::Uri; type Cts = S::Cts; + type Val = Set; type Src = S::Src; + } + ///State transition - sets the `src` field to Set + pub struct SetSrc(PhantomData S>); + impl sealed::Sealed for SetSrc {} + impl State for SetSrc { type Uri = S::Uri; - type Val = Set; + type Cts = S::Cts; + type Val = S::Val; + type Src = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cts` field - pub struct cts(()); - ///Marker type for the `src` field - pub struct src(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `cts` field + pub struct cts(()); ///Marker type for the `val` field pub struct val(()); + ///Marker type for the `src` field + pub struct src(()); } } @@ -296,10 +296,10 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, - S::Cts: vote_state::IsSet, - S::Src: vote_state::IsSet, S::Uri: vote_state::IsSet, + S::Cts: vote_state::IsSet, S::Val: vote_state::IsSet, + S::Src: vote_state::IsSet, { /// Build the final struct pub fn build(self) -> Vote<'a> { diff --git a/crates/jacquard-api/src/social_psky/chat/message.rs b/crates/jacquard-api/src/social_psky/chat/message.rs index d6e4158a..0c046d3b 100644 --- a/crates/jacquard-api/src/social_psky/chat/message.rs +++ b/crates/jacquard-api/src/social_psky/chat/message.rs @@ -42,37 +42,37 @@ pub mod message_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Content; type Room; + type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Content = Unset; type Room = Unset; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { - type Content = Set; - type Room = S::Room; + type Content = Unset; } ///State transition - sets the `room` field to Set pub struct SetRoom(PhantomData S>); impl sealed::Sealed for SetRoom {} impl State for SetRoom { - type Content = S::Content; type Room = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Room = S::Room; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `content` field - pub struct content(()); ///Marker type for the `room` field pub struct room(()); + ///Marker type for the `content` field + pub struct content(()); } } @@ -185,8 +185,8 @@ where impl<'a, S> MessageBuilder<'a, S> where S: message_state::State, - S::Content: message_state::IsSet, S::Room: message_state::IsSet, + S::Content: message_state::IsSet, { /// Build the final struct pub fn build(self) -> Message<'a> { diff --git a/crates/jacquard-api/src/social_psky/chat/room.rs b/crates/jacquard-api/src/social_psky/chat/room.rs index 1e11ac53..9ee56f86 100644 --- a/crates/jacquard-api/src/social_psky/chat/room.rs +++ b/crates/jacquard-api/src/social_psky/chat/room.rs @@ -626,37 +626,37 @@ pub mod modlist_ref_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Users; type Active; + type Users; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Users = Unset; type Active = Unset; - } - ///State transition - sets the `users` field to Set - pub struct SetUsers(PhantomData S>); - impl sealed::Sealed for SetUsers {} - impl State for SetUsers { - type Users = Set; - type Active = S::Active; + type Users = Unset; } ///State transition - sets the `active` field to Set pub struct SetActive(PhantomData S>); impl sealed::Sealed for SetActive {} impl State for SetActive { - type Users = S::Users; type Active = Set; + type Users = S::Users; + } + ///State transition - sets the `users` field to Set + pub struct SetUsers(PhantomData S>); + impl sealed::Sealed for SetUsers {} + impl State for SetUsers { + type Active = S::Active; + type Users = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `users` field - pub struct users(()); ///Marker type for the `active` field pub struct active(()); + ///Marker type for the `users` field + pub struct users(()); } } @@ -729,8 +729,8 @@ where impl<'a, S> ModlistRefBuilder<'a, S> where S: modlist_ref_state::State, - S::Users: modlist_ref_state::IsSet, S::Active: modlist_ref_state::IsSet, + S::Users: modlist_ref_state::IsSet, { /// Build the final struct pub fn build(self) -> ModlistRef<'a> { diff --git a/crates/jacquard-api/src/tech_manos/twmirror/post.rs b/crates/jacquard-api/src/tech_manos/twmirror/post.rs index 67f403f8..6ae72aee 100644 --- a/crates/jacquard-api/src/tech_manos/twmirror/post.rs +++ b/crates/jacquard-api/src/tech_manos/twmirror/post.rs @@ -42,67 +42,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type TweetId; type TwUserId; - type BskyPost; + type TweetId; type CreatedAt; + type BskyPost; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type TweetId = Unset; type TwUserId = Unset; - type BskyPost = Unset; + type TweetId = Unset; type CreatedAt = Unset; - } - ///State transition - sets the `tweet_id` field to Set - pub struct SetTweetId(PhantomData S>); - impl sealed::Sealed for SetTweetId {} - impl State for SetTweetId { - type TweetId = Set; - type TwUserId = S::TwUserId; - type BskyPost = S::BskyPost; - type CreatedAt = S::CreatedAt; + type BskyPost = Unset; } ///State transition - sets the `tw_user_id` field to Set pub struct SetTwUserId(PhantomData S>); impl sealed::Sealed for SetTwUserId {} impl State for SetTwUserId { - type TweetId = S::TweetId; type TwUserId = Set; - type BskyPost = S::BskyPost; + type TweetId = S::TweetId; type CreatedAt = S::CreatedAt; + type BskyPost = S::BskyPost; } - ///State transition - sets the `bsky_post` field to Set - pub struct SetBskyPost(PhantomData S>); - impl sealed::Sealed for SetBskyPost {} - impl State for SetBskyPost { - type TweetId = S::TweetId; + ///State transition - sets the `tweet_id` field to Set + pub struct SetTweetId(PhantomData S>); + impl sealed::Sealed for SetTweetId {} + impl State for SetTweetId { type TwUserId = S::TwUserId; - type BskyPost = Set; + type TweetId = Set; type CreatedAt = S::CreatedAt; + type BskyPost = S::BskyPost; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type TweetId = S::TweetId; type TwUserId = S::TwUserId; - type BskyPost = S::BskyPost; + type TweetId = S::TweetId; type CreatedAt = Set; + type BskyPost = S::BskyPost; + } + ///State transition - sets the `bsky_post` field to Set + pub struct SetBskyPost(PhantomData S>); + impl sealed::Sealed for SetBskyPost {} + impl State for SetBskyPost { + type TwUserId = S::TwUserId; + type TweetId = S::TweetId; + type CreatedAt = S::CreatedAt; + type BskyPost = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `tweet_id` field - pub struct tweet_id(()); ///Marker type for the `tw_user_id` field pub struct tw_user_id(()); - ///Marker type for the `bsky_post` field - pub struct bsky_post(()); + ///Marker type for the `tweet_id` field + pub struct tweet_id(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `bsky_post` field + pub struct bsky_post(()); } } @@ -215,10 +215,10 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::TweetId: post_state::IsSet, S::TwUserId: post_state::IsSet, - S::BskyPost: post_state::IsSet, + S::TweetId: post_state::IsSet, S::CreatedAt: post_state::IsSet, + S::BskyPost: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs b/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs index 6688dc02..bf6958cb 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs @@ -42,51 +42,51 @@ pub mod poll_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type EndsAt; type Options; type CreatedAt; - type EndsAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type EndsAt = Unset; type Options = Unset; type CreatedAt = Unset; - type EndsAt = Unset; + } + ///State transition - sets the `ends_at` field to Set + pub struct SetEndsAt(PhantomData S>); + impl sealed::Sealed for SetEndsAt {} + impl State for SetEndsAt { + type EndsAt = Set; + type Options = S::Options; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `options` field to Set pub struct SetOptions(PhantomData S>); impl sealed::Sealed for SetOptions {} impl State for SetOptions { + type EndsAt = S::EndsAt; type Options = Set; type CreatedAt = S::CreatedAt; - type EndsAt = S::EndsAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Options = S::Options; - type CreatedAt = Set; type EndsAt = S::EndsAt; - } - ///State transition - sets the `ends_at` field to Set - pub struct SetEndsAt(PhantomData S>); - impl sealed::Sealed for SetEndsAt {} - impl State for SetEndsAt { type Options = S::Options; - type CreatedAt = S::CreatedAt; - type EndsAt = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `ends_at` field + pub struct ends_at(()); ///Marker type for the `options` field pub struct options(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `ends_at` field - pub struct ends_at(()); } } @@ -199,9 +199,9 @@ impl<'a, S: poll_state::State> PollBuilder<'a, S> { impl<'a, S> PollBuilder<'a, S> where S: poll_state::State, + S::EndsAt: poll_state::IsSet, S::Options: poll_state::IsSet, S::CreatedAt: poll_state::IsSet, - S::EndsAt: poll_state::IsSet, { /// Build the final struct pub fn build(self) -> Poll<'a> { diff --git a/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs b/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs index caf824d5..4e200d28 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs @@ -36,51 +36,51 @@ pub mod vote_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Poll; type OptionIndex; - type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Poll = Unset; type OptionIndex = Unset; - type CreatedAt = Unset; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Poll = S::Poll; + type OptionIndex = S::OptionIndex; } ///State transition - sets the `poll` field to Set pub struct SetPoll(PhantomData S>); impl sealed::Sealed for SetPoll {} impl State for SetPoll { + type CreatedAt = S::CreatedAt; type Poll = Set; type OptionIndex = S::OptionIndex; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `option_index` field to Set pub struct SetOptionIndex(PhantomData S>); impl sealed::Sealed for SetOptionIndex {} impl State for SetOptionIndex { - type Poll = S::Poll; - type OptionIndex = Set; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Poll = S::Poll; - type OptionIndex = S::OptionIndex; - type CreatedAt = Set; + type OptionIndex = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `poll` field pub struct poll(()); ///Marker type for the `option_index` field pub struct option_index(()); - ///Marker type for the `created_at` field - pub struct created_at(()); } } @@ -173,9 +173,9 @@ where impl<'a, S> VoteBuilder<'a, S> where S: vote_state::State, + S::CreatedAt: vote_state::IsSet, S::Poll: vote_state::IsSet, S::OptionIndex: vote_state::IsSet, - S::CreatedAt: vote_state::IsSet, { /// Build the final struct pub fn build(self) -> Vote<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/communication.rs b/crates/jacquard-api/src/tools_ozone/communication.rs index 0c7674a8..36f7c1d5 100644 --- a/crates/jacquard-api/src/tools_ozone/communication.rs +++ b/crates/jacquard-api/src/tools_ozone/communication.rs @@ -56,126 +56,126 @@ pub mod template_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type LastUpdatedBy; - type Disabled; + type CreatedAt; type ContentMarkdown; + type UpdatedAt; type Name; + type Disabled; type Id; - type CreatedAt; - type UpdatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type LastUpdatedBy = Unset; - type Disabled = Unset; + type CreatedAt = Unset; type ContentMarkdown = Unset; + type UpdatedAt = Unset; type Name = Unset; + type Disabled = Unset; type Id = Unset; - type CreatedAt = Unset; - type UpdatedAt = Unset; } ///State transition - sets the `last_updated_by` field to Set pub struct SetLastUpdatedBy(PhantomData S>); impl sealed::Sealed for SetLastUpdatedBy {} impl State for SetLastUpdatedBy { type LastUpdatedBy = Set; - type Disabled = S::Disabled; + type CreatedAt = S::CreatedAt; type ContentMarkdown = S::ContentMarkdown; + type UpdatedAt = S::UpdatedAt; type Name = S::Name; + type Disabled = S::Disabled; type Id = S::Id; - type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; } - ///State transition - sets the `disabled` field to Set - pub struct SetDisabled(PhantomData S>); - impl sealed::Sealed for SetDisabled {} - impl State for SetDisabled { + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type LastUpdatedBy = S::LastUpdatedBy; - type Disabled = Set; + type CreatedAt = Set; type ContentMarkdown = S::ContentMarkdown; + type UpdatedAt = S::UpdatedAt; type Name = S::Name; + type Disabled = S::Disabled; type Id = S::Id; - type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; } ///State transition - sets the `content_markdown` field to Set pub struct SetContentMarkdown(PhantomData S>); impl sealed::Sealed for SetContentMarkdown {} impl State for SetContentMarkdown { type LastUpdatedBy = S::LastUpdatedBy; - type Disabled = S::Disabled; + type CreatedAt = S::CreatedAt; type ContentMarkdown = Set; + type UpdatedAt = S::UpdatedAt; type Name = S::Name; + type Disabled = S::Disabled; type Id = S::Id; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type LastUpdatedBy = S::LastUpdatedBy; type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; + type ContentMarkdown = S::ContentMarkdown; + type UpdatedAt = Set; + type Name = S::Name; + type Disabled = S::Disabled; + type Id = S::Id; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { type LastUpdatedBy = S::LastUpdatedBy; - type Disabled = S::Disabled; + type CreatedAt = S::CreatedAt; type ContentMarkdown = S::ContentMarkdown; + type UpdatedAt = S::UpdatedAt; type Name = Set; + type Disabled = S::Disabled; type Id = S::Id; + } + ///State transition - sets the `disabled` field to Set + pub struct SetDisabled(PhantomData S>); + impl sealed::Sealed for SetDisabled {} + impl State for SetDisabled { + type LastUpdatedBy = S::LastUpdatedBy; type CreatedAt = S::CreatedAt; + type ContentMarkdown = S::ContentMarkdown; type UpdatedAt = S::UpdatedAt; + type Name = S::Name; + type Disabled = Set; + type Id = S::Id; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { type LastUpdatedBy = S::LastUpdatedBy; - type Disabled = S::Disabled; - type ContentMarkdown = S::ContentMarkdown; - type Name = S::Name; - type Id = Set; type CreatedAt = S::CreatedAt; - type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type LastUpdatedBy = S::LastUpdatedBy; - type Disabled = S::Disabled; type ContentMarkdown = S::ContentMarkdown; - type Name = S::Name; - type Id = S::Id; - type CreatedAt = Set; type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type LastUpdatedBy = S::LastUpdatedBy; - type Disabled = S::Disabled; - type ContentMarkdown = S::ContentMarkdown; type Name = S::Name; - type Id = S::Id; - type CreatedAt = S::CreatedAt; - type UpdatedAt = Set; + type Disabled = S::Disabled; + type Id = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `last_updated_by` field pub struct last_updated_by(()); - ///Marker type for the `disabled` field - pub struct disabled(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `content_markdown` field pub struct content_markdown(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); ///Marker type for the `name` field pub struct name(()); + ///Marker type for the `disabled` field + pub struct disabled(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `created_at` field - pub struct created_at(()); - ///Marker type for the `updated_at` field - pub struct updated_at(()); } } @@ -396,12 +396,12 @@ impl<'a, S> TemplateViewBuilder<'a, S> where S: template_view_state::State, S::LastUpdatedBy: template_view_state::IsSet, - S::Disabled: template_view_state::IsSet, + S::CreatedAt: template_view_state::IsSet, S::ContentMarkdown: template_view_state::IsSet, + S::UpdatedAt: template_view_state::IsSet, S::Name: template_view_state::IsSet, + S::Disabled: template_view_state::IsSet, S::Id: template_view_state::IsSet, - S::CreatedAt: template_view_state::IsSet, - S::UpdatedAt: template_view_state::IsSet, { /// Build the final struct pub fn build(self) -> TemplateView<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/communication/create_template.rs b/crates/jacquard-api/src/tools_ozone/communication/create_template.rs index 854aede7..fefca2b6 100644 --- a/crates/jacquard-api/src/tools_ozone/communication/create_template.rs +++ b/crates/jacquard-api/src/tools_ozone/communication/create_template.rs @@ -72,8 +72,8 @@ pub enum CreateTemplateError<'a> { DuplicateTemplateName(std::option::Option>), } -impl std::fmt::Display for CreateTemplateError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for CreateTemplateError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::DuplicateTemplateName(msg) => { write!(f, "DuplicateTemplateName")?; diff --git a/crates/jacquard-api/src/tools_ozone/communication/update_template.rs b/crates/jacquard-api/src/tools_ozone/communication/update_template.rs index ba353ae3..c802471c 100644 --- a/crates/jacquard-api/src/tools_ozone/communication/update_template.rs +++ b/crates/jacquard-api/src/tools_ozone/communication/update_template.rs @@ -80,8 +80,8 @@ pub enum UpdateTemplateError<'a> { DuplicateTemplateName(std::option::Option>), } -impl std::fmt::Display for UpdateTemplateError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for UpdateTemplateError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::DuplicateTemplateName(msg) => { write!(f, "DuplicateTemplateName")?; diff --git a/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs b/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs index 00382fe5..0ea33ef0 100644 --- a/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs +++ b/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs @@ -462,51 +462,51 @@ pub mod event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Details; type CreatedBy; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Details = Unset; type CreatedBy = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Details = S::Details; - type CreatedBy = S::CreatedBy; + type CreatedAt = Unset; } ///State transition - sets the `details` field to Set pub struct SetDetails(PhantomData S>); impl sealed::Sealed for SetDetails {} impl State for SetDetails { - type CreatedAt = S::CreatedAt; type Details = Set; type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type CreatedAt = S::CreatedAt; type Details = S::Details; type CreatedBy = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Details = S::Details; + type CreatedBy = S::CreatedBy; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `details` field pub struct details(()); ///Marker type for the `created_by` field pub struct created_by(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -599,9 +599,9 @@ where impl<'a, S> EventBuilder<'a, S> where S: event_state::State, - S::CreatedAt: event_state::IsSet, S::Details: event_state::IsSet, S::CreatedBy: event_state::IsSet, + S::CreatedAt: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/moderation.rs b/crates/jacquard-api/src/tools_ozone/moderation.rs index 05fdc432..a3f40e3b 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation.rs @@ -41,7 +41,7 @@ pub struct AccountEvent<'a> { pub comment: std::option::Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub status: std::option::Option>, + pub status: std::option::Option>, pub timestamp: jacquard_common::types::string::Datetime, } @@ -95,7 +95,7 @@ pub struct AccountEventBuilder<'a, S: account_event_state::State> { __unsafe_private_named: ( ::core::option::Option, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -156,15 +156,12 @@ impl<'a, S: account_event_state::State> AccountEventBuilder<'a, S> { impl<'a, S: account_event_state::State> AccountEventBuilder<'a, S> { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status(mut self, value: Option>) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self.__unsafe_private_named.2 = value; self } @@ -223,6 +220,114 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AccountEventStatus<'a> { + Unknown, + Deactivated, + Deleted, + Takendown, + Suspended, + Tombstoned, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AccountEventStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Unknown => "unknown", + Self::Deactivated => "deactivated", + Self::Deleted => "deleted", + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Tombstoned => "tombstoned", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AccountEventStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "unknown" => Self::Unknown, + "deactivated" => Self::Deactivated, + "deleted" => Self::Deleted, + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "tombstoned" => Self::Tombstoned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AccountEventStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "unknown" => Self::Unknown, + "deactivated" => Self::Deactivated, + "deleted" => Self::Deleted, + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "tombstoned" => Self::Tombstoned, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AccountEventStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AccountEventStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AccountEventStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AccountEventStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AccountEventStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AccountEventStatus<'_> { + type Output = AccountEventStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AccountEventStatus::Unknown => AccountEventStatus::Unknown, + AccountEventStatus::Deactivated => AccountEventStatus::Deactivated, + AccountEventStatus::Deleted => AccountEventStatus::Deleted, + AccountEventStatus::Takendown => AccountEventStatus::Takendown, + AccountEventStatus::Suspended => AccountEventStatus::Suspended, + AccountEventStatus::Tombstoned => AccountEventStatus::Tombstoned, + AccountEventStatus::Other(v) => AccountEventStatus::Other(v.into_static()), + } + } +} + fn lexicon_doc_tools_ozone_moderation_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { @@ -4922,11 +5027,116 @@ pub struct AccountHosting<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] pub reactivated_at: std::option::Option, #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: AccountHostingStatus<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub updated_at: std::option::Option, } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AccountHostingStatus<'a> { + Takendown, + Suspended, + Deleted, + Deactivated, + Unknown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AccountHostingStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takendown => "takendown", + Self::Suspended => "suspended", + Self::Deleted => "deleted", + Self::Deactivated => "deactivated", + Self::Unknown => "unknown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AccountHostingStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AccountHostingStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takendown" => Self::Takendown, + "suspended" => Self::Suspended, + "deleted" => Self::Deleted, + "deactivated" => Self::Deactivated, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AccountHostingStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AccountHostingStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AccountHostingStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AccountHostingStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AccountHostingStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AccountHostingStatus<'_> { + type Output = AccountHostingStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AccountHostingStatus::Takendown => AccountHostingStatus::Takendown, + AccountHostingStatus::Suspended => AccountHostingStatus::Suspended, + AccountHostingStatus::Deleted => AccountHostingStatus::Deleted, + AccountHostingStatus::Deactivated => AccountHostingStatus::Deactivated, + AccountHostingStatus::Unknown => AccountHostingStatus::Unknown, + AccountHostingStatus::Other(v) => { + AccountHostingStatus::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AccountHosting<'a> { fn nsid() -> &'static str { "tools.ozone.moderation.defs" @@ -5084,7 +5294,7 @@ pub struct AgeAssuranceEvent<'a> { pub region_code: std::option::Option>, /// The status of the Age Assurance process. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: AgeAssuranceEventStatus<'a>, } pub mod age_assurance_event_state { @@ -5097,49 +5307,49 @@ pub mod age_assurance_event_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AttemptId; type Status; + type AttemptId; type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AttemptId = Unset; type Status = Unset; + type AttemptId = Unset; type CreatedAt = Unset; } - ///State transition - sets the `attempt_id` field to Set - pub struct SetAttemptId(PhantomData S>); - impl sealed::Sealed for SetAttemptId {} - impl State for SetAttemptId { - type AttemptId = Set; - type Status = S::Status; - type CreatedAt = S::CreatedAt; - } ///State transition - sets the `status` field to Set pub struct SetStatus(PhantomData S>); impl sealed::Sealed for SetStatus {} impl State for SetStatus { - type AttemptId = S::AttemptId; type Status = Set; + type AttemptId = S::AttemptId; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `attempt_id` field to Set + pub struct SetAttemptId(PhantomData S>); + impl sealed::Sealed for SetAttemptId {} + impl State for SetAttemptId { + type Status = S::Status; + type AttemptId = Set; type CreatedAt = S::CreatedAt; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type AttemptId = S::AttemptId; type Status = S::Status; + type AttemptId = S::AttemptId; type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `attempt_id` field - pub struct attempt_id(()); ///Marker type for the `status` field pub struct status(()); + ///Marker type for the `attempt_id` field + pub struct attempt_id(()); ///Marker type for the `created_at` field pub struct created_at(()); } @@ -5158,7 +5368,7 @@ pub struct AgeAssuranceEventBuilder<'a, S: age_assurance_event_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -5365,7 +5575,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> AgeAssuranceEventBuilder<'a, age_assurance_event_state::SetStatus> { self.__unsafe_private_named.9 = ::core::option::Option::Some(value.into()); AgeAssuranceEventBuilder { @@ -5379,8 +5589,8 @@ where impl<'a, S> AgeAssuranceEventBuilder<'a, S> where S: age_assurance_event_state::State, - S::AttemptId: age_assurance_event_state::IsSet, S::Status: age_assurance_event_state::IsSet, + S::AttemptId: age_assurance_event_state::IsSet, S::CreatedAt: age_assurance_event_state::IsSet, { /// Build the final struct @@ -5423,6 +5633,102 @@ where } } +/// The status of the Age Assurance process. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AgeAssuranceEventStatus<'a> { + Unknown, + Pending, + Assured, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AgeAssuranceEventStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Unknown => "unknown", + Self::Pending => "pending", + Self::Assured => "assured", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AgeAssuranceEventStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AgeAssuranceEventStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "unknown" => Self::Unknown, + "pending" => Self::Pending, + "assured" => Self::Assured, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AgeAssuranceEventStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AgeAssuranceEventStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AgeAssuranceEventStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AgeAssuranceEventStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AgeAssuranceEventStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AgeAssuranceEventStatus<'_> { + type Output = AgeAssuranceEventStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AgeAssuranceEventStatus::Unknown => AgeAssuranceEventStatus::Unknown, + AgeAssuranceEventStatus::Pending => AgeAssuranceEventStatus::Pending, + AgeAssuranceEventStatus::Assured => AgeAssuranceEventStatus::Assured, + AgeAssuranceEventStatus::Other(v) => { + AgeAssuranceEventStatus::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AgeAssuranceEvent<'a> { fn nsid() -> &'static str { "tools.ozone.moderation.defs" @@ -5462,23 +5768,125 @@ pub struct AgeAssuranceOverrideEvent<'a> { pub comment: jacquard_common::CowStr<'a>, /// The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state. #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: AgeAssuranceOverrideEventStatus<'a>, } -impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AgeAssuranceOverrideEvent<'a> { - fn nsid() -> &'static str { - "tools.ozone.moderation.defs" +/// The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AgeAssuranceOverrideEventStatus<'a> { + Assured, + Reset, + Blocked, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AgeAssuranceOverrideEventStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Assured => "assured", + Self::Reset => "reset", + Self::Blocked => "blocked", + Self::Other(s) => s.as_ref(), + } } - fn def_name() -> &'static str { - "ageAssuranceOverrideEvent" +} + +impl<'a> From<&'a str> for AgeAssuranceOverrideEventStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "assured" => Self::Assured, + "reset" => Self::Reset, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } } - fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { - lexicon_doc_tools_ozone_moderation_defs() +} + +impl<'a> From for AgeAssuranceOverrideEventStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "assured" => Self::Assured, + "reset" => Self::Reset, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } } - fn validate( - &self, - ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { - { +} + +impl<'a> core::fmt::Display for AgeAssuranceOverrideEventStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AgeAssuranceOverrideEventStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AgeAssuranceOverrideEventStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AgeAssuranceOverrideEventStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AgeAssuranceOverrideEventStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AgeAssuranceOverrideEventStatus<'_> { + type Output = AgeAssuranceOverrideEventStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + AgeAssuranceOverrideEventStatus::Assured => { + AgeAssuranceOverrideEventStatus::Assured + } + AgeAssuranceOverrideEventStatus::Reset => { + AgeAssuranceOverrideEventStatus::Reset + } + AgeAssuranceOverrideEventStatus::Blocked => { + AgeAssuranceOverrideEventStatus::Blocked + } + AgeAssuranceOverrideEventStatus::Other(v) => { + AgeAssuranceOverrideEventStatus::Other(v.into_static()) + } + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AgeAssuranceOverrideEvent<'a> { + fn nsid() -> &'static str { + "tools.ozone.moderation.defs" + } + fn def_name() -> &'static str { + "ageAssuranceOverrideEvent" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_tools_ozone_moderation_defs() + } + fn validate( + &self, + ) -> ::core::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { let value = &self.comment; #[allow(unused_comparisons)] if ::len(value.as_ref()) < 1usize { @@ -5531,67 +5939,67 @@ pub mod blob_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Size; type Cid; - type CreatedAt; + type Size; type MimeType; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Size = Unset; type Cid = Unset; - type CreatedAt = Unset; + type Size = Unset; type MimeType = Unset; - } - ///State transition - sets the `size` field to Set - pub struct SetSize(PhantomData S>); - impl sealed::Sealed for SetSize {} - impl State for SetSize { - type Size = Set; - type Cid = S::Cid; - type CreatedAt = S::CreatedAt; - type MimeType = S::MimeType; + type CreatedAt = Unset; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { - type Size = S::Size; type Cid = Set; - type CreatedAt = S::CreatedAt; + type Size = S::Size; type MimeType = S::MimeType; + type CreatedAt = S::CreatedAt; } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Size = S::Size; + ///State transition - sets the `size` field to Set + pub struct SetSize(PhantomData S>); + impl sealed::Sealed for SetSize {} + impl State for SetSize { type Cid = S::Cid; - type CreatedAt = Set; + type Size = Set; type MimeType = S::MimeType; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `mime_type` field to Set pub struct SetMimeType(PhantomData S>); impl sealed::Sealed for SetMimeType {} impl State for SetMimeType { - type Size = S::Size; type Cid = S::Cid; - type CreatedAt = S::CreatedAt; + type Size = S::Size; type MimeType = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Cid = S::Cid; + type Size = S::Size; + type MimeType = S::MimeType; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `size` field - pub struct size(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `created_at` field - pub struct created_at(()); + ///Marker type for the `size` field + pub struct size(()); ///Marker type for the `mime_type` field pub struct mime_type(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -5738,10 +6146,10 @@ where impl<'a, S> BlobViewBuilder<'a, S> where S: blob_view_state::State, - S::Size: blob_view_state::IsSet, S::Cid: blob_view_state::IsSet, - S::CreatedAt: blob_view_state::IsSet, + S::Size: blob_view_state::IsSet, S::MimeType: blob_view_state::IsSet, + S::CreatedAt: blob_view_state::IsSet, { /// Build the final struct pub fn build(self) -> BlobView<'a> { @@ -7738,10 +8146,10 @@ pub mod mod_event_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedBy; + type CreatedAt; + type Event; type Subject; type Id; - type Event; - type CreatedAt; type SubjectBlobCids; } /// Empty state - all required fields are unset @@ -7749,10 +8157,10 @@ pub mod mod_event_view_state { impl sealed::Sealed for Empty {} impl State for Empty { type CreatedBy = Unset; + type CreatedAt = Unset; + type Event = Unset; type Subject = Unset; type Id = Unset; - type Event = Unset; - type CreatedAt = Unset; type SubjectBlobCids = Unset; } ///State transition - sets the `created_by` field to Set @@ -7760,10 +8168,32 @@ pub mod mod_event_view_state { impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { type CreatedBy = Set; + type CreatedAt = S::CreatedAt; + type Event = S::Event; type Subject = S::Subject; type Id = S::Id; + type SubjectBlobCids = S::SubjectBlobCids; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedBy = S::CreatedBy; + type CreatedAt = Set; type Event = S::Event; + type Subject = S::Subject; + type Id = S::Id; + type SubjectBlobCids = S::SubjectBlobCids; + } + ///State transition - sets the `event` field to Set + pub struct SetEvent(PhantomData S>); + impl sealed::Sealed for SetEvent {} + impl State for SetEvent { + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; + type Event = Set; + type Subject = S::Subject; + type Id = S::Id; type SubjectBlobCids = S::SubjectBlobCids; } ///State transition - sets the `subject` field to Set @@ -7771,10 +8201,10 @@ pub mod mod_event_view_state { impl sealed::Sealed for SetSubject {} impl State for SetSubject { type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; + type Event = S::Event; type Subject = Set; type Id = S::Id; - type Event = S::Event; - type CreatedAt = S::CreatedAt; type SubjectBlobCids = S::SubjectBlobCids; } ///State transition - sets the `id` field to Set @@ -7782,32 +8212,10 @@ pub mod mod_event_view_state { impl sealed::Sealed for SetId {} impl State for SetId { type CreatedBy = S::CreatedBy; - type Subject = S::Subject; - type Id = Set; - type Event = S::Event; - type CreatedAt = S::CreatedAt; - type SubjectBlobCids = S::SubjectBlobCids; - } - ///State transition - sets the `event` field to Set - pub struct SetEvent(PhantomData S>); - impl sealed::Sealed for SetEvent {} - impl State for SetEvent { - type CreatedBy = S::CreatedBy; - type Subject = S::Subject; - type Id = S::Id; - type Event = Set; type CreatedAt = S::CreatedAt; - type SubjectBlobCids = S::SubjectBlobCids; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedBy = S::CreatedBy; - type Subject = S::Subject; - type Id = S::Id; type Event = S::Event; - type CreatedAt = Set; + type Subject = S::Subject; + type Id = Set; type SubjectBlobCids = S::SubjectBlobCids; } ///State transition - sets the `subject_blob_cids` field to Set @@ -7815,10 +8223,10 @@ pub mod mod_event_view_state { impl sealed::Sealed for SetSubjectBlobCids {} impl State for SetSubjectBlobCids { type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; + type Event = S::Event; type Subject = S::Subject; type Id = S::Id; - type Event = S::Event; - type CreatedAt = S::CreatedAt; type SubjectBlobCids = Set; } /// Marker types for field names @@ -7826,14 +8234,14 @@ pub mod mod_event_view_state { pub mod members { ///Marker type for the `created_by` field pub struct created_by(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `event` field + pub struct event(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `event` field - pub struct event(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject_blob_cids` field pub struct subject_blob_cids(()); } @@ -8059,10 +8467,10 @@ impl<'a, S> ModEventViewBuilder<'a, S> where S: mod_event_view_state::State, S::CreatedBy: mod_event_view_state::IsSet, + S::CreatedAt: mod_event_view_state::IsSet, + S::Event: mod_event_view_state::IsSet, S::Subject: mod_event_view_state::IsSet, S::Id: mod_event_view_state::IsSet, - S::Event: mod_event_view_state::IsSet, - S::CreatedAt: mod_event_view_state::IsSet, S::SubjectBlobCids: mod_event_view_state::IsSet, { /// Build the final struct @@ -8257,103 +8665,103 @@ pub mod mod_event_view_detail_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Id; - type Event; - type Subject; type SubjectBlobs; type CreatedAt; + type Event; + type Id; + type Subject; type CreatedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Id = Unset; - type Event = Unset; - type Subject = Unset; type SubjectBlobs = Unset; type CreatedAt = Unset; + type Event = Unset; + type Id = Unset; + type Subject = Unset; type CreatedBy = Unset; } - ///State transition - sets the `id` field to Set - pub struct SetId(PhantomData S>); - impl sealed::Sealed for SetId {} - impl State for SetId { - type Id = Set; + ///State transition - sets the `subject_blobs` field to Set + pub struct SetSubjectBlobs(PhantomData S>); + impl sealed::Sealed for SetSubjectBlobs {} + impl State for SetSubjectBlobs { + type SubjectBlobs = Set; + type CreatedAt = S::CreatedAt; type Event = S::Event; + type Id = S::Id; type Subject = S::Subject; + type CreatedBy = S::CreatedBy; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type SubjectBlobs = S::SubjectBlobs; - type CreatedAt = S::CreatedAt; + type CreatedAt = Set; + type Event = S::Event; + type Id = S::Id; + type Subject = S::Subject; type CreatedBy = S::CreatedBy; } ///State transition - sets the `event` field to Set pub struct SetEvent(PhantomData S>); impl sealed::Sealed for SetEvent {} impl State for SetEvent { - type Id = S::Id; + type SubjectBlobs = S::SubjectBlobs; + type CreatedAt = S::CreatedAt; type Event = Set; + type Id = S::Id; type Subject = S::Subject; + type CreatedBy = S::CreatedBy; + } + ///State transition - sets the `id` field to Set + pub struct SetId(PhantomData S>); + impl sealed::Sealed for SetId {} + impl State for SetId { type SubjectBlobs = S::SubjectBlobs; type CreatedAt = S::CreatedAt; + type Event = S::Event; + type Id = Set; + type Subject = S::Subject; type CreatedBy = S::CreatedBy; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Id = S::Id; - type Event = S::Event; - type Subject = Set; type SubjectBlobs = S::SubjectBlobs; type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `subject_blobs` field to Set - pub struct SetSubjectBlobs(PhantomData S>); - impl sealed::Sealed for SetSubjectBlobs {} - impl State for SetSubjectBlobs { - type Id = S::Id; type Event = S::Event; - type Subject = S::Subject; - type SubjectBlobs = Set; - type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type Id = S::Id; - type Event = S::Event; - type Subject = S::Subject; - type SubjectBlobs = S::SubjectBlobs; - type CreatedAt = Set; + type Id = S::Id; + type Subject = Set; type CreatedBy = S::CreatedBy; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type Id = S::Id; - type Event = S::Event; - type Subject = S::Subject; type SubjectBlobs = S::SubjectBlobs; type CreatedAt = S::CreatedAt; + type Event = S::Event; + type Id = S::Id; + type Subject = S::Subject; type CreatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `id` field - pub struct id(()); - ///Marker type for the `event` field - pub struct event(()); - ///Marker type for the `subject` field - pub struct subject(()); ///Marker type for the `subject_blobs` field pub struct subject_blobs(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `event` field + pub struct event(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `subject` field + pub struct subject(()); ///Marker type for the `created_by` field pub struct created_by(()); } @@ -8528,11 +8936,11 @@ where impl<'a, S> ModEventViewDetailBuilder<'a, S> where S: mod_event_view_detail_state::State, - S::Id: mod_event_view_detail_state::IsSet, - S::Event: mod_event_view_detail_state::IsSet, - S::Subject: mod_event_view_detail_state::IsSet, S::SubjectBlobs: mod_event_view_detail_state::IsSet, S::CreatedAt: mod_event_view_detail_state::IsSet, + S::Event: mod_event_view_detail_state::IsSet, + S::Id: mod_event_view_detail_state::IsSet, + S::Subject: mod_event_view_detail_state::IsSet, S::CreatedBy: mod_event_view_detail_state::IsSet, { /// Build the final struct @@ -8822,7 +9230,7 @@ pub struct RecordEvent<'a> { #[serde(borrow)] pub comment: std::option::Option>, #[serde(borrow)] - pub op: jacquard_common::CowStr<'a>, + pub op: RecordEventOp<'a>, pub timestamp: jacquard_common::types::string::Datetime, } @@ -8876,7 +9284,7 @@ pub struct RecordEventBuilder<'a, S: record_event_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -8943,7 +9351,7 @@ where /// Set the `op` field (required) pub fn op( mut self, - value: impl Into>, + value: impl Into>, ) -> RecordEventBuilder<'a, record_event_state::SetOp> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); RecordEventBuilder { @@ -9007,6 +9415,99 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RecordEventOp<'a> { + Create, + Update, + Delete, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RecordEventOp<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Create => "create", + Self::Update => "update", + Self::Delete => "delete", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RecordEventOp<'a> { + fn from(s: &'a str) -> Self { + match s { + "create" => Self::Create, + "update" => Self::Update, + "delete" => Self::Delete, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RecordEventOp<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "create" => Self::Create, + "update" => Self::Update, + "delete" => Self::Delete, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RecordEventOp<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RecordEventOp<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RecordEventOp<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RecordEventOp<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RecordEventOp<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RecordEventOp<'_> { + type Output = RecordEventOp<'static>; + fn into_static(self) -> Self::Output { + match self { + RecordEventOp::Create => RecordEventOp::Create, + RecordEventOp::Update => RecordEventOp::Update, + RecordEventOp::Delete => RecordEventOp::Delete, + RecordEventOp::Other(v) => RecordEventOp::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RecordEvent<'a> { fn nsid() -> &'static str { "tools.ozone.moderation.defs" @@ -9042,11 +9543,99 @@ pub struct RecordHosting<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] pub deleted_at: std::option::Option, #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: RecordHostingStatus<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub updated_at: std::option::Option, } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RecordHostingStatus<'a> { + Deleted, + Unknown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RecordHostingStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Deleted => "deleted", + Self::Unknown => "unknown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RecordHostingStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "deleted" => Self::Deleted, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RecordHostingStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "deleted" => Self::Deleted, + "unknown" => Self::Unknown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RecordHostingStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RecordHostingStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RecordHostingStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RecordHostingStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RecordHostingStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RecordHostingStatus<'_> { + type Output = RecordHostingStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + RecordHostingStatus::Deleted => RecordHostingStatus::Deleted, + RecordHostingStatus::Unknown => RecordHostingStatus::Unknown, + RecordHostingStatus::Other(v) => RecordHostingStatus::Other(v.into_static()), + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RecordHosting<'a> { fn nsid() -> &'static str { "tools.ozone.moderation.defs" @@ -9101,127 +9690,127 @@ pub mod record_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Cid; + type Repo; + type IndexedAt; + type BlobCids; type Moderation; type Value; type Uri; - type IndexedAt; - type Cid; - type BlobCids; - type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Cid = Unset; + type Repo = Unset; + type IndexedAt = Unset; + type BlobCids = Unset; type Moderation = Unset; type Value = Unset; type Uri = Unset; - type IndexedAt = Unset; - type Cid = Unset; - type BlobCids = Unset; - type Repo = Unset; } - ///State transition - sets the `moderation` field to Set - pub struct SetModeration(PhantomData S>); - impl sealed::Sealed for SetModeration {} - impl State for SetModeration { - type Moderation = Set; - type Value = S::Value; - type Uri = S::Uri; + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Cid = Set; + type Repo = S::Repo; type IndexedAt = S::IndexedAt; - type Cid = S::Cid; type BlobCids = S::BlobCids; - type Repo = S::Repo; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { type Moderation = S::Moderation; - type Value = Set; + type Value = S::Value; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { type Cid = S::Cid; + type Repo = Set; + type IndexedAt = S::IndexedAt; type BlobCids = S::BlobCids; - type Repo = S::Repo; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { type Moderation = S::Moderation; type Value = S::Value; - type Uri = Set; - type IndexedAt = S::IndexedAt; - type Cid = S::Cid; - type BlobCids = S::BlobCids; - type Repo = S::Repo; + type Uri = S::Uri; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Moderation = S::Moderation; - type Value = S::Value; - type Uri = S::Uri; - type IndexedAt = Set; type Cid = S::Cid; - type BlobCids = S::BlobCids; type Repo = S::Repo; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { + type IndexedAt = Set; + type BlobCids = S::BlobCids; type Moderation = S::Moderation; type Value = S::Value; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; - type Cid = Set; - type BlobCids = S::BlobCids; - type Repo = S::Repo; } ///State transition - sets the `blob_cids` field to Set pub struct SetBlobCids(PhantomData S>); impl sealed::Sealed for SetBlobCids {} impl State for SetBlobCids { + type Cid = S::Cid; + type Repo = S::Repo; + type IndexedAt = S::IndexedAt; + type BlobCids = Set; type Moderation = S::Moderation; type Value = S::Value; type Uri = S::Uri; - type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `moderation` field to Set + pub struct SetModeration(PhantomData S>); + impl sealed::Sealed for SetModeration {} + impl State for SetModeration { type Cid = S::Cid; - type BlobCids = Set; type Repo = S::Repo; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Moderation = S::Moderation; + type IndexedAt = S::IndexedAt; + type BlobCids = S::BlobCids; + type Moderation = Set; type Value = S::Value; type Uri = S::Uri; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Cid = S::Cid; + type Repo = S::Repo; type IndexedAt = S::IndexedAt; + type BlobCids = S::BlobCids; + type Moderation = S::Moderation; + type Value = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { type Cid = S::Cid; + type Repo = S::Repo; + type IndexedAt = S::IndexedAt; type BlobCids = S::BlobCids; - type Repo = Set; + type Moderation = S::Moderation; + type Value = S::Value; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `cid` field + pub struct cid(()); + ///Marker type for the `repo` field + pub struct repo(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `blob_cids` field + pub struct blob_cids(()); ///Marker type for the `moderation` field pub struct moderation(()); ///Marker type for the `value` field pub struct value(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `blob_cids` field - pub struct blob_cids(()); - ///Marker type for the `repo` field - pub struct repo(()); } } @@ -9394,13 +9983,13 @@ where impl<'a, S> RecordViewBuilder<'a, S> where S: record_view_state::State, + S::Cid: record_view_state::IsSet, + S::Repo: record_view_state::IsSet, + S::IndexedAt: record_view_state::IsSet, + S::BlobCids: record_view_state::IsSet, S::Moderation: record_view_state::IsSet, S::Value: record_view_state::IsSet, S::Uri: record_view_state::IsSet, - S::IndexedAt: record_view_state::IsSet, - S::Cid: record_view_state::IsSet, - S::BlobCids: record_view_state::IsSet, - S::Repo: record_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordView<'a> { @@ -9493,127 +10082,127 @@ pub mod record_view_detail_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Value; + type Cid; type IndexedAt; type Moderation; - type Repo; - type Cid; type Uri; - type Value; type Blobs; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Value = Unset; + type Cid = Unset; type IndexedAt = Unset; type Moderation = Unset; - type Repo = Unset; - type Cid = Unset; type Uri = Unset; - type Value = Unset; type Blobs = Unset; + type Repo = Unset; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Value = Set; + type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Moderation = S::Moderation; + type Uri = S::Uri; + type Blobs = S::Blobs; + type Repo = S::Repo; + } + ///State transition - sets the `cid` field to Set + pub struct SetCid(PhantomData S>); + impl sealed::Sealed for SetCid {} + impl State for SetCid { + type Value = S::Value; + type Cid = Set; + type IndexedAt = S::IndexedAt; + type Moderation = S::Moderation; + type Uri = S::Uri; + type Blobs = S::Blobs; + type Repo = S::Repo; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { + type Value = S::Value; + type Cid = S::Cid; type IndexedAt = Set; type Moderation = S::Moderation; - type Repo = S::Repo; - type Cid = S::Cid; type Uri = S::Uri; - type Value = S::Value; type Blobs = S::Blobs; + type Repo = S::Repo; } ///State transition - sets the `moderation` field to Set pub struct SetModeration(PhantomData S>); impl sealed::Sealed for SetModeration {} impl State for SetModeration { - type IndexedAt = S::IndexedAt; - type Moderation = Set; - type Repo = S::Repo; - type Cid = S::Cid; - type Uri = S::Uri; type Value = S::Value; - type Blobs = S::Blobs; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type IndexedAt = S::IndexedAt; - type Moderation = S::Moderation; - type Repo = Set; type Cid = S::Cid; - type Uri = S::Uri; - type Value = S::Value; - type Blobs = S::Blobs; - } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { type IndexedAt = S::IndexedAt; - type Moderation = S::Moderation; - type Repo = S::Repo; - type Cid = Set; + type Moderation = Set; type Uri = S::Uri; - type Value = S::Value; type Blobs = S::Blobs; + type Repo = S::Repo; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { + type Value = S::Value; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; type Moderation = S::Moderation; - type Repo = S::Repo; - type Cid = S::Cid; type Uri = Set; - type Value = S::Value; type Blobs = S::Blobs; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type IndexedAt = S::IndexedAt; - type Moderation = S::Moderation; type Repo = S::Repo; - type Cid = S::Cid; - type Uri = S::Uri; - type Value = Set; - type Blobs = S::Blobs; } ///State transition - sets the `blobs` field to Set pub struct SetBlobs(PhantomData S>); impl sealed::Sealed for SetBlobs {} impl State for SetBlobs { + type Value = S::Value; + type Cid = S::Cid; type IndexedAt = S::IndexedAt; type Moderation = S::Moderation; + type Uri = S::Uri; + type Blobs = Set; type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Value = S::Value; type Cid = S::Cid; + type IndexedAt = S::IndexedAt; + type Moderation = S::Moderation; type Uri = S::Uri; - type Value = S::Value; - type Blobs = Set; + type Blobs = S::Blobs; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `value` field + pub struct value(()); + ///Marker type for the `cid` field + pub struct cid(()); ///Marker type for the `indexed_at` field pub struct indexed_at(()); ///Marker type for the `moderation` field pub struct moderation(()); - ///Marker type for the `repo` field - pub struct repo(()); - ///Marker type for the `cid` field - pub struct cid(()); ///Marker type for the `uri` field pub struct uri(()); - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `blobs` field pub struct blobs(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -9806,13 +10395,13 @@ where impl<'a, S> RecordViewDetailBuilder<'a, S> where S: record_view_detail_state::State, + S::Value: record_view_detail_state::IsSet, + S::Cid: record_view_detail_state::IsSet, S::IndexedAt: record_view_detail_state::IsSet, S::Moderation: record_view_detail_state::IsSet, - S::Repo: record_view_detail_state::IsSet, - S::Cid: record_view_detail_state::IsSet, S::Uri: record_view_detail_state::IsSet, - S::Value: record_view_detail_state::IsSet, S::Blobs: record_view_detail_state::IsSet, + S::Repo: record_view_detail_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordViewDetail<'a> { @@ -10113,85 +10702,85 @@ pub mod repo_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; - type Did; - type IndexedAt; type RelatedRecords; type Moderation; + type Did; + type Handle; + type IndexedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; - type Did = Unset; - type IndexedAt = Unset; type RelatedRecords = Unset; type Moderation = Unset; + type Did = Unset; + type Handle = Unset; + type IndexedAt = Unset; } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; + ///State transition - sets the `related_records` field to Set + pub struct SetRelatedRecords(PhantomData S>); + impl sealed::Sealed for SetRelatedRecords {} + impl State for SetRelatedRecords { + type RelatedRecords = Set; + type Moderation = S::Moderation; type Did = S::Did; + type Handle = S::Handle; type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `moderation` field to Set + pub struct SetModeration(PhantomData S>); + impl sealed::Sealed for SetModeration {} + impl State for SetModeration { type RelatedRecords = S::RelatedRecords; - type Moderation = S::Moderation; + type Moderation = Set; + type Did = S::Did; + type Handle = S::Handle; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Handle = S::Handle; + type RelatedRecords = S::RelatedRecords; + type Moderation = S::Moderation; type Did = Set; + type Handle = S::Handle; type IndexedAt = S::IndexedAt; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { type RelatedRecords = S::RelatedRecords; type Moderation = S::Moderation; + type Did = S::Did; + type Handle = Set; + type IndexedAt = S::IndexedAt; } ///State transition - sets the `indexed_at` field to Set pub struct SetIndexedAt(PhantomData S>); impl sealed::Sealed for SetIndexedAt {} impl State for SetIndexedAt { - type Handle = S::Handle; - type Did = S::Did; - type IndexedAt = Set; type RelatedRecords = S::RelatedRecords; type Moderation = S::Moderation; - } - ///State transition - sets the `related_records` field to Set - pub struct SetRelatedRecords(PhantomData S>); - impl sealed::Sealed for SetRelatedRecords {} - impl State for SetRelatedRecords { - type Handle = S::Handle; - type Did = S::Did; - type IndexedAt = S::IndexedAt; - type RelatedRecords = Set; - type Moderation = S::Moderation; - } - ///State transition - sets the `moderation` field to Set - pub struct SetModeration(PhantomData S>); - impl sealed::Sealed for SetModeration {} - impl State for SetModeration { - type Handle = S::Handle; - type Did = S::Did; - type IndexedAt = S::IndexedAt; - type RelatedRecords = S::RelatedRecords; - type Moderation = Set; + type Did = S::Did; + type Handle = S::Handle; + type IndexedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); - ///Marker type for the `did` field - pub struct did(()); - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); ///Marker type for the `related_records` field pub struct related_records(()); ///Marker type for the `moderation` field pub struct moderation(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `handle` field + pub struct handle(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); } } @@ -10447,11 +11036,11 @@ impl<'a, S: repo_view_state::State> RepoViewBuilder<'a, S> { impl<'a, S> RepoViewBuilder<'a, S> where S: repo_view_state::State, - S::Handle: repo_view_state::IsSet, - S::Did: repo_view_state::IsSet, - S::IndexedAt: repo_view_state::IsSet, S::RelatedRecords: repo_view_state::IsSet, S::Moderation: repo_view_state::IsSet, + S::Did: repo_view_state::IsSet, + S::Handle: repo_view_state::IsSet, + S::IndexedAt: repo_view_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoView<'a> { @@ -10573,85 +11162,85 @@ pub mod repo_view_detail_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type IndexedAt; - type Handle; type RelatedRecords; - type Moderation; + type Handle; type Did; + type IndexedAt; + type Moderation; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type IndexedAt = Unset; - type Handle = Unset; type RelatedRecords = Unset; - type Moderation = Unset; + type Handle = Unset; type Did = Unset; + type IndexedAt = Unset; + type Moderation = Unset; } - ///State transition - sets the `indexed_at` field to Set - pub struct SetIndexedAt(PhantomData S>); - impl sealed::Sealed for SetIndexedAt {} - impl State for SetIndexedAt { - type IndexedAt = Set; + ///State transition - sets the `related_records` field to Set + pub struct SetRelatedRecords(PhantomData S>); + impl sealed::Sealed for SetRelatedRecords {} + impl State for SetRelatedRecords { + type RelatedRecords = Set; type Handle = S::Handle; - type RelatedRecords = S::RelatedRecords; - type Moderation = S::Moderation; type Did = S::Did; + type IndexedAt = S::IndexedAt; + type Moderation = S::Moderation; } ///State transition - sets the `handle` field to Set pub struct SetHandle(PhantomData S>); impl sealed::Sealed for SetHandle {} impl State for SetHandle { - type IndexedAt = S::IndexedAt; - type Handle = Set; type RelatedRecords = S::RelatedRecords; - type Moderation = S::Moderation; + type Handle = Set; type Did = S::Did; - } - ///State transition - sets the `related_records` field to Set - pub struct SetRelatedRecords(PhantomData S>); - impl sealed::Sealed for SetRelatedRecords {} - impl State for SetRelatedRecords { type IndexedAt = S::IndexedAt; + type Moderation = S::Moderation; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type RelatedRecords = S::RelatedRecords; type Handle = S::Handle; - type RelatedRecords = Set; + type Did = Set; + type IndexedAt = S::IndexedAt; type Moderation = S::Moderation; + } + ///State transition - sets the `indexed_at` field to Set + pub struct SetIndexedAt(PhantomData S>); + impl sealed::Sealed for SetIndexedAt {} + impl State for SetIndexedAt { + type RelatedRecords = S::RelatedRecords; + type Handle = S::Handle; type Did = S::Did; + type IndexedAt = Set; + type Moderation = S::Moderation; } ///State transition - sets the `moderation` field to Set pub struct SetModeration(PhantomData S>); impl sealed::Sealed for SetModeration {} impl State for SetModeration { - type IndexedAt = S::IndexedAt; - type Handle = S::Handle; type RelatedRecords = S::RelatedRecords; - type Moderation = Set; + type Handle = S::Handle; type Did = S::Did; - } - ///State transition - sets the `did` field to Set - pub struct SetDid(PhantomData S>); - impl sealed::Sealed for SetDid {} - impl State for SetDid { type IndexedAt = S::IndexedAt; - type Handle = S::Handle; - type RelatedRecords = S::RelatedRecords; - type Moderation = S::Moderation; - type Did = Set; + type Moderation = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `indexed_at` field - pub struct indexed_at(()); - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `related_records` field pub struct related_records(()); - ///Marker type for the `moderation` field - pub struct moderation(()); + ///Marker type for the `handle` field + pub struct handle(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `indexed_at` field + pub struct indexed_at(()); + ///Marker type for the `moderation` field + pub struct moderation(()); } } @@ -10970,11 +11559,11 @@ impl<'a, S: repo_view_detail_state::State> RepoViewDetailBuilder<'a, S> { impl<'a, S> RepoViewDetailBuilder<'a, S> where S: repo_view_detail_state::State, - S::IndexedAt: repo_view_detail_state::IsSet, - S::Handle: repo_view_detail_state::IsSet, S::RelatedRecords: repo_view_detail_state::IsSet, - S::Moderation: repo_view_detail_state::IsSet, + S::Handle: repo_view_detail_state::IsSet, S::Did: repo_view_detail_state::IsSet, + S::IndexedAt: repo_view_detail_state::IsSet, + S::Moderation: repo_view_detail_state::IsSet, { /// Build the final struct pub fn build(self) -> RepoViewDetail<'a> { @@ -11221,177 +11810,177 @@ pub mod reporter_stats_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type AccountReportCount; type ReportedAccountCount; - type TakendownRecordCount; - type LabeledAccountCount; + type ReportedRecordCount; type Did; - type TakendownAccountCount; type LabeledRecordCount; + type TakendownAccountCount; + type AccountReportCount; + type LabeledAccountCount; type RecordReportCount; - type ReportedRecordCount; + type TakendownRecordCount; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type AccountReportCount = Unset; type ReportedAccountCount = Unset; - type TakendownRecordCount = Unset; - type LabeledAccountCount = Unset; + type ReportedRecordCount = Unset; type Did = Unset; - type TakendownAccountCount = Unset; type LabeledRecordCount = Unset; + type TakendownAccountCount = Unset; + type AccountReportCount = Unset; + type LabeledAccountCount = Unset; type RecordReportCount = Unset; - type ReportedRecordCount = Unset; - } - ///State transition - sets the `account_report_count` field to Set - pub struct SetAccountReportCount(PhantomData S>); - impl sealed::Sealed for SetAccountReportCount {} - impl State for SetAccountReportCount { - type AccountReportCount = Set; - type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; - type Did = S::Did; - type TakendownAccountCount = S::TakendownAccountCount; - type LabeledRecordCount = S::LabeledRecordCount; - type RecordReportCount = S::RecordReportCount; - type ReportedRecordCount = S::ReportedRecordCount; + type TakendownRecordCount = Unset; } ///State transition - sets the `reported_account_count` field to Set pub struct SetReportedAccountCount(PhantomData S>); impl sealed::Sealed for SetReportedAccountCount {} impl State for SetReportedAccountCount { - type AccountReportCount = S::AccountReportCount; type ReportedAccountCount = Set; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = S::Did; - type TakendownAccountCount = S::TakendownAccountCount; type LabeledRecordCount = S::LabeledRecordCount; - type RecordReportCount = S::RecordReportCount; - type ReportedRecordCount = S::ReportedRecordCount; - } - ///State transition - sets the `takendown_record_count` field to Set - pub struct SetTakendownRecordCount(PhantomData S>); - impl sealed::Sealed for SetTakendownRecordCount {} - impl State for SetTakendownRecordCount { + type TakendownAccountCount = S::TakendownAccountCount; type AccountReportCount = S::AccountReportCount; - type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = Set; type LabeledAccountCount = S::LabeledAccountCount; - type Did = S::Did; - type TakendownAccountCount = S::TakendownAccountCount; - type LabeledRecordCount = S::LabeledRecordCount; type RecordReportCount = S::RecordReportCount; - type ReportedRecordCount = S::ReportedRecordCount; + type TakendownRecordCount = S::TakendownRecordCount; } - ///State transition - sets the `labeled_account_count` field to Set - pub struct SetLabeledAccountCount(PhantomData S>); - impl sealed::Sealed for SetLabeledAccountCount {} - impl State for SetLabeledAccountCount { - type AccountReportCount = S::AccountReportCount; + ///State transition - sets the `reported_record_count` field to Set + pub struct SetReportedRecordCount(PhantomData S>); + impl sealed::Sealed for SetReportedRecordCount {} + impl State for SetReportedRecordCount { type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = Set; + type ReportedRecordCount = Set; type Did = S::Did; - type TakendownAccountCount = S::TakendownAccountCount; type LabeledRecordCount = S::LabeledRecordCount; + type TakendownAccountCount = S::TakendownAccountCount; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = S::LabeledAccountCount; type RecordReportCount = S::RecordReportCount; - type ReportedRecordCount = S::ReportedRecordCount; + type TakendownRecordCount = S::TakendownRecordCount; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type AccountReportCount = S::AccountReportCount; type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = Set; - type TakendownAccountCount = S::TakendownAccountCount; type LabeledRecordCount = S::LabeledRecordCount; + type TakendownAccountCount = S::TakendownAccountCount; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = S::LabeledAccountCount; type RecordReportCount = S::RecordReportCount; + type TakendownRecordCount = S::TakendownRecordCount; + } + ///State transition - sets the `labeled_record_count` field to Set + pub struct SetLabeledRecordCount(PhantomData S>); + impl sealed::Sealed for SetLabeledRecordCount {} + impl State for SetLabeledRecordCount { + type ReportedAccountCount = S::ReportedAccountCount; type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; + type LabeledRecordCount = Set; + type TakendownAccountCount = S::TakendownAccountCount; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = S::LabeledAccountCount; + type RecordReportCount = S::RecordReportCount; + type TakendownRecordCount = S::TakendownRecordCount; } ///State transition - sets the `takendown_account_count` field to Set pub struct SetTakendownAccountCount(PhantomData S>); impl sealed::Sealed for SetTakendownAccountCount {} impl State for SetTakendownAccountCount { - type AccountReportCount = S::AccountReportCount; type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = S::Did; - type TakendownAccountCount = Set; type LabeledRecordCount = S::LabeledRecordCount; + type TakendownAccountCount = Set; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = S::LabeledAccountCount; type RecordReportCount = S::RecordReportCount; - type ReportedRecordCount = S::ReportedRecordCount; + type TakendownRecordCount = S::TakendownRecordCount; } - ///State transition - sets the `labeled_record_count` field to Set - pub struct SetLabeledRecordCount(PhantomData S>); - impl sealed::Sealed for SetLabeledRecordCount {} - impl State for SetLabeledRecordCount { - type AccountReportCount = S::AccountReportCount; + ///State transition - sets the `account_report_count` field to Set + pub struct SetAccountReportCount(PhantomData S>); + impl sealed::Sealed for SetAccountReportCount {} + impl State for SetAccountReportCount { type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = S::Did; + type LabeledRecordCount = S::LabeledRecordCount; type TakendownAccountCount = S::TakendownAccountCount; - type LabeledRecordCount = Set; + type AccountReportCount = Set; + type LabeledAccountCount = S::LabeledAccountCount; type RecordReportCount = S::RecordReportCount; + type TakendownRecordCount = S::TakendownRecordCount; + } + ///State transition - sets the `labeled_account_count` field to Set + pub struct SetLabeledAccountCount(PhantomData S>); + impl sealed::Sealed for SetLabeledAccountCount {} + impl State for SetLabeledAccountCount { + type ReportedAccountCount = S::ReportedAccountCount; type ReportedRecordCount = S::ReportedRecordCount; + type Did = S::Did; + type LabeledRecordCount = S::LabeledRecordCount; + type TakendownAccountCount = S::TakendownAccountCount; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = Set; + type RecordReportCount = S::RecordReportCount; + type TakendownRecordCount = S::TakendownRecordCount; } ///State transition - sets the `record_report_count` field to Set pub struct SetRecordReportCount(PhantomData S>); impl sealed::Sealed for SetRecordReportCount {} impl State for SetRecordReportCount { - type AccountReportCount = S::AccountReportCount; type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = S::Did; - type TakendownAccountCount = S::TakendownAccountCount; type LabeledRecordCount = S::LabeledRecordCount; + type TakendownAccountCount = S::TakendownAccountCount; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = S::LabeledAccountCount; type RecordReportCount = Set; - type ReportedRecordCount = S::ReportedRecordCount; + type TakendownRecordCount = S::TakendownRecordCount; } - ///State transition - sets the `reported_record_count` field to Set - pub struct SetReportedRecordCount(PhantomData S>); - impl sealed::Sealed for SetReportedRecordCount {} - impl State for SetReportedRecordCount { - type AccountReportCount = S::AccountReportCount; + ///State transition - sets the `takendown_record_count` field to Set + pub struct SetTakendownRecordCount(PhantomData S>); + impl sealed::Sealed for SetTakendownRecordCount {} + impl State for SetTakendownRecordCount { type ReportedAccountCount = S::ReportedAccountCount; - type TakendownRecordCount = S::TakendownRecordCount; - type LabeledAccountCount = S::LabeledAccountCount; + type ReportedRecordCount = S::ReportedRecordCount; type Did = S::Did; - type TakendownAccountCount = S::TakendownAccountCount; type LabeledRecordCount = S::LabeledRecordCount; + type TakendownAccountCount = S::TakendownAccountCount; + type AccountReportCount = S::AccountReportCount; + type LabeledAccountCount = S::LabeledAccountCount; type RecordReportCount = S::RecordReportCount; - type ReportedRecordCount = Set; + type TakendownRecordCount = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `account_report_count` field - pub struct account_report_count(()); ///Marker type for the `reported_account_count` field pub struct reported_account_count(()); - ///Marker type for the `takendown_record_count` field - pub struct takendown_record_count(()); - ///Marker type for the `labeled_account_count` field - pub struct labeled_account_count(()); + ///Marker type for the `reported_record_count` field + pub struct reported_record_count(()); ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `takendown_account_count` field - pub struct takendown_account_count(()); ///Marker type for the `labeled_record_count` field pub struct labeled_record_count(()); + ///Marker type for the `takendown_account_count` field + pub struct takendown_account_count(()); + ///Marker type for the `account_report_count` field + pub struct account_report_count(()); + ///Marker type for the `labeled_account_count` field + pub struct labeled_account_count(()); ///Marker type for the `record_report_count` field pub struct record_report_count(()); - ///Marker type for the `reported_record_count` field - pub struct reported_record_count(()); + ///Marker type for the `takendown_record_count` field + pub struct takendown_record_count(()); } } @@ -11614,15 +12203,15 @@ where impl<'a, S> ReporterStatsBuilder<'a, S> where S: reporter_stats_state::State, - S::AccountReportCount: reporter_stats_state::IsSet, S::ReportedAccountCount: reporter_stats_state::IsSet, - S::TakendownRecordCount: reporter_stats_state::IsSet, - S::LabeledAccountCount: reporter_stats_state::IsSet, + S::ReportedRecordCount: reporter_stats_state::IsSet, S::Did: reporter_stats_state::IsSet, - S::TakendownAccountCount: reporter_stats_state::IsSet, S::LabeledRecordCount: reporter_stats_state::IsSet, + S::TakendownAccountCount: reporter_stats_state::IsSet, + S::AccountReportCount: reporter_stats_state::IsSet, + S::LabeledAccountCount: reporter_stats_state::IsSet, S::RecordReportCount: reporter_stats_state::IsSet, - S::ReportedRecordCount: reporter_stats_state::IsSet, + S::TakendownRecordCount: reporter_stats_state::IsSet, { /// Build the final struct pub fn build(self) -> ReporterStats<'a> { @@ -11858,7 +12447,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ScheduleTakedownEvent<'a> pub struct ScheduledActionView<'a> { /// Type of action to be executed #[serde(borrow)] - pub action: jacquard_common::CowStr<'a>, + pub action: ScheduledActionViewAction<'a>, /// When the scheduled action was created pub created_at: jacquard_common::types::string::Datetime, /// DID of the user who created this scheduled action @@ -11897,7 +12486,7 @@ pub struct ScheduledActionView<'a> { pub randomize_execution: std::option::Option, /// Current status of the scheduled action #[serde(borrow)] - pub status: jacquard_common::CowStr<'a>, + pub status: ScheduledActionViewStatus<'a>, /// When the scheduled action was last updated #[serde(skip_serializing_if = "std::option::Option::is_none")] pub updated_at: std::option::Option, @@ -11913,10 +12502,10 @@ pub mod scheduled_action_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Status; - type Action; type CreatedAt; type CreatedBy; + type Action; + type Status; type Id; type Did; } @@ -11924,21 +12513,32 @@ pub mod scheduled_action_view_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Status = Unset; - type Action = Unset; type CreatedAt = Unset; type CreatedBy = Unset; + type Action = Unset; + type Status = Unset; type Id = Unset; type Did = Unset; } - ///State transition - sets the `status` field to Set - pub struct SetStatus(PhantomData S>); - impl sealed::Sealed for SetStatus {} - impl State for SetStatus { - type Status = Set; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type CreatedBy = S::CreatedBy; type Action = S::Action; + type Status = S::Status; + type Id = S::Id; + type Did = S::Did; + } + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { type CreatedAt = S::CreatedAt; - type CreatedBy = S::CreatedBy; + type CreatedBy = Set; + type Action = S::Action; + type Status = S::Status; type Id = S::Id; type Did = S::Did; } @@ -11946,32 +12546,21 @@ pub mod scheduled_action_view_state { pub struct SetAction(PhantomData S>); impl sealed::Sealed for SetAction {} impl State for SetAction { - type Status = S::Status; - type Action = Set; type CreatedAt = S::CreatedAt; type CreatedBy = S::CreatedBy; - type Id = S::Id; - type Did = S::Did; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { + type Action = Set; type Status = S::Status; - type Action = S::Action; - type CreatedAt = Set; - type CreatedBy = S::CreatedBy; type Id = S::Id; type Did = S::Did; } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { - type Status = S::Status; - type Action = S::Action; + ///State transition - sets the `status` field to Set + pub struct SetStatus(PhantomData S>); + impl sealed::Sealed for SetStatus {} + impl State for SetStatus { type CreatedAt = S::CreatedAt; - type CreatedBy = Set; + type CreatedBy = S::CreatedBy; + type Action = S::Action; + type Status = Set; type Id = S::Id; type Did = S::Did; } @@ -11979,10 +12568,10 @@ pub mod scheduled_action_view_state { pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Status = S::Status; - type Action = S::Action; type CreatedAt = S::CreatedAt; type CreatedBy = S::CreatedBy; + type Action = S::Action; + type Status = S::Status; type Id = Set; type Did = S::Did; } @@ -11990,24 +12579,24 @@ pub mod scheduled_action_view_state { pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Status = S::Status; - type Action = S::Action; type CreatedAt = S::CreatedAt; type CreatedBy = S::CreatedBy; + type Action = S::Action; + type Status = S::Status; type Id = S::Id; type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `status` field - pub struct status(()); - ///Marker type for the `action` field - pub struct action(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `created_by` field pub struct created_by(()); + ///Marker type for the `action` field + pub struct action(()); + ///Marker type for the `status` field + pub struct status(()); ///Marker type for the `id` field pub struct id(()); ///Marker type for the `did` field @@ -12019,7 +12608,7 @@ pub mod scheduled_action_view_state { pub struct ScheduledActionViewBuilder<'a, S: scheduled_action_view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option>, @@ -12032,7 +12621,7 @@ pub struct ScheduledActionViewBuilder<'a, S: scheduled_action_view_state::State> ::core::option::Option, ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -12080,7 +12669,7 @@ where /// Set the `action` field (required) pub fn action( mut self, - value: impl Into>, + value: impl Into>, ) -> ScheduledActionViewBuilder<'a, scheduled_action_view_state::SetAction> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); ScheduledActionViewBuilder { @@ -12315,7 +12904,7 @@ where /// Set the `status` field (required) pub fn status( mut self, - value: impl Into>, + value: impl Into>, ) -> ScheduledActionViewBuilder<'a, scheduled_action_view_state::SetStatus> { self.__unsafe_private_named.13 = ::core::option::Option::Some(value.into()); ScheduledActionViewBuilder { @@ -12348,10 +12937,10 @@ impl<'a, S: scheduled_action_view_state::State> ScheduledActionViewBuilder<'a, S impl<'a, S> ScheduledActionViewBuilder<'a, S> where S: scheduled_action_view_state::State, - S::Status: scheduled_action_view_state::IsSet, - S::Action: scheduled_action_view_state::IsSet, S::CreatedAt: scheduled_action_view_state::IsSet, S::CreatedBy: scheduled_action_view_state::IsSet, + S::Action: scheduled_action_view_state::IsSet, + S::Status: scheduled_action_view_state::IsSet, S::Id: scheduled_action_view_state::IsSet, S::Did: scheduled_action_view_state::IsSet, { @@ -12376,31 +12965,218 @@ where extra_data: Default::default(), } } - /// Build the final struct with custom extra_data - pub fn build_with_data( - self, - extra_data: std::collections::BTreeMap< - jacquard_common::smol_str::SmolStr, - jacquard_common::types::value::Data<'a>, - >, - ) -> ScheduledActionView<'a> { - ScheduledActionView { - action: self.__unsafe_private_named.0.unwrap(), - created_at: self.__unsafe_private_named.1.unwrap(), - created_by: self.__unsafe_private_named.2.unwrap(), - did: self.__unsafe_private_named.3.unwrap(), - event_data: self.__unsafe_private_named.4, - execute_after: self.__unsafe_private_named.5, - execute_at: self.__unsafe_private_named.6, - execute_until: self.__unsafe_private_named.7, - execution_event_id: self.__unsafe_private_named.8, - id: self.__unsafe_private_named.9.unwrap(), - last_executed_at: self.__unsafe_private_named.10, - last_failure_reason: self.__unsafe_private_named.11, - randomize_execution: self.__unsafe_private_named.12, - status: self.__unsafe_private_named.13.unwrap(), - updated_at: self.__unsafe_private_named.14, - extra_data: Some(extra_data), + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ScheduledActionView<'a> { + ScheduledActionView { + action: self.__unsafe_private_named.0.unwrap(), + created_at: self.__unsafe_private_named.1.unwrap(), + created_by: self.__unsafe_private_named.2.unwrap(), + did: self.__unsafe_private_named.3.unwrap(), + event_data: self.__unsafe_private_named.4, + execute_after: self.__unsafe_private_named.5, + execute_at: self.__unsafe_private_named.6, + execute_until: self.__unsafe_private_named.7, + execution_event_id: self.__unsafe_private_named.8, + id: self.__unsafe_private_named.9.unwrap(), + last_executed_at: self.__unsafe_private_named.10, + last_failure_reason: self.__unsafe_private_named.11, + randomize_execution: self.__unsafe_private_named.12, + status: self.__unsafe_private_named.13.unwrap(), + updated_at: self.__unsafe_private_named.14, + extra_data: Some(extra_data), + } + } +} + +/// Type of action to be executed +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ScheduledActionViewAction<'a> { + Takedown, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ScheduledActionViewAction<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Takedown => "takedown", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ScheduledActionViewAction<'a> { + fn from(s: &'a str) -> Self { + match s { + "takedown" => Self::Takedown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ScheduledActionViewAction<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "takedown" => Self::Takedown, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ScheduledActionViewAction<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ScheduledActionViewAction<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ScheduledActionViewAction<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ScheduledActionViewAction<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ScheduledActionViewAction<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ScheduledActionViewAction<'_> { + type Output = ScheduledActionViewAction<'static>; + fn into_static(self) -> Self::Output { + match self { + ScheduledActionViewAction::Takedown => ScheduledActionViewAction::Takedown, + ScheduledActionViewAction::Other(v) => { + ScheduledActionViewAction::Other(v.into_static()) + } + } + } +} + +/// Current status of the scheduled action +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ScheduledActionViewStatus<'a> { + Pending, + Executed, + Cancelled, + Failed, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ScheduledActionViewStatus<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Pending => "pending", + Self::Executed => "executed", + Self::Cancelled => "cancelled", + Self::Failed => "failed", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ScheduledActionViewStatus<'a> { + fn from(s: &'a str) -> Self { + match s { + "pending" => Self::Pending, + "executed" => Self::Executed, + "cancelled" => Self::Cancelled, + "failed" => Self::Failed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ScheduledActionViewStatus<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "pending" => Self::Pending, + "executed" => Self::Executed, + "cancelled" => Self::Cancelled, + "failed" => Self::Failed, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ScheduledActionViewStatus<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ScheduledActionViewStatus<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ScheduledActionViewStatus<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ScheduledActionViewStatus<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ScheduledActionViewStatus<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ScheduledActionViewStatus<'_> { + type Output = ScheduledActionViewStatus<'static>; + fn into_static(self) -> Self::Output { + match self { + ScheduledActionViewStatus::Pending => ScheduledActionViewStatus::Pending, + ScheduledActionViewStatus::Executed => ScheduledActionViewStatus::Executed, + ScheduledActionViewStatus::Cancelled => ScheduledActionViewStatus::Cancelled, + ScheduledActionViewStatus::Failed => ScheduledActionViewStatus::Failed, + ScheduledActionViewStatus::Other(v) => { + ScheduledActionViewStatus::Other(v.into_static()) + } } } } @@ -12497,6 +13273,12 @@ impl<'a> AsRef for SubjectReviewState<'a> { } } +impl<'a> core::fmt::Display for SubjectReviewState<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for SubjectReviewState<'a> { fn serialize(&self, serializer: S) -> Result where @@ -12567,11 +13349,13 @@ pub struct SubjectStatusView<'a> { /// Current age assurance state of the subject. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub age_assurance_state: std::option::Option>, + pub age_assurance_state: std::option::Option>, /// Whether or not the last successful update to age assurance was made by the user or admin. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub age_assurance_updated_by: std::option::Option>, + pub age_assurance_updated_by: std::option::Option< + SubjectStatusViewAgeAssuranceUpdatedBy<'a>, + >, /// True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators. #[serde(skip_serializing_if = "std::option::Option::is_none")] pub appealed: std::option::Option, @@ -12643,9 +13427,9 @@ pub mod subject_status_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type CreatedAt; type Id; type ReviewState; - type CreatedAt; type Subject; type UpdatedAt; } @@ -12653,19 +13437,29 @@ pub mod subject_status_view_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type CreatedAt = Unset; type Id = Unset; type ReviewState = Unset; - type CreatedAt = Unset; type Subject = Unset; type UpdatedAt = Unset; } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type CreatedAt = Set; + type Id = S::Id; + type ReviewState = S::ReviewState; + type Subject = S::Subject; + type UpdatedAt = S::UpdatedAt; + } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { + type CreatedAt = S::CreatedAt; type Id = Set; type ReviewState = S::ReviewState; - type CreatedAt = S::CreatedAt; type Subject = S::Subject; type UpdatedAt = S::UpdatedAt; } @@ -12673,19 +13467,9 @@ pub mod subject_status_view_state { pub struct SetReviewState(PhantomData S>); impl sealed::Sealed for SetReviewState {} impl State for SetReviewState { - type Id = S::Id; - type ReviewState = Set; type CreatedAt = S::CreatedAt; - type Subject = S::Subject; - type UpdatedAt = S::UpdatedAt; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { type Id = S::Id; - type ReviewState = S::ReviewState; - type CreatedAt = Set; + type ReviewState = Set; type Subject = S::Subject; type UpdatedAt = S::UpdatedAt; } @@ -12693,9 +13477,9 @@ pub mod subject_status_view_state { pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { + type CreatedAt = S::CreatedAt; type Id = S::Id; type ReviewState = S::ReviewState; - type CreatedAt = S::CreatedAt; type Subject = Set; type UpdatedAt = S::UpdatedAt; } @@ -12703,21 +13487,21 @@ pub mod subject_status_view_state { pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { + type CreatedAt = S::CreatedAt; type Id = S::Id; type ReviewState = S::ReviewState; - type CreatedAt = S::CreatedAt; type Subject = S::Subject; type UpdatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `id` field pub struct id(()); ///Marker type for the `review_state` field pub struct review_state(()); - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); ///Marker type for the `updated_at` field @@ -12731,8 +13515,8 @@ pub struct SubjectStatusViewBuilder<'a, S: subject_status_view_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option, @@ -12844,7 +13628,7 @@ impl<'a, S: subject_status_view_state::State> SubjectStatusViewBuilder<'a, S> { /// Set the `ageAssuranceState` field (optional) pub fn age_assurance_state( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.2 = value.into(); self @@ -12852,7 +13636,7 @@ impl<'a, S: subject_status_view_state::State> SubjectStatusViewBuilder<'a, S> { /// Set the `ageAssuranceState` field to an Option value (optional) pub fn maybe_age_assurance_state( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.2 = value; self @@ -12863,7 +13647,7 @@ impl<'a, S: subject_status_view_state::State> SubjectStatusViewBuilder<'a, S> { /// Set the `ageAssuranceUpdatedBy` field (optional) pub fn age_assurance_updated_by( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.3 = value.into(); self @@ -12871,7 +13655,7 @@ impl<'a, S: subject_status_view_state::State> SubjectStatusViewBuilder<'a, S> { /// Set the `ageAssuranceUpdatedBy` field to an Option value (optional) pub fn maybe_age_assurance_updated_by( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.3 = value; self @@ -13256,9 +14040,9 @@ where impl<'a, S> SubjectStatusViewBuilder<'a, S> where S: subject_status_view_state::State, + S::CreatedAt: subject_status_view_state::IsSet, S::Id: subject_status_view_state::IsSet, S::ReviewState: subject_status_view_state::IsSet, - S::CreatedAt: subject_status_view_state::IsSet, S::Subject: subject_status_view_state::IsSet, S::UpdatedAt: subject_status_view_state::IsSet, { @@ -13332,6 +14116,217 @@ where } } +/// Current age assurance state of the subject. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum SubjectStatusViewAgeAssuranceState<'a> { + Pending, + Assured, + Unknown, + Reset, + Blocked, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> SubjectStatusViewAgeAssuranceState<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Pending => "pending", + Self::Assured => "assured", + Self::Unknown => "unknown", + Self::Reset => "reset", + Self::Blocked => "blocked", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for SubjectStatusViewAgeAssuranceState<'a> { + fn from(s: &'a str) -> Self { + match s { + "pending" => Self::Pending, + "assured" => Self::Assured, + "unknown" => Self::Unknown, + "reset" => Self::Reset, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for SubjectStatusViewAgeAssuranceState<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "pending" => Self::Pending, + "assured" => Self::Assured, + "unknown" => Self::Unknown, + "reset" => Self::Reset, + "blocked" => Self::Blocked, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for SubjectStatusViewAgeAssuranceState<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for SubjectStatusViewAgeAssuranceState<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for SubjectStatusViewAgeAssuranceState<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for SubjectStatusViewAgeAssuranceState<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for SubjectStatusViewAgeAssuranceState<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for SubjectStatusViewAgeAssuranceState<'_> { + type Output = SubjectStatusViewAgeAssuranceState<'static>; + fn into_static(self) -> Self::Output { + match self { + SubjectStatusViewAgeAssuranceState::Pending => { + SubjectStatusViewAgeAssuranceState::Pending + } + SubjectStatusViewAgeAssuranceState::Assured => { + SubjectStatusViewAgeAssuranceState::Assured + } + SubjectStatusViewAgeAssuranceState::Unknown => { + SubjectStatusViewAgeAssuranceState::Unknown + } + SubjectStatusViewAgeAssuranceState::Reset => { + SubjectStatusViewAgeAssuranceState::Reset + } + SubjectStatusViewAgeAssuranceState::Blocked => { + SubjectStatusViewAgeAssuranceState::Blocked + } + SubjectStatusViewAgeAssuranceState::Other(v) => { + SubjectStatusViewAgeAssuranceState::Other(v.into_static()) + } + } + } +} + +/// Whether or not the last successful update to age assurance was made by the user or admin. +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + Admin, + User, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Admin => "admin", + Self::User => "user", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + fn from(s: &'a str) -> Self { + match s { + "admin" => Self::Admin, + "user" => Self::User, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "admin" => Self::Admin, + "user" => Self::User, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for SubjectStatusViewAgeAssuranceUpdatedBy<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for SubjectStatusViewAgeAssuranceUpdatedBy<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for SubjectStatusViewAgeAssuranceUpdatedBy<'_> { + type Output = SubjectStatusViewAgeAssuranceUpdatedBy<'static>; + fn into_static(self) -> Self::Output { + match self { + SubjectStatusViewAgeAssuranceUpdatedBy::Admin => { + SubjectStatusViewAgeAssuranceUpdatedBy::Admin + } + SubjectStatusViewAgeAssuranceUpdatedBy::User => { + SubjectStatusViewAgeAssuranceUpdatedBy::User + } + SubjectStatusViewAgeAssuranceUpdatedBy::Other(v) => { + SubjectStatusViewAgeAssuranceUpdatedBy::Other(v.into_static()) + } + } + } +} + #[jacquard_derive::open_union] #[derive( serde::Serialize, @@ -13772,51 +14767,51 @@ pub mod video_details_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Height; type Length; type Width; + type Height; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Height = Unset; type Length = Unset; type Width = Unset; - } - ///State transition - sets the `height` field to Set - pub struct SetHeight(PhantomData S>); - impl sealed::Sealed for SetHeight {} - impl State for SetHeight { - type Height = Set; - type Length = S::Length; - type Width = S::Width; + type Height = Unset; } ///State transition - sets the `length` field to Set pub struct SetLength(PhantomData S>); impl sealed::Sealed for SetLength {} impl State for SetLength { - type Height = S::Height; type Length = Set; type Width = S::Width; + type Height = S::Height; } ///State transition - sets the `width` field to Set pub struct SetWidth(PhantomData S>); impl sealed::Sealed for SetWidth {} impl State for SetWidth { - type Height = S::Height; type Length = S::Length; type Width = Set; + type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Length = S::Length; + type Width = S::Width; + type Height = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `height` field - pub struct height(()); ///Marker type for the `length` field pub struct length(()); ///Marker type for the `width` field pub struct width(()); + ///Marker type for the `height` field + pub struct height(()); } } @@ -13909,9 +14904,9 @@ where impl<'a, S> VideoDetailsBuilder<'a, S> where S: video_details_state::State, - S::Height: video_details_state::IsSet, S::Length: video_details_state::IsSet, S::Width: video_details_state::IsSet, + S::Height: video_details_state::IsSet, { /// Build the final struct pub fn build(self) -> VideoDetails<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs b/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs index 88bc151d..fc589c0a 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs @@ -37,37 +37,37 @@ pub mod cancellation_results_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Failed; type Succeeded; + type Failed; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Failed = Unset; type Succeeded = Unset; - } - ///State transition - sets the `failed` field to Set - pub struct SetFailed(PhantomData S>); - impl sealed::Sealed for SetFailed {} - impl State for SetFailed { - type Failed = Set; - type Succeeded = S::Succeeded; + type Failed = Unset; } ///State transition - sets the `succeeded` field to Set pub struct SetSucceeded(PhantomData S>); impl sealed::Sealed for SetSucceeded {} impl State for SetSucceeded { - type Failed = S::Failed; type Succeeded = Set; + type Failed = S::Failed; + } + ///State transition - sets the `failed` field to Set + pub struct SetFailed(PhantomData S>); + impl sealed::Sealed for SetFailed {} + impl State for SetFailed { + type Succeeded = S::Succeeded; + type Failed = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `failed` field - pub struct failed(()); ///Marker type for the `succeeded` field pub struct succeeded(()); + ///Marker type for the `failed` field + pub struct failed(()); } } @@ -152,8 +152,8 @@ where impl<'a, S> CancellationResultsBuilder<'a, S> where S: cancellation_results_state::State, - S::Failed: cancellation_results_state::IsSet, S::Succeeded: cancellation_results_state::IsSet, + S::Failed: cancellation_results_state::IsSet, { /// Build the final struct pub fn build(self) -> CancellationResults<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs b/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs index 3cd1fd5a..6c7c037b 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs @@ -48,50 +48,50 @@ pub mod emit_event_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type CreatedBy; - type Event; type Subject; + type Event; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type CreatedBy = Unset; - type Event = Unset; type Subject = Unset; + type Event = Unset; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { type CreatedBy = Set; - type Event = S::Event; - type Subject = S::Subject; - } - ///State transition - sets the `event` field to Set - pub struct SetEvent(PhantomData S>); - impl sealed::Sealed for SetEvent {} - impl State for SetEvent { - type CreatedBy = S::CreatedBy; - type Event = Set; type Subject = S::Subject; + type Event = S::Event; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { type CreatedBy = S::CreatedBy; - type Event = S::Event; type Subject = Set; + type Event = S::Event; + } + ///State transition - sets the `event` field to Set + pub struct SetEvent(PhantomData S>); + impl sealed::Sealed for SetEvent {} + impl State for SetEvent { + type CreatedBy = S::CreatedBy; + type Subject = S::Subject; + type Event = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `created_by` field pub struct created_by(()); - ///Marker type for the `event` field - pub struct event(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `event` field + pub struct event(()); } } @@ -245,8 +245,8 @@ impl<'a, S> EmitEventBuilder<'a, S> where S: emit_event_state::State, S::CreatedBy: emit_event_state::IsSet, - S::Event: emit_event_state::IsSet, S::Subject: emit_event_state::IsSet, + S::Event: emit_event_state::IsSet, { /// Build the final struct pub fn build(self) -> EmitEvent<'a> { @@ -417,8 +417,8 @@ pub enum EmitEventError<'a> { DuplicateExternalId(std::option::Option>), } -impl std::fmt::Display for EmitEventError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for EmitEventError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::SubjectHasAction(msg) => { write!(f, "SubjectHasAction")?; diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs index 32c69260..0079811e 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs @@ -148,8 +148,8 @@ pub enum GetAccountTimelineError<'a> { RepoNotFound(std::option::Option>), } -impl std::fmt::Display for GetAccountTimelineError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetAccountTimelineError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; @@ -219,37 +219,37 @@ pub mod timeline_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Day; type Summary; + type Day; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Day = Unset; type Summary = Unset; - } - ///State transition - sets the `day` field to Set - pub struct SetDay(PhantomData S>); - impl sealed::Sealed for SetDay {} - impl State for SetDay { - type Day = Set; - type Summary = S::Summary; + type Day = Unset; } ///State transition - sets the `summary` field to Set pub struct SetSummary(PhantomData S>); impl sealed::Sealed for SetSummary {} impl State for SetSummary { - type Day = S::Day; type Summary = Set; + type Day = S::Day; + } + ///State transition - sets the `day` field to Set + pub struct SetDay(PhantomData S>); + impl sealed::Sealed for SetDay {} + impl State for SetDay { + type Summary = S::Summary; + type Day = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `day` field - pub struct day(()); ///Marker type for the `summary` field pub struct summary(()); + ///Marker type for the `day` field + pub struct day(()); } } @@ -334,8 +334,8 @@ where impl<'a, S> TimelineItemBuilder<'a, S> where S: timeline_item_state::State, - S::Day: timeline_item_state::IsSet, S::Summary: timeline_item_state::IsSet, + S::Day: timeline_item_state::IsSet, { /// Build the final struct pub fn build(self) -> TimelineItem<'a> { @@ -560,9 +560,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TimelineItem<'a> { pub struct TimelineItemSummary<'a> { pub count: i64, #[serde(borrow)] - pub event_subject_type: jacquard_common::CowStr<'a>, + pub event_subject_type: TimelineItemSummaryEventSubjectType<'a>, #[serde(borrow)] - pub event_type: jacquard_common::CowStr<'a>, + pub event_type: TimelineItemSummaryEventType<'a>, } pub mod timeline_item_summary_state { @@ -575,51 +575,51 @@ pub mod timeline_item_summary_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type EventType; type Count; type EventSubjectType; + type EventType; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type EventType = Unset; type Count = Unset; type EventSubjectType = Unset; - } - ///State transition - sets the `event_type` field to Set - pub struct SetEventType(PhantomData S>); - impl sealed::Sealed for SetEventType {} - impl State for SetEventType { - type EventType = Set; - type Count = S::Count; - type EventSubjectType = S::EventSubjectType; + type EventType = Unset; } ///State transition - sets the `count` field to Set pub struct SetCount(PhantomData S>); impl sealed::Sealed for SetCount {} impl State for SetCount { - type EventType = S::EventType; type Count = Set; type EventSubjectType = S::EventSubjectType; + type EventType = S::EventType; } ///State transition - sets the `event_subject_type` field to Set pub struct SetEventSubjectType(PhantomData S>); impl sealed::Sealed for SetEventSubjectType {} impl State for SetEventSubjectType { - type EventType = S::EventType; type Count = S::Count; type EventSubjectType = Set; + type EventType = S::EventType; + } + ///State transition - sets the `event_type` field to Set + pub struct SetEventType(PhantomData S>); + impl sealed::Sealed for SetEventType {} + impl State for SetEventType { + type Count = S::Count; + type EventSubjectType = S::EventSubjectType; + type EventType = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `event_type` field - pub struct event_type(()); ///Marker type for the `count` field pub struct count(()); ///Marker type for the `event_subject_type` field pub struct event_subject_type(()); + ///Marker type for the `event_type` field + pub struct event_type(()); } } @@ -628,8 +628,8 @@ pub struct TimelineItemSummaryBuilder<'a, S: timeline_item_summary_state::State> _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -679,7 +679,7 @@ where /// Set the `eventSubjectType` field (required) pub fn event_subject_type( mut self, - value: impl Into>, + value: impl Into>, ) -> TimelineItemSummaryBuilder< 'a, timeline_item_summary_state::SetEventSubjectType, @@ -701,7 +701,7 @@ where /// Set the `eventType` field (required) pub fn event_type( mut self, - value: impl Into>, + value: impl Into>, ) -> TimelineItemSummaryBuilder<'a, timeline_item_summary_state::SetEventType> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); TimelineItemSummaryBuilder { @@ -715,9 +715,9 @@ where impl<'a, S> TimelineItemSummaryBuilder<'a, S> where S: timeline_item_summary_state::State, - S::EventType: timeline_item_summary_state::IsSet, S::Count: timeline_item_summary_state::IsSet, S::EventSubjectType: timeline_item_summary_state::IsSet, + S::EventType: timeline_item_summary_state::IsSet, { /// Build the final struct pub fn build(self) -> TimelineItemSummary<'a> { @@ -745,6 +745,500 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum TimelineItemSummaryEventSubjectType<'a> { + Account, + Record, + Chat, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> TimelineItemSummaryEventSubjectType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Account => "account", + Self::Record => "record", + Self::Chat => "chat", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for TimelineItemSummaryEventSubjectType<'a> { + fn from(s: &'a str) -> Self { + match s { + "account" => Self::Account, + "record" => Self::Record, + "chat" => Self::Chat, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for TimelineItemSummaryEventSubjectType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "account" => Self::Account, + "record" => Self::Record, + "chat" => Self::Chat, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for TimelineItemSummaryEventSubjectType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for TimelineItemSummaryEventSubjectType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for TimelineItemSummaryEventSubjectType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for TimelineItemSummaryEventSubjectType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for TimelineItemSummaryEventSubjectType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for TimelineItemSummaryEventSubjectType<'_> { + type Output = TimelineItemSummaryEventSubjectType<'static>; + fn into_static(self) -> Self::Output { + match self { + TimelineItemSummaryEventSubjectType::Account => { + TimelineItemSummaryEventSubjectType::Account + } + TimelineItemSummaryEventSubjectType::Record => { + TimelineItemSummaryEventSubjectType::Record + } + TimelineItemSummaryEventSubjectType::Chat => { + TimelineItemSummaryEventSubjectType::Chat + } + TimelineItemSummaryEventSubjectType::Other(v) => { + TimelineItemSummaryEventSubjectType::Other(v.into_static()) + } + } + } +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum TimelineItemSummaryEventType<'a> { + ModEventTakedown, + ModEventReverseTakedown, + ModEventComment, + ModEventReport, + ModEventLabel, + ModEventAcknowledge, + ModEventEscalate, + ModEventMute, + ModEventUnmute, + ModEventMuteReporter, + ModEventUnmuteReporter, + ModEventEmail, + ModEventResolveAppeal, + ModEventDivert, + ModEventTag, + AccountEvent, + IdentityEvent, + RecordEvent, + ModEventPriorityScore, + RevokeAccountCredentialsEvent, + AgeAssuranceEvent, + AgeAssuranceOverrideEvent, + TimelineEventPlcCreate, + TimelineEventPlcOperation, + TimelineEventPlcTombstone, + AccountCreated, + EmailConfirmed, + PasswordUpdated, + HandleUpdated, + ScheduleTakedownEvent, + CancelScheduledTakedownEvent, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> TimelineItemSummaryEventType<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::ModEventTakedown => "tools.ozone.moderation.defs#modEventTakedown", + Self::ModEventReverseTakedown => { + "tools.ozone.moderation.defs#modEventReverseTakedown" + } + Self::ModEventComment => "tools.ozone.moderation.defs#modEventComment", + Self::ModEventReport => "tools.ozone.moderation.defs#modEventReport", + Self::ModEventLabel => "tools.ozone.moderation.defs#modEventLabel", + Self::ModEventAcknowledge => { + "tools.ozone.moderation.defs#modEventAcknowledge" + } + Self::ModEventEscalate => "tools.ozone.moderation.defs#modEventEscalate", + Self::ModEventMute => "tools.ozone.moderation.defs#modEventMute", + Self::ModEventUnmute => "tools.ozone.moderation.defs#modEventUnmute", + Self::ModEventMuteReporter => { + "tools.ozone.moderation.defs#modEventMuteReporter" + } + Self::ModEventUnmuteReporter => { + "tools.ozone.moderation.defs#modEventUnmuteReporter" + } + Self::ModEventEmail => "tools.ozone.moderation.defs#modEventEmail", + Self::ModEventResolveAppeal => { + "tools.ozone.moderation.defs#modEventResolveAppeal" + } + Self::ModEventDivert => "tools.ozone.moderation.defs#modEventDivert", + Self::ModEventTag => "tools.ozone.moderation.defs#modEventTag", + Self::AccountEvent => "tools.ozone.moderation.defs#accountEvent", + Self::IdentityEvent => "tools.ozone.moderation.defs#identityEvent", + Self::RecordEvent => "tools.ozone.moderation.defs#recordEvent", + Self::ModEventPriorityScore => { + "tools.ozone.moderation.defs#modEventPriorityScore" + } + Self::RevokeAccountCredentialsEvent => { + "tools.ozone.moderation.defs#revokeAccountCredentialsEvent" + } + Self::AgeAssuranceEvent => "tools.ozone.moderation.defs#ageAssuranceEvent", + Self::AgeAssuranceOverrideEvent => { + "tools.ozone.moderation.defs#ageAssuranceOverrideEvent" + } + Self::TimelineEventPlcCreate => { + "tools.ozone.moderation.defs#timelineEventPlcCreate" + } + Self::TimelineEventPlcOperation => { + "tools.ozone.moderation.defs#timelineEventPlcOperation" + } + Self::TimelineEventPlcTombstone => { + "tools.ozone.moderation.defs#timelineEventPlcTombstone" + } + Self::AccountCreated => { + "tools.ozone.hosting.getAccountHistory#accountCreated" + } + Self::EmailConfirmed => { + "tools.ozone.hosting.getAccountHistory#emailConfirmed" + } + Self::PasswordUpdated => { + "tools.ozone.hosting.getAccountHistory#passwordUpdated" + } + Self::HandleUpdated => "tools.ozone.hosting.getAccountHistory#handleUpdated", + Self::ScheduleTakedownEvent => { + "tools.ozone.moderation.defs#scheduleTakedownEvent" + } + Self::CancelScheduledTakedownEvent => { + "tools.ozone.moderation.defs#cancelScheduledTakedownEvent" + } + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for TimelineItemSummaryEventType<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.moderation.defs#modEventTakedown" => Self::ModEventTakedown, + "tools.ozone.moderation.defs#modEventReverseTakedown" => { + Self::ModEventReverseTakedown + } + "tools.ozone.moderation.defs#modEventComment" => Self::ModEventComment, + "tools.ozone.moderation.defs#modEventReport" => Self::ModEventReport, + "tools.ozone.moderation.defs#modEventLabel" => Self::ModEventLabel, + "tools.ozone.moderation.defs#modEventAcknowledge" => { + Self::ModEventAcknowledge + } + "tools.ozone.moderation.defs#modEventEscalate" => Self::ModEventEscalate, + "tools.ozone.moderation.defs#modEventMute" => Self::ModEventMute, + "tools.ozone.moderation.defs#modEventUnmute" => Self::ModEventUnmute, + "tools.ozone.moderation.defs#modEventMuteReporter" => { + Self::ModEventMuteReporter + } + "tools.ozone.moderation.defs#modEventUnmuteReporter" => { + Self::ModEventUnmuteReporter + } + "tools.ozone.moderation.defs#modEventEmail" => Self::ModEventEmail, + "tools.ozone.moderation.defs#modEventResolveAppeal" => { + Self::ModEventResolveAppeal + } + "tools.ozone.moderation.defs#modEventDivert" => Self::ModEventDivert, + "tools.ozone.moderation.defs#modEventTag" => Self::ModEventTag, + "tools.ozone.moderation.defs#accountEvent" => Self::AccountEvent, + "tools.ozone.moderation.defs#identityEvent" => Self::IdentityEvent, + "tools.ozone.moderation.defs#recordEvent" => Self::RecordEvent, + "tools.ozone.moderation.defs#modEventPriorityScore" => { + Self::ModEventPriorityScore + } + "tools.ozone.moderation.defs#revokeAccountCredentialsEvent" => { + Self::RevokeAccountCredentialsEvent + } + "tools.ozone.moderation.defs#ageAssuranceEvent" => Self::AgeAssuranceEvent, + "tools.ozone.moderation.defs#ageAssuranceOverrideEvent" => { + Self::AgeAssuranceOverrideEvent + } + "tools.ozone.moderation.defs#timelineEventPlcCreate" => { + Self::TimelineEventPlcCreate + } + "tools.ozone.moderation.defs#timelineEventPlcOperation" => { + Self::TimelineEventPlcOperation + } + "tools.ozone.moderation.defs#timelineEventPlcTombstone" => { + Self::TimelineEventPlcTombstone + } + "tools.ozone.hosting.getAccountHistory#accountCreated" => { + Self::AccountCreated + } + "tools.ozone.hosting.getAccountHistory#emailConfirmed" => { + Self::EmailConfirmed + } + "tools.ozone.hosting.getAccountHistory#passwordUpdated" => { + Self::PasswordUpdated + } + "tools.ozone.hosting.getAccountHistory#handleUpdated" => Self::HandleUpdated, + "tools.ozone.moderation.defs#scheduleTakedownEvent" => { + Self::ScheduleTakedownEvent + } + "tools.ozone.moderation.defs#cancelScheduledTakedownEvent" => { + Self::CancelScheduledTakedownEvent + } + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for TimelineItemSummaryEventType<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.moderation.defs#modEventTakedown" => Self::ModEventTakedown, + "tools.ozone.moderation.defs#modEventReverseTakedown" => { + Self::ModEventReverseTakedown + } + "tools.ozone.moderation.defs#modEventComment" => Self::ModEventComment, + "tools.ozone.moderation.defs#modEventReport" => Self::ModEventReport, + "tools.ozone.moderation.defs#modEventLabel" => Self::ModEventLabel, + "tools.ozone.moderation.defs#modEventAcknowledge" => { + Self::ModEventAcknowledge + } + "tools.ozone.moderation.defs#modEventEscalate" => Self::ModEventEscalate, + "tools.ozone.moderation.defs#modEventMute" => Self::ModEventMute, + "tools.ozone.moderation.defs#modEventUnmute" => Self::ModEventUnmute, + "tools.ozone.moderation.defs#modEventMuteReporter" => { + Self::ModEventMuteReporter + } + "tools.ozone.moderation.defs#modEventUnmuteReporter" => { + Self::ModEventUnmuteReporter + } + "tools.ozone.moderation.defs#modEventEmail" => Self::ModEventEmail, + "tools.ozone.moderation.defs#modEventResolveAppeal" => { + Self::ModEventResolveAppeal + } + "tools.ozone.moderation.defs#modEventDivert" => Self::ModEventDivert, + "tools.ozone.moderation.defs#modEventTag" => Self::ModEventTag, + "tools.ozone.moderation.defs#accountEvent" => Self::AccountEvent, + "tools.ozone.moderation.defs#identityEvent" => Self::IdentityEvent, + "tools.ozone.moderation.defs#recordEvent" => Self::RecordEvent, + "tools.ozone.moderation.defs#modEventPriorityScore" => { + Self::ModEventPriorityScore + } + "tools.ozone.moderation.defs#revokeAccountCredentialsEvent" => { + Self::RevokeAccountCredentialsEvent + } + "tools.ozone.moderation.defs#ageAssuranceEvent" => Self::AgeAssuranceEvent, + "tools.ozone.moderation.defs#ageAssuranceOverrideEvent" => { + Self::AgeAssuranceOverrideEvent + } + "tools.ozone.moderation.defs#timelineEventPlcCreate" => { + Self::TimelineEventPlcCreate + } + "tools.ozone.moderation.defs#timelineEventPlcOperation" => { + Self::TimelineEventPlcOperation + } + "tools.ozone.moderation.defs#timelineEventPlcTombstone" => { + Self::TimelineEventPlcTombstone + } + "tools.ozone.hosting.getAccountHistory#accountCreated" => { + Self::AccountCreated + } + "tools.ozone.hosting.getAccountHistory#emailConfirmed" => { + Self::EmailConfirmed + } + "tools.ozone.hosting.getAccountHistory#passwordUpdated" => { + Self::PasswordUpdated + } + "tools.ozone.hosting.getAccountHistory#handleUpdated" => Self::HandleUpdated, + "tools.ozone.moderation.defs#scheduleTakedownEvent" => { + Self::ScheduleTakedownEvent + } + "tools.ozone.moderation.defs#cancelScheduledTakedownEvent" => { + Self::CancelScheduledTakedownEvent + } + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for TimelineItemSummaryEventType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for TimelineItemSummaryEventType<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for TimelineItemSummaryEventType<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for TimelineItemSummaryEventType<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for TimelineItemSummaryEventType<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for TimelineItemSummaryEventType<'_> { + type Output = TimelineItemSummaryEventType<'static>; + fn into_static(self) -> Self::Output { + match self { + TimelineItemSummaryEventType::ModEventTakedown => { + TimelineItemSummaryEventType::ModEventTakedown + } + TimelineItemSummaryEventType::ModEventReverseTakedown => { + TimelineItemSummaryEventType::ModEventReverseTakedown + } + TimelineItemSummaryEventType::ModEventComment => { + TimelineItemSummaryEventType::ModEventComment + } + TimelineItemSummaryEventType::ModEventReport => { + TimelineItemSummaryEventType::ModEventReport + } + TimelineItemSummaryEventType::ModEventLabel => { + TimelineItemSummaryEventType::ModEventLabel + } + TimelineItemSummaryEventType::ModEventAcknowledge => { + TimelineItemSummaryEventType::ModEventAcknowledge + } + TimelineItemSummaryEventType::ModEventEscalate => { + TimelineItemSummaryEventType::ModEventEscalate + } + TimelineItemSummaryEventType::ModEventMute => { + TimelineItemSummaryEventType::ModEventMute + } + TimelineItemSummaryEventType::ModEventUnmute => { + TimelineItemSummaryEventType::ModEventUnmute + } + TimelineItemSummaryEventType::ModEventMuteReporter => { + TimelineItemSummaryEventType::ModEventMuteReporter + } + TimelineItemSummaryEventType::ModEventUnmuteReporter => { + TimelineItemSummaryEventType::ModEventUnmuteReporter + } + TimelineItemSummaryEventType::ModEventEmail => { + TimelineItemSummaryEventType::ModEventEmail + } + TimelineItemSummaryEventType::ModEventResolveAppeal => { + TimelineItemSummaryEventType::ModEventResolveAppeal + } + TimelineItemSummaryEventType::ModEventDivert => { + TimelineItemSummaryEventType::ModEventDivert + } + TimelineItemSummaryEventType::ModEventTag => { + TimelineItemSummaryEventType::ModEventTag + } + TimelineItemSummaryEventType::AccountEvent => { + TimelineItemSummaryEventType::AccountEvent + } + TimelineItemSummaryEventType::IdentityEvent => { + TimelineItemSummaryEventType::IdentityEvent + } + TimelineItemSummaryEventType::RecordEvent => { + TimelineItemSummaryEventType::RecordEvent + } + TimelineItemSummaryEventType::ModEventPriorityScore => { + TimelineItemSummaryEventType::ModEventPriorityScore + } + TimelineItemSummaryEventType::RevokeAccountCredentialsEvent => { + TimelineItemSummaryEventType::RevokeAccountCredentialsEvent + } + TimelineItemSummaryEventType::AgeAssuranceEvent => { + TimelineItemSummaryEventType::AgeAssuranceEvent + } + TimelineItemSummaryEventType::AgeAssuranceOverrideEvent => { + TimelineItemSummaryEventType::AgeAssuranceOverrideEvent + } + TimelineItemSummaryEventType::TimelineEventPlcCreate => { + TimelineItemSummaryEventType::TimelineEventPlcCreate + } + TimelineItemSummaryEventType::TimelineEventPlcOperation => { + TimelineItemSummaryEventType::TimelineEventPlcOperation + } + TimelineItemSummaryEventType::TimelineEventPlcTombstone => { + TimelineItemSummaryEventType::TimelineEventPlcTombstone + } + TimelineItemSummaryEventType::AccountCreated => { + TimelineItemSummaryEventType::AccountCreated + } + TimelineItemSummaryEventType::EmailConfirmed => { + TimelineItemSummaryEventType::EmailConfirmed + } + TimelineItemSummaryEventType::PasswordUpdated => { + TimelineItemSummaryEventType::PasswordUpdated + } + TimelineItemSummaryEventType::HandleUpdated => { + TimelineItemSummaryEventType::HandleUpdated + } + TimelineItemSummaryEventType::ScheduleTakedownEvent => { + TimelineItemSummaryEventType::ScheduleTakedownEvent + } + TimelineItemSummaryEventType::CancelScheduledTakedownEvent => { + TimelineItemSummaryEventType::CancelScheduledTakedownEvent + } + TimelineItemSummaryEventType::Other(v) => { + TimelineItemSummaryEventType::Other(v.into_static()) + } + } + } +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TimelineItemSummary<'a> { fn nsid() -> &'static str { "tools.ozone.moderation.getAccountTimeline" diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs index 9b7376d6..d72391b6 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs @@ -171,8 +171,8 @@ pub enum GetRecordError<'a> { RecordNotFound(std::option::Option>), } -impl std::fmt::Display for GetRecordError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRecordError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RecordNotFound(msg) => { write!(f, "RecordNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs index 09e34097..f6b0271a 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs @@ -147,8 +147,8 @@ pub enum GetRepoError<'a> { RepoNotFound(std::option::Option>), } -impl std::fmt::Display for GetRepoError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetRepoError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RepoNotFound(msg) => { write!(f, "RepoNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs b/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs index 8ac3ada5..a1008e2c 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs @@ -36,37 +36,37 @@ pub mod failed_scheduling_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Error; type Subject; + type Error; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Error = Unset; type Subject = Unset; - } - ///State transition - sets the `error` field to Set - pub struct SetError(PhantomData S>); - impl sealed::Sealed for SetError {} - impl State for SetError { - type Error = Set; - type Subject = S::Subject; + type Error = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Error = S::Error; type Subject = Set; + type Error = S::Error; + } + ///State transition - sets the `error` field to Set + pub struct SetError(PhantomData S>); + impl sealed::Sealed for SetError {} + impl State for SetError { + type Subject = S::Subject; + type Error = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `error` field - pub struct error(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `error` field + pub struct error(()); } } @@ -159,8 +159,8 @@ where impl<'a, S> FailedSchedulingBuilder<'a, S> where S: failed_scheduling_state::State, - S::Error: failed_scheduling_state::IsSet, S::Subject: failed_scheduling_state::IsSet, + S::Error: failed_scheduling_state::IsSet, { /// Build the final struct pub fn build(self) -> FailedScheduling<'a> { @@ -761,67 +761,67 @@ pub mod schedule_action_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Subjects; type Action; - type CreatedBy; type Scheduling; - type Subjects; + type CreatedBy; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Subjects = Unset; type Action = Unset; - type CreatedBy = Unset; type Scheduling = Unset; - type Subjects = Unset; + type CreatedBy = Unset; + } + ///State transition - sets the `subjects` field to Set + pub struct SetSubjects(PhantomData S>); + impl sealed::Sealed for SetSubjects {} + impl State for SetSubjects { + type Subjects = Set; + type Action = S::Action; + type Scheduling = S::Scheduling; + type CreatedBy = S::CreatedBy; } ///State transition - sets the `action` field to Set pub struct SetAction(PhantomData S>); impl sealed::Sealed for SetAction {} impl State for SetAction { - type Action = Set; - type CreatedBy = S::CreatedBy; - type Scheduling = S::Scheduling; type Subjects = S::Subjects; - } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { - type Action = S::Action; - type CreatedBy = Set; + type Action = Set; type Scheduling = S::Scheduling; - type Subjects = S::Subjects; + type CreatedBy = S::CreatedBy; } ///State transition - sets the `scheduling` field to Set pub struct SetScheduling(PhantomData S>); impl sealed::Sealed for SetScheduling {} impl State for SetScheduling { + type Subjects = S::Subjects; type Action = S::Action; - type CreatedBy = S::CreatedBy; type Scheduling = Set; - type Subjects = S::Subjects; + type CreatedBy = S::CreatedBy; } - ///State transition - sets the `subjects` field to Set - pub struct SetSubjects(PhantomData S>); - impl sealed::Sealed for SetSubjects {} - impl State for SetSubjects { + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { + type Subjects = S::Subjects; type Action = S::Action; - type CreatedBy = S::CreatedBy; type Scheduling = S::Scheduling; - type Subjects = Set; + type CreatedBy = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `subjects` field + pub struct subjects(()); ///Marker type for the `action` field pub struct action(()); - ///Marker type for the `created_by` field - pub struct created_by(()); ///Marker type for the `scheduling` field pub struct scheduling(()); - ///Marker type for the `subjects` field - pub struct subjects(()); + ///Marker type for the `created_by` field + pub struct created_by(()); } } @@ -960,10 +960,10 @@ where impl<'a, S> ScheduleActionBuilder<'a, S> where S: schedule_action_state::State, + S::Subjects: schedule_action_state::IsSet, S::Action: schedule_action_state::IsSet, - S::CreatedBy: schedule_action_state::IsSet, S::Scheduling: schedule_action_state::IsSet, - S::Subjects: schedule_action_state::IsSet, + S::CreatedBy: schedule_action_state::IsSet, { /// Build the final struct pub fn build(self) -> ScheduleAction<'a> { @@ -1072,37 +1072,37 @@ pub mod scheduled_action_results_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Failed; type Succeeded; + type Failed; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Failed = Unset; type Succeeded = Unset; - } - ///State transition - sets the `failed` field to Set - pub struct SetFailed(PhantomData S>); - impl sealed::Sealed for SetFailed {} - impl State for SetFailed { - type Failed = Set; - type Succeeded = S::Succeeded; + type Failed = Unset; } ///State transition - sets the `succeeded` field to Set pub struct SetSucceeded(PhantomData S>); impl sealed::Sealed for SetSucceeded {} impl State for SetSucceeded { - type Failed = S::Failed; type Succeeded = Set; + type Failed = S::Failed; + } + ///State transition - sets the `failed` field to Set + pub struct SetFailed(PhantomData S>); + impl sealed::Sealed for SetFailed {} + impl State for SetFailed { + type Succeeded = S::Succeeded; + type Failed = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `failed` field - pub struct failed(()); ///Marker type for the `succeeded` field pub struct succeeded(()); + ///Marker type for the `failed` field + pub struct failed(()); } } @@ -1188,8 +1188,8 @@ where impl<'a, S> ScheduledActionResultsBuilder<'a, S> where S: scheduled_action_results_state::State, - S::Failed: scheduled_action_results_state::IsSet, S::Succeeded: scheduled_action_results_state::IsSet, + S::Failed: scheduled_action_results_state::IsSet, { /// Build the final struct pub fn build(self) -> ScheduledActionResults<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/report.rs b/crates/jacquard-api/src/tools_ozone/report.rs index 20d899f7..1fbbebec 100644 --- a/crates/jacquard-api/src/tools_ozone/report.rs +++ b/crates/jacquard-api/src/tools_ozone/report.rs @@ -1034,6 +1034,12 @@ impl<'a> AsRef for ReasonType<'a> { } } +impl<'a> core::fmt::Display for ReasonType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ReasonType<'a> { fn serialize(&self, serializer: S) -> Result where diff --git a/crates/jacquard-api/src/tools_ozone/safelink.rs b/crates/jacquard-api/src/tools_ozone/safelink.rs index 7dbd4996..f56dcb51 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink.rs @@ -58,6 +58,12 @@ impl<'a> AsRef for ActionType<'a> { } } +impl<'a> core::fmt::Display for ActionType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ActionType<'a> { fn serialize(&self, serializer: S) -> Result where @@ -140,12 +146,12 @@ pub mod event_state { pub trait State: sealed::Sealed { type Url; type CreatedBy; - type Reason; + type Action; type Id; - type Pattern; type EventType; - type Action; type CreatedAt; + type Pattern; + type Reason; } /// Empty state - all required fields are unset pub struct Empty(()); @@ -153,12 +159,12 @@ pub mod event_state { impl State for Empty { type Url = Unset; type CreatedBy = Unset; - type Reason = Unset; + type Action = Unset; type Id = Unset; - type Pattern = Unset; type EventType = Unset; - type Action = Unset; type CreatedAt = Unset; + type Pattern = Unset; + type Reason = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); @@ -166,12 +172,12 @@ pub mod event_state { impl State for SetUrl { type Url = Set; type CreatedBy = S::CreatedBy; - type Reason = S::Reason; + type Action = S::Action; type Id = S::Id; - type Pattern = S::Pattern; type EventType = S::EventType; - type Action = S::Action; type CreatedAt = S::CreatedAt; + type Pattern = S::Pattern; + type Reason = S::Reason; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); @@ -179,25 +185,25 @@ pub mod event_state { impl State for SetCreatedBy { type Url = S::Url; type CreatedBy = Set; - type Reason = S::Reason; + type Action = S::Action; type Id = S::Id; - type Pattern = S::Pattern; type EventType = S::EventType; - type Action = S::Action; type CreatedAt = S::CreatedAt; + type Pattern = S::Pattern; + type Reason = S::Reason; } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { type Url = S::Url; type CreatedBy = S::CreatedBy; - type Reason = Set; + type Action = Set; type Id = S::Id; - type Pattern = S::Pattern; type EventType = S::EventType; - type Action = S::Action; type CreatedAt = S::CreatedAt; + type Pattern = S::Pattern; + type Reason = S::Reason; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); @@ -205,25 +211,12 @@ pub mod event_state { impl State for SetId { type Url = S::Url; type CreatedBy = S::CreatedBy; - type Reason = S::Reason; + type Action = S::Action; type Id = Set; - type Pattern = S::Pattern; type EventType = S::EventType; - type Action = S::Action; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `pattern` field to Set - pub struct SetPattern(PhantomData S>); - impl sealed::Sealed for SetPattern {} - impl State for SetPattern { - type Url = S::Url; - type CreatedBy = S::CreatedBy; + type Pattern = S::Pattern; type Reason = S::Reason; - type Id = S::Id; - type Pattern = Set; - type EventType = S::EventType; - type Action = S::Action; - type CreatedAt = S::CreatedAt; } ///State transition - sets the `event_type` field to Set pub struct SetEventType(PhantomData S>); @@ -231,25 +224,12 @@ pub mod event_state { impl State for SetEventType { type Url = S::Url; type CreatedBy = S::CreatedBy; - type Reason = S::Reason; + type Action = S::Action; type Id = S::Id; - type Pattern = S::Pattern; type EventType = Set; - type Action = S::Action; type CreatedAt = S::CreatedAt; - } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { - type Url = S::Url; - type CreatedBy = S::CreatedBy; - type Reason = S::Reason; - type Id = S::Id; type Pattern = S::Pattern; - type EventType = S::EventType; - type Action = Set; - type CreatedAt = S::CreatedAt; + type Reason = S::Reason; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); @@ -257,12 +237,38 @@ pub mod event_state { impl State for SetCreatedAt { type Url = S::Url; type CreatedBy = S::CreatedBy; - type Reason = S::Reason; + type Action = S::Action; type Id = S::Id; + type EventType = S::EventType; + type CreatedAt = Set; type Pattern = S::Pattern; + type Reason = S::Reason; + } + ///State transition - sets the `pattern` field to Set + pub struct SetPattern(PhantomData S>); + impl sealed::Sealed for SetPattern {} + impl State for SetPattern { + type Url = S::Url; + type CreatedBy = S::CreatedBy; + type Action = S::Action; + type Id = S::Id; type EventType = S::EventType; + type CreatedAt = S::CreatedAt; + type Pattern = Set; + type Reason = S::Reason; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Url = S::Url; + type CreatedBy = S::CreatedBy; type Action = S::Action; - type CreatedAt = Set; + type Id = S::Id; + type EventType = S::EventType; + type CreatedAt = S::CreatedAt; + type Pattern = S::Pattern; + type Reason = Set; } /// Marker types for field names #[allow(non_camel_case_types)] @@ -271,18 +277,18 @@ pub mod event_state { pub struct url(()); ///Marker type for the `created_by` field pub struct created_by(()); - ///Marker type for the `reason` field - pub struct reason(()); + ///Marker type for the `action` field + pub struct action(()); ///Marker type for the `id` field pub struct id(()); - ///Marker type for the `pattern` field - pub struct pattern(()); ///Marker type for the `event_type` field pub struct event_type(()); - ///Marker type for the `action` field - pub struct action(()); ///Marker type for the `created_at` field pub struct created_at(()); + ///Marker type for the `pattern` field + pub struct pattern(()); + ///Marker type for the `reason` field + pub struct reason(()); } } @@ -504,12 +510,12 @@ where S: event_state::State, S::Url: event_state::IsSet, S::CreatedBy: event_state::IsSet, - S::Reason: event_state::IsSet, + S::Action: event_state::IsSet, S::Id: event_state::IsSet, - S::Pattern: event_state::IsSet, S::EventType: event_state::IsSet, - S::Action: event_state::IsSet, S::CreatedAt: event_state::IsSet, + S::Pattern: event_state::IsSet, + S::Reason: event_state::IsSet, { /// Build the final struct pub fn build(self) -> Event<'a> { @@ -992,6 +998,12 @@ impl<'a> AsRef for EventType<'a> { } } +impl<'a> core::fmt::Display for EventType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for EventType<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1069,6 +1081,12 @@ impl<'a> AsRef for PatternType<'a> { } } +impl<'a> core::fmt::Display for PatternType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for PatternType<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1153,6 +1171,12 @@ impl<'a> AsRef for ReasonType<'a> { } } +impl<'a> core::fmt::Display for ReasonType<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + impl<'a> serde::Serialize for ReasonType<'a> { fn serialize(&self, serializer: S) -> Result where @@ -1233,127 +1257,127 @@ pub mod url_rule_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Reason; + type CreatedBy; type CreatedAt; - type Action; + type UpdatedAt; type Url; type Pattern; - type CreatedBy; - type UpdatedAt; - type Reason; + type Action; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Reason = Unset; + type CreatedBy = Unset; type CreatedAt = Unset; - type Action = Unset; + type UpdatedAt = Unset; type Url = Unset; type Pattern = Unset; - type CreatedBy = Unset; - type UpdatedAt = Unset; - type Reason = Unset; + type Action = Unset; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Reason = Set; + type CreatedBy = S::CreatedBy; + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Url = S::Url; + type Pattern = S::Pattern; + type Action = S::Action; + } + ///State transition - sets the `created_by` field to Set + pub struct SetCreatedBy(PhantomData S>); + impl sealed::Sealed for SetCreatedBy {} + impl State for SetCreatedBy { + type Reason = S::Reason; + type CreatedBy = Set; + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Url = S::Url; + type Pattern = S::Pattern; + type Action = S::Action; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type CreatedAt = Set; - type Action = S::Action; + type UpdatedAt = S::UpdatedAt; type Url = S::Url; type Pattern = S::Pattern; - type CreatedBy = S::CreatedBy; - type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; + type Action = S::Action; } - ///State transition - sets the `action` field to Set - pub struct SetAction(PhantomData S>); - impl sealed::Sealed for SetAction {} - impl State for SetAction { + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; - type Action = Set; + type UpdatedAt = Set; type Url = S::Url; type Pattern = S::Pattern; - type CreatedBy = S::CreatedBy; - type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; + type Action = S::Action; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; - type Action = S::Action; + type UpdatedAt = S::UpdatedAt; type Url = Set; type Pattern = S::Pattern; - type CreatedBy = S::CreatedBy; - type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; + type Action = S::Action; } ///State transition - sets the `pattern` field to Set pub struct SetPattern(PhantomData S>); impl sealed::Sealed for SetPattern {} impl State for SetPattern { + type Reason = S::Reason; + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; - type Action = S::Action; + type UpdatedAt = S::UpdatedAt; type Url = S::Url; type Pattern = Set; - type CreatedBy = S::CreatedBy; - type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; - } - ///State transition - sets the `created_by` field to Set - pub struct SetCreatedBy(PhantomData S>); - impl sealed::Sealed for SetCreatedBy {} - impl State for SetCreatedBy { - type CreatedAt = S::CreatedAt; type Action = S::Action; - type Url = S::Url; - type Pattern = S::Pattern; - type CreatedBy = Set; - type UpdatedAt = S::UpdatedAt; - type Reason = S::Reason; } - ///State transition - sets the `updated_at` field to Set - pub struct SetUpdatedAt(PhantomData S>); - impl sealed::Sealed for SetUpdatedAt {} - impl State for SetUpdatedAt { - type CreatedAt = S::CreatedAt; - type Action = S::Action; - type Url = S::Url; - type Pattern = S::Pattern; - type CreatedBy = S::CreatedBy; - type UpdatedAt = Set; + ///State transition - sets the `action` field to Set + pub struct SetAction(PhantomData S>); + impl sealed::Sealed for SetAction {} + impl State for SetAction { type Reason = S::Reason; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { + type CreatedBy = S::CreatedBy; type CreatedAt = S::CreatedAt; - type Action = S::Action; + type UpdatedAt = S::UpdatedAt; type Url = S::Url; type Pattern = S::Pattern; - type CreatedBy = S::CreatedBy; - type UpdatedAt = S::UpdatedAt; - type Reason = Set; + type Action = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `reason` field + pub struct reason(()); + ///Marker type for the `created_by` field + pub struct created_by(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `action` field - pub struct action(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); ///Marker type for the `url` field pub struct url(()); ///Marker type for the `pattern` field pub struct pattern(()); - ///Marker type for the `created_by` field - pub struct created_by(()); - ///Marker type for the `updated_at` field - pub struct updated_at(()); - ///Marker type for the `reason` field - pub struct reason(()); + ///Marker type for the `action` field + pub struct action(()); } } @@ -1543,13 +1567,13 @@ where impl<'a, S> UrlRuleBuilder<'a, S> where S: url_rule_state::State, + S::Reason: url_rule_state::IsSet, + S::CreatedBy: url_rule_state::IsSet, S::CreatedAt: url_rule_state::IsSet, - S::Action: url_rule_state::IsSet, + S::UpdatedAt: url_rule_state::IsSet, S::Url: url_rule_state::IsSet, S::Pattern: url_rule_state::IsSet, - S::CreatedBy: url_rule_state::IsSet, - S::UpdatedAt: url_rule_state::IsSet, - S::Reason: url_rule_state::IsSet, + S::Action: url_rule_state::IsSet, { /// Build the final struct pub fn build(self) -> UrlRule<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs b/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs index b8cba5d8..1dea244e 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs @@ -46,67 +46,67 @@ pub mod add_rule_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Pattern; type Url; - type Reason; + type Pattern; type Action; + type Reason; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Pattern = Unset; type Url = Unset; - type Reason = Unset; + type Pattern = Unset; type Action = Unset; - } - ///State transition - sets the `pattern` field to Set - pub struct SetPattern(PhantomData S>); - impl sealed::Sealed for SetPattern {} - impl State for SetPattern { - type Pattern = Set; - type Url = S::Url; - type Reason = S::Reason; - type Action = S::Action; + type Reason = Unset; } ///State transition - sets the `url` field to Set pub struct SetUrl(PhantomData S>); impl sealed::Sealed for SetUrl {} impl State for SetUrl { - type Pattern = S::Pattern; type Url = Set; - type Reason = S::Reason; + type Pattern = S::Pattern; type Action = S::Action; + type Reason = S::Reason; } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { - type Pattern = S::Pattern; + ///State transition - sets the `pattern` field to Set + pub struct SetPattern(PhantomData S>); + impl sealed::Sealed for SetPattern {} + impl State for SetPattern { type Url = S::Url; - type Reason = Set; + type Pattern = Set; type Action = S::Action; + type Reason = S::Reason; } ///State transition - sets the `action` field to Set pub struct SetAction(PhantomData S>); impl sealed::Sealed for SetAction {} impl State for SetAction { - type Pattern = S::Pattern; type Url = S::Url; - type Reason = S::Reason; + type Pattern = S::Pattern; type Action = Set; + type Reason = S::Reason; + } + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Url = S::Url; + type Pattern = S::Pattern; + type Action = S::Action; + type Reason = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `pattern` field - pub struct pattern(()); ///Marker type for the `url` field pub struct url(()); - ///Marker type for the `reason` field - pub struct reason(()); + ///Marker type for the `pattern` field + pub struct pattern(()); ///Marker type for the `action` field pub struct action(()); + ///Marker type for the `reason` field + pub struct reason(()); } } @@ -256,10 +256,10 @@ where impl<'a, S> AddRuleBuilder<'a, S> where S: add_rule_state::State, - S::Pattern: add_rule_state::IsSet, S::Url: add_rule_state::IsSet, - S::Reason: add_rule_state::IsSet, + S::Pattern: add_rule_state::IsSet, S::Action: add_rule_state::IsSet, + S::Reason: add_rule_state::IsSet, { /// Build the final struct pub fn build(self) -> AddRule<'a> { @@ -333,8 +333,8 @@ pub enum AddRuleError<'a> { RuleAlreadyExists(std::option::Option>), } -impl std::fmt::Display for AddRuleError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for AddRuleError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::InvalidUrl(msg) => { write!(f, "InvalidUrl")?; diff --git a/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs b/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs index 04285a3b..7bb5940f 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs @@ -32,13 +32,104 @@ pub struct QueryEvents<'a> { /// Sort direction #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub sort_direction: std::option::Option>, + pub sort_direction: std::option::Option>, /// Filter by specific URLs or domains #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub urls: std::option::Option>>, } +/// Sort direction +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum QueryEventsSortDirection<'a> { + Asc, + Desc, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> QueryEventsSortDirection<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Asc => "asc", + Self::Desc => "desc", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for QueryEventsSortDirection<'a> { + fn from(s: &'a str) -> Self { + match s { + "asc" => Self::Asc, + "desc" => Self::Desc, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for QueryEventsSortDirection<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "asc" => Self::Asc, + "desc" => Self::Desc, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for QueryEventsSortDirection<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for QueryEventsSortDirection<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for QueryEventsSortDirection<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for QueryEventsSortDirection<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for QueryEventsSortDirection<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for QueryEventsSortDirection<'_> { + type Output = QueryEventsSortDirection<'static>; + fn into_static(self) -> Self::Output { + match self { + QueryEventsSortDirection::Asc => QueryEventsSortDirection::Asc, + QueryEventsSortDirection::Desc => QueryEventsSortDirection::Desc, + QueryEventsSortDirection::Other(v) => { + QueryEventsSortDirection::Other(v.into_static()) + } + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs b/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs index c9af39ed..2ac59319 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs @@ -44,13 +44,104 @@ pub struct QueryRules<'a> { /// Sort direction #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub sort_direction: std::option::Option>, + pub sort_direction: std::option::Option>, /// Filter by specific URLs or domains #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub urls: std::option::Option>>, } +/// Sort direction +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum QueryRulesSortDirection<'a> { + Asc, + Desc, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> QueryRulesSortDirection<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Asc => "asc", + Self::Desc => "desc", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for QueryRulesSortDirection<'a> { + fn from(s: &'a str) -> Self { + match s { + "asc" => Self::Asc, + "desc" => Self::Desc, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for QueryRulesSortDirection<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "asc" => Self::Asc, + "desc" => Self::Desc, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for QueryRulesSortDirection<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for QueryRulesSortDirection<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for QueryRulesSortDirection<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for QueryRulesSortDirection<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for QueryRulesSortDirection<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for QueryRulesSortDirection<'_> { + type Output = QueryRulesSortDirection<'static>; + fn into_static(self) -> Self::Output { + match self { + QueryRulesSortDirection::Asc => QueryRulesSortDirection::Asc, + QueryRulesSortDirection::Desc => QueryRulesSortDirection::Desc, + QueryRulesSortDirection::Other(v) => { + QueryRulesSortDirection::Other(v.into_static()) + } + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs b/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs index c370f25a..45dfdab4 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs @@ -42,37 +42,37 @@ pub mod remove_rule_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; type Pattern; + type Url; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; type Pattern = Unset; - } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; - type Pattern = S::Pattern; + type Url = Unset; } ///State transition - sets the `pattern` field to Set pub struct SetPattern(PhantomData S>); impl sealed::Sealed for SetPattern {} impl State for SetPattern { - type Url = S::Url; type Pattern = Set; + type Url = S::Url; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Pattern = S::Pattern; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); ///Marker type for the `pattern` field pub struct pattern(()); + ///Marker type for the `url` field + pub struct url(()); } } @@ -182,8 +182,8 @@ where impl<'a, S> RemoveRuleBuilder<'a, S> where S: remove_rule_state::State, - S::Url: remove_rule_state::IsSet, S::Pattern: remove_rule_state::IsSet, + S::Url: remove_rule_state::IsSet, { /// Build the final struct pub fn build(self) -> RemoveRule<'a> { @@ -250,8 +250,8 @@ pub enum RemoveRuleError<'a> { RuleNotFound(std::option::Option>), } -impl std::fmt::Display for RemoveRuleError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for RemoveRuleError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RuleNotFound(msg) => { write!(f, "RuleNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs b/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs index 046a548a..a715db13 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs @@ -46,67 +46,67 @@ pub mod update_rule_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Url; + type Reason; type Action; type Pattern; - type Reason; + type Url; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Url = Unset; + type Reason = Unset; type Action = Unset; type Pattern = Unset; - type Reason = Unset; + type Url = Unset; } - ///State transition - sets the `url` field to Set - pub struct SetUrl(PhantomData S>); - impl sealed::Sealed for SetUrl {} - impl State for SetUrl { - type Url = Set; + ///State transition - sets the `reason` field to Set + pub struct SetReason(PhantomData S>); + impl sealed::Sealed for SetReason {} + impl State for SetReason { + type Reason = Set; type Action = S::Action; type Pattern = S::Pattern; - type Reason = S::Reason; + type Url = S::Url; } ///State transition - sets the `action` field to Set pub struct SetAction(PhantomData S>); impl sealed::Sealed for SetAction {} impl State for SetAction { - type Url = S::Url; + type Reason = S::Reason; type Action = Set; type Pattern = S::Pattern; - type Reason = S::Reason; + type Url = S::Url; } ///State transition - sets the `pattern` field to Set pub struct SetPattern(PhantomData S>); impl sealed::Sealed for SetPattern {} impl State for SetPattern { - type Url = S::Url; + type Reason = S::Reason; type Action = S::Action; type Pattern = Set; - type Reason = S::Reason; - } - ///State transition - sets the `reason` field to Set - pub struct SetReason(PhantomData S>); - impl sealed::Sealed for SetReason {} - impl State for SetReason { type Url = S::Url; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Reason = S::Reason; type Action = S::Action; type Pattern = S::Pattern; - type Reason = Set; + type Url = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `url` field - pub struct url(()); + ///Marker type for the `reason` field + pub struct reason(()); ///Marker type for the `action` field pub struct action(()); ///Marker type for the `pattern` field pub struct pattern(()); - ///Marker type for the `reason` field - pub struct reason(()); + ///Marker type for the `url` field + pub struct url(()); } } @@ -256,10 +256,10 @@ where impl<'a, S> UpdateRuleBuilder<'a, S> where S: update_rule_state::State, - S::Url: update_rule_state::IsSet, + S::Reason: update_rule_state::IsSet, S::Action: update_rule_state::IsSet, S::Pattern: update_rule_state::IsSet, - S::Reason: update_rule_state::IsSet, + S::Url: update_rule_state::IsSet, { /// Build the final struct pub fn build(self) -> UpdateRule<'a> { @@ -330,8 +330,8 @@ pub enum UpdateRuleError<'a> { RuleNotFound(std::option::Option>), } -impl std::fmt::Display for UpdateRuleError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for UpdateRuleError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::RuleNotFound(msg) => { write!(f, "RuleNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/server/get_config.rs b/crates/jacquard-api/src/tools_ozone/server/get_config.rs index 50f244f4..682f6150 100644 --- a/crates/jacquard-api/src/tools_ozone/server/get_config.rs +++ b/crates/jacquard-api/src/tools_ozone/server/get_config.rs @@ -219,7 +219,105 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ServiceConfig<'a> { pub struct ViewerConfig<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub role: std::option::Option>, + pub role: std::option::Option>, +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum ViewerConfigRole<'a> { + RoleAdmin, + RoleModerator, + RoleTriage, + RoleVerifier, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> ViewerConfigRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RoleAdmin => "tools.ozone.team.defs#roleAdmin", + Self::RoleModerator => "tools.ozone.team.defs#roleModerator", + Self::RoleTriage => "tools.ozone.team.defs#roleTriage", + Self::RoleVerifier => "tools.ozone.team.defs#roleVerifier", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for ViewerConfigRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for ViewerConfigRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for ViewerConfigRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for ViewerConfigRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for ViewerConfigRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for ViewerConfigRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for ViewerConfigRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for ViewerConfigRole<'_> { + type Output = ViewerConfigRole<'static>; + fn into_static(self) -> Self::Output { + match self { + ViewerConfigRole::RoleAdmin => ViewerConfigRole::RoleAdmin, + ViewerConfigRole::RoleModerator => ViewerConfigRole::RoleModerator, + ViewerConfigRole::RoleTriage => ViewerConfigRole::RoleTriage, + ViewerConfigRole::RoleVerifier => ViewerConfigRole::RoleVerifier, + ViewerConfigRole::Other(v) => ViewerConfigRole::Other(v.into_static()), + } + } } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ViewerConfig<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/set.rs b/crates/jacquard-api/src/tools_ozone/set.rs index 65c761e5..c380e4f0 100644 --- a/crates/jacquard-api/src/tools_ozone/set.rs +++ b/crates/jacquard-api/src/tools_ozone/set.rs @@ -300,67 +300,67 @@ pub mod set_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type SetSize; - type Name; + type CreatedAt; type UpdatedAt; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type SetSize = Unset; - type Name = Unset; + type CreatedAt = Unset; type UpdatedAt = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type SetSize = S::SetSize; - type Name = S::Name; - type UpdatedAt = S::UpdatedAt; + type Name = Unset; } ///State transition - sets the `set_size` field to Set pub struct SetSetSize(PhantomData S>); impl sealed::Sealed for SetSetSize {} impl State for SetSetSize { - type CreatedAt = S::CreatedAt; type SetSize = Set; - type Name = S::Name; + type CreatedAt = S::CreatedAt; type UpdatedAt = S::UpdatedAt; + type Name = S::Name; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type CreatedAt = S::CreatedAt; + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { type SetSize = S::SetSize; - type Name = Set; + type CreatedAt = Set; type UpdatedAt = S::UpdatedAt; + type Name = S::Name; } ///State transition - sets the `updated_at` field to Set pub struct SetUpdatedAt(PhantomData S>); impl sealed::Sealed for SetUpdatedAt {} impl State for SetUpdatedAt { - type CreatedAt = S::CreatedAt; type SetSize = S::SetSize; - type Name = S::Name; + type CreatedAt = S::CreatedAt; type UpdatedAt = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type SetSize = S::SetSize; + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `set_size` field pub struct set_size(()); - ///Marker type for the `name` field - pub struct name(()); + ///Marker type for the `created_at` field + pub struct created_at(()); ///Marker type for the `updated_at` field pub struct updated_at(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -493,10 +493,10 @@ where impl<'a, S> SetViewBuilder<'a, S> where S: set_view_state::State, - S::CreatedAt: set_view_state::IsSet, S::SetSize: set_view_state::IsSet, - S::Name: set_view_state::IsSet, + S::CreatedAt: set_view_state::IsSet, S::UpdatedAt: set_view_state::IsSet, + S::Name: set_view_state::IsSet, { /// Build the final struct pub fn build(self) -> SetView<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/set/delete_set.rs b/crates/jacquard-api/src/tools_ozone/set/delete_set.rs index 60b626dc..84d5f91e 100644 --- a/crates/jacquard-api/src/tools_ozone/set/delete_set.rs +++ b/crates/jacquard-api/src/tools_ozone/set/delete_set.rs @@ -56,8 +56,8 @@ pub enum DeleteSetError<'a> { SetNotFound(std::option::Option>), } -impl std::fmt::Display for DeleteSetError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteSetError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::SetNotFound(msg) => { write!(f, "SetNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/set/delete_values.rs b/crates/jacquard-api/src/tools_ozone/set/delete_values.rs index 41bead7b..b8a9c48b 100644 --- a/crates/jacquard-api/src/tools_ozone/set/delete_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/delete_values.rs @@ -35,37 +35,37 @@ pub mod delete_values_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; type Values; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; type Values = Unset; - } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; - type Values = S::Values; + type Name = Unset; } ///State transition - sets the `values` field to Set pub struct SetValues(PhantomData S>); impl sealed::Sealed for SetValues {} impl State for SetValues { - type Name = S::Name; type Values = Set; + type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Values = S::Values; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); ///Marker type for the `values` field pub struct values(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -138,8 +138,8 @@ where impl<'a, S> DeleteValuesBuilder<'a, S> where S: delete_values_state::State, - S::Name: delete_values_state::IsSet, S::Values: delete_values_state::IsSet, + S::Name: delete_values_state::IsSet, { /// Build the final struct pub fn build(self) -> DeleteValues<'a> { @@ -185,8 +185,8 @@ pub enum DeleteValuesError<'a> { SetNotFound(std::option::Option>), } -impl std::fmt::Display for DeleteValuesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteValuesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::SetNotFound(msg) => { write!(f, "SetNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/set/get_values.rs b/crates/jacquard-api/src/tools_ozone/set/get_values.rs index 793799af..f877f9e5 100644 --- a/crates/jacquard-api/src/tools_ozone/set/get_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/get_values.rs @@ -191,8 +191,8 @@ pub enum GetValuesError<'a> { SetNotFound(std::option::Option>), } -impl std::fmt::Display for GetValuesError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for GetValuesError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::SetNotFound(msg) => { write!(f, "SetNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/setting.rs b/crates/jacquard-api/src/tools_ozone/setting.rs index 2b7139c4..9dc1916d 100644 --- a/crates/jacquard-api/src/tools_ozone/setting.rs +++ b/crates/jacquard-api/src/tools_ozone/setting.rs @@ -36,9 +36,9 @@ pub struct DefsOption<'a> { pub last_updated_by: jacquard_common::types::string::Did<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub manager_role: std::option::Option>, + pub manager_role: std::option::Option>, #[serde(borrow)] - pub scope: jacquard_common::CowStr<'a>, + pub scope: DefsOptionScope<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub updated_at: std::option::Option, #[serde(borrow)] @@ -55,105 +55,105 @@ pub mod defs_option_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type LastUpdatedBy; type CreatedBy; type Key; + type Value; type Scope; + type LastUpdatedBy; type Did; - type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type LastUpdatedBy = Unset; type CreatedBy = Unset; type Key = Unset; + type Value = Unset; type Scope = Unset; + type LastUpdatedBy = Unset; type Did = Unset; - type Value = Unset; - } - ///State transition - sets the `last_updated_by` field to Set - pub struct SetLastUpdatedBy(PhantomData S>); - impl sealed::Sealed for SetLastUpdatedBy {} - impl State for SetLastUpdatedBy { - type LastUpdatedBy = Set; - type CreatedBy = S::CreatedBy; - type Key = S::Key; - type Scope = S::Scope; - type Did = S::Did; - type Value = S::Value; } ///State transition - sets the `created_by` field to Set pub struct SetCreatedBy(PhantomData S>); impl sealed::Sealed for SetCreatedBy {} impl State for SetCreatedBy { - type LastUpdatedBy = S::LastUpdatedBy; type CreatedBy = Set; type Key = S::Key; + type Value = S::Value; type Scope = S::Scope; + type LastUpdatedBy = S::LastUpdatedBy; type Did = S::Did; - type Value = S::Value; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { - type LastUpdatedBy = S::LastUpdatedBy; type CreatedBy = S::CreatedBy; type Key = Set; + type Value = S::Value; type Scope = S::Scope; + type LastUpdatedBy = S::LastUpdatedBy; + type Did = S::Did; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type CreatedBy = S::CreatedBy; + type Key = S::Key; + type Value = Set; + type Scope = S::Scope; + type LastUpdatedBy = S::LastUpdatedBy; type Did = S::Did; - type Value = S::Value; } ///State transition - sets the `scope` field to Set pub struct SetScope(PhantomData S>); impl sealed::Sealed for SetScope {} impl State for SetScope { - type LastUpdatedBy = S::LastUpdatedBy; type CreatedBy = S::CreatedBy; type Key = S::Key; + type Value = S::Value; type Scope = Set; + type LastUpdatedBy = S::LastUpdatedBy; type Did = S::Did; + } + ///State transition - sets the `last_updated_by` field to Set + pub struct SetLastUpdatedBy(PhantomData S>); + impl sealed::Sealed for SetLastUpdatedBy {} + impl State for SetLastUpdatedBy { + type CreatedBy = S::CreatedBy; + type Key = S::Key; type Value = S::Value; + type Scope = S::Scope; + type LastUpdatedBy = Set; + type Did = S::Did; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type LastUpdatedBy = S::LastUpdatedBy; type CreatedBy = S::CreatedBy; type Key = S::Key; - type Scope = S::Scope; - type Did = Set; type Value = S::Value; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type LastUpdatedBy = S::LastUpdatedBy; - type CreatedBy = S::CreatedBy; - type Key = S::Key; type Scope = S::Scope; - type Did = S::Did; - type Value = Set; + type LastUpdatedBy = S::LastUpdatedBy; + type Did = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `last_updated_by` field - pub struct last_updated_by(()); ///Marker type for the `created_by` field pub struct created_by(()); ///Marker type for the `key` field pub struct key(()); + ///Marker type for the `value` field + pub struct value(()); ///Marker type for the `scope` field pub struct scope(()); + ///Marker type for the `last_updated_by` field + pub struct last_updated_by(()); ///Marker type for the `did` field pub struct did(()); - ///Marker type for the `value` field - pub struct value(()); } } @@ -167,8 +167,8 @@ pub struct DefsOptionBuilder<'a, S: defs_option_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ), @@ -322,7 +322,7 @@ impl<'a, S: defs_option_state::State> DefsOptionBuilder<'a, S> { /// Set the `managerRole` field (optional) pub fn manager_role( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.6 = value.into(); self @@ -330,7 +330,7 @@ impl<'a, S: defs_option_state::State> DefsOptionBuilder<'a, S> { /// Set the `managerRole` field to an Option value (optional) pub fn maybe_manager_role( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.6 = value; self @@ -345,7 +345,7 @@ where /// Set the `scope` field (required) pub fn scope( mut self, - value: impl Into>, + value: impl Into>, ) -> DefsOptionBuilder<'a, defs_option_state::SetScope> { self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); DefsOptionBuilder { @@ -397,12 +397,12 @@ where impl<'a, S> DefsOptionBuilder<'a, S> where S: defs_option_state::State, - S::LastUpdatedBy: defs_option_state::IsSet, S::CreatedBy: defs_option_state::IsSet, S::Key: defs_option_state::IsSet, + S::Value: defs_option_state::IsSet, S::Scope: defs_option_state::IsSet, + S::LastUpdatedBy: defs_option_state::IsSet, S::Did: defs_option_state::IsSet, - S::Value: defs_option_state::IsSet, { /// Build the final struct pub fn build(self) -> DefsOption<'a> { @@ -444,6 +444,194 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum DefsOptionManagerRole<'a> { + RoleModerator, + RoleTriage, + RoleAdmin, + RoleVerifier, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> DefsOptionManagerRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RoleModerator => "tools.ozone.team.defs#roleModerator", + Self::RoleTriage => "tools.ozone.team.defs#roleTriage", + Self::RoleAdmin => "tools.ozone.team.defs#roleAdmin", + Self::RoleVerifier => "tools.ozone.team.defs#roleVerifier", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for DefsOptionManagerRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for DefsOptionManagerRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for DefsOptionManagerRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for DefsOptionManagerRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for DefsOptionManagerRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for DefsOptionManagerRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for DefsOptionManagerRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for DefsOptionManagerRole<'_> { + type Output = DefsOptionManagerRole<'static>; + fn into_static(self) -> Self::Output { + match self { + DefsOptionManagerRole::RoleModerator => DefsOptionManagerRole::RoleModerator, + DefsOptionManagerRole::RoleTriage => DefsOptionManagerRole::RoleTriage, + DefsOptionManagerRole::RoleAdmin => DefsOptionManagerRole::RoleAdmin, + DefsOptionManagerRole::RoleVerifier => DefsOptionManagerRole::RoleVerifier, + DefsOptionManagerRole::Other(v) => { + DefsOptionManagerRole::Other(v.into_static()) + } + } + } +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum DefsOptionScope<'a> { + Instance, + Personal, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> DefsOptionScope<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Instance => "instance", + Self::Personal => "personal", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for DefsOptionScope<'a> { + fn from(s: &'a str) -> Self { + match s { + "instance" => Self::Instance, + "personal" => Self::Personal, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for DefsOptionScope<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "instance" => Self::Instance, + "personal" => Self::Personal, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for DefsOptionScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for DefsOptionScope<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for DefsOptionScope<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for DefsOptionScope<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for DefsOptionScope<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for DefsOptionScope<'_> { + type Output = DefsOptionScope<'static>; + fn into_static(self) -> Self::Output { + match self { + DefsOptionScope::Instance => DefsOptionScope::Instance, + DefsOptionScope::Personal => DefsOptionScope::Personal, + DefsOptionScope::Other(v) => DefsOptionScope::Other(v.into_static()), + } + } +} + fn lexicon_doc_tools_ozone_setting_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { diff --git a/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs b/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs index 70b0fdf8..131981e9 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs @@ -20,7 +20,7 @@ pub struct RemoveOptions<'a> { #[serde(borrow)] pub keys: Vec>, #[serde(borrow)] - pub scope: jacquard_common::CowStr<'a>, + pub scope: RemoveOptionsScope<'a>, } pub mod remove_options_state { @@ -72,7 +72,7 @@ pub struct RemoveOptionsBuilder<'a, S: remove_options_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -122,7 +122,7 @@ where /// Set the `scope` field (required) pub fn scope( mut self, - value: impl Into>, + value: impl Into>, ) -> RemoveOptionsBuilder<'a, remove_options_state::SetScope> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); RemoveOptionsBuilder { @@ -163,6 +163,94 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum RemoveOptionsScope<'a> { + Instance, + Personal, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> RemoveOptionsScope<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Instance => "instance", + Self::Personal => "personal", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for RemoveOptionsScope<'a> { + fn from(s: &'a str) -> Self { + match s { + "instance" => Self::Instance, + "personal" => Self::Personal, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for RemoveOptionsScope<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "instance" => Self::Instance, + "personal" => Self::Personal, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for RemoveOptionsScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for RemoveOptionsScope<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for RemoveOptionsScope<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for RemoveOptionsScope<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for RemoveOptionsScope<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for RemoveOptionsScope<'_> { + type Output = RemoveOptionsScope<'static>; + fn into_static(self) -> Self::Output { + match self { + RemoveOptionsScope::Instance => RemoveOptionsScope::Instance, + RemoveOptionsScope::Personal => RemoveOptionsScope::Personal, + RemoveOptionsScope::Other(v) => RemoveOptionsScope::Other(v.into_static()), + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs b/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs index ea2fbd5a..4da22d46 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs @@ -24,9 +24,9 @@ pub struct UpsertOption<'a> { pub key: jacquard_common::types::string::Nsid<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub manager_role: std::option::Option>, + pub manager_role: std::option::Option>, #[serde(borrow)] - pub scope: jacquard_common::CowStr<'a>, + pub scope: UpsertOptionScope<'a>, #[serde(borrow)] pub value: jacquard_common::types::value::Data<'a>, } @@ -42,50 +42,50 @@ pub mod upsert_option_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Key; - type Value; type Scope; + type Value; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Key = Unset; - type Value = Unset; type Scope = Unset; + type Value = Unset; } ///State transition - sets the `key` field to Set pub struct SetKey(PhantomData S>); impl sealed::Sealed for SetKey {} impl State for SetKey { type Key = Set; - type Value = S::Value; - type Scope = S::Scope; - } - ///State transition - sets the `value` field to Set - pub struct SetValue(PhantomData S>); - impl sealed::Sealed for SetValue {} - impl State for SetValue { - type Key = S::Key; - type Value = Set; type Scope = S::Scope; + type Value = S::Value; } ///State transition - sets the `scope` field to Set pub struct SetScope(PhantomData S>); impl sealed::Sealed for SetScope {} impl State for SetScope { type Key = S::Key; - type Value = S::Value; type Scope = Set; + type Value = S::Value; + } + ///State transition - sets the `value` field to Set + pub struct SetValue(PhantomData S>); + impl sealed::Sealed for SetValue {} + impl State for SetValue { + type Key = S::Key; + type Scope = S::Scope; + type Value = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `key` field pub struct key(()); - ///Marker type for the `value` field - pub struct value(()); ///Marker type for the `scope` field pub struct scope(()); + ///Marker type for the `value` field + pub struct value(()); } } @@ -95,8 +95,8 @@ pub struct UpsertOptionBuilder<'a, S: upsert_option_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -162,7 +162,7 @@ impl<'a, S: upsert_option_state::State> UpsertOptionBuilder<'a, S> { /// Set the `managerRole` field (optional) pub fn manager_role( mut self, - value: impl Into>>, + value: impl Into>>, ) -> Self { self.__unsafe_private_named.2 = value.into(); self @@ -170,7 +170,7 @@ impl<'a, S: upsert_option_state::State> UpsertOptionBuilder<'a, S> { /// Set the `managerRole` field to an Option value (optional) pub fn maybe_manager_role( mut self, - value: Option>, + value: Option>, ) -> Self { self.__unsafe_private_named.2 = value; self @@ -185,7 +185,7 @@ where /// Set the `scope` field (required) pub fn scope( mut self, - value: impl Into>, + value: impl Into>, ) -> UpsertOptionBuilder<'a, upsert_option_state::SetScope> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); UpsertOptionBuilder { @@ -219,8 +219,8 @@ impl<'a, S> UpsertOptionBuilder<'a, S> where S: upsert_option_state::State, S::Key: upsert_option_state::IsSet, - S::Value: upsert_option_state::IsSet, S::Scope: upsert_option_state::IsSet, + S::Value: upsert_option_state::IsSet, { /// Build the final struct pub fn build(self) -> UpsertOption<'a> { @@ -252,6 +252,198 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UpsertOptionManagerRole<'a> { + RoleModerator, + RoleTriage, + RoleVerifier, + RoleAdmin, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UpsertOptionManagerRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RoleModerator => "tools.ozone.team.defs#roleModerator", + Self::RoleTriage => "tools.ozone.team.defs#roleTriage", + Self::RoleVerifier => "tools.ozone.team.defs#roleVerifier", + Self::RoleAdmin => "tools.ozone.team.defs#roleAdmin", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UpsertOptionManagerRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UpsertOptionManagerRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UpsertOptionManagerRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UpsertOptionManagerRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UpsertOptionManagerRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UpsertOptionManagerRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UpsertOptionManagerRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UpsertOptionManagerRole<'_> { + type Output = UpsertOptionManagerRole<'static>; + fn into_static(self) -> Self::Output { + match self { + UpsertOptionManagerRole::RoleModerator => { + UpsertOptionManagerRole::RoleModerator + } + UpsertOptionManagerRole::RoleTriage => UpsertOptionManagerRole::RoleTriage, + UpsertOptionManagerRole::RoleVerifier => { + UpsertOptionManagerRole::RoleVerifier + } + UpsertOptionManagerRole::RoleAdmin => UpsertOptionManagerRole::RoleAdmin, + UpsertOptionManagerRole::Other(v) => { + UpsertOptionManagerRole::Other(v.into_static()) + } + } + } +} + +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UpsertOptionScope<'a> { + Instance, + Personal, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UpsertOptionScope<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::Instance => "instance", + Self::Personal => "personal", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UpsertOptionScope<'a> { + fn from(s: &'a str) -> Self { + match s { + "instance" => Self::Instance, + "personal" => Self::Personal, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UpsertOptionScope<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "instance" => Self::Instance, + "personal" => Self::Personal, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UpsertOptionScope<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UpsertOptionScope<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UpsertOptionScope<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UpsertOptionScope<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UpsertOptionScope<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UpsertOptionScope<'_> { + type Output = UpsertOptionScope<'static>; + fn into_static(self) -> Self::Output { + match self { + UpsertOptionScope::Instance => UpsertOptionScope::Instance, + UpsertOptionScope::Personal => UpsertOptionScope::Personal, + UpsertOptionScope::Other(v) => UpsertOptionScope::Other(v.into_static()), + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, diff --git a/crates/jacquard-api/src/tools_ozone/team.rs b/crates/jacquard-api/src/tools_ozone/team.rs index 77ce4b73..3f3adbd0 100644 --- a/crates/jacquard-api/src/tools_ozone/team.rs +++ b/crates/jacquard-api/src/tools_ozone/team.rs @@ -35,7 +35,7 @@ pub struct Member<'a> { #[serde(borrow)] pub profile: std::option::Option>, #[serde(borrow)] - pub role: jacquard_common::CowStr<'a>, + pub role: MemberRole<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] pub updated_at: std::option::Option, } @@ -93,7 +93,7 @@ pub struct MemberBuilder<'a, S: member_state::State> { ::core::option::Option, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -214,7 +214,7 @@ where /// Set the `role` field (required) pub fn role( mut self, - value: impl Into>, + value: impl Into>, ) -> MemberBuilder<'a, member_state::SetRole> { self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); MemberBuilder { @@ -284,6 +284,104 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum MemberRole<'a> { + RoleAdmin, + RoleModerator, + RoleTriage, + RoleVerifier, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> MemberRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RoleAdmin => "tools.ozone.team.defs#roleAdmin", + Self::RoleModerator => "tools.ozone.team.defs#roleModerator", + Self::RoleTriage => "tools.ozone.team.defs#roleTriage", + Self::RoleVerifier => "tools.ozone.team.defs#roleVerifier", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for MemberRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for MemberRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for MemberRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for MemberRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for MemberRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for MemberRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for MemberRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for MemberRole<'_> { + type Output = MemberRole<'static>; + fn into_static(self) -> Self::Output { + match self { + MemberRole::RoleAdmin => MemberRole::RoleAdmin, + MemberRole::RoleModerator => MemberRole::RoleModerator, + MemberRole::RoleTriage => MemberRole::RoleTriage, + MemberRole::RoleVerifier => MemberRole::RoleVerifier, + MemberRole::Other(v) => MemberRole::Other(v.into_static()), + } + } +} + fn lexicon_doc_tools_ozone_team_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< 'static, > { diff --git a/crates/jacquard-api/src/tools_ozone/team/add_member.rs b/crates/jacquard-api/src/tools_ozone/team/add_member.rs index 8e78f21e..e2de037c 100644 --- a/crates/jacquard-api/src/tools_ozone/team/add_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/add_member.rs @@ -20,7 +20,7 @@ pub struct AddMember<'a> { #[serde(borrow)] pub did: jacquard_common::types::string::Did<'a>, #[serde(borrow)] - pub role: jacquard_common::CowStr<'a>, + pub role: AddMemberRole<'a>, } pub mod add_member_state { @@ -33,37 +33,37 @@ pub mod add_member_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Role; type Did; + type Role; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Role = Unset; type Did = Unset; - } - ///State transition - sets the `role` field to Set - pub struct SetRole(PhantomData S>); - impl sealed::Sealed for SetRole {} - impl State for SetRole { - type Role = Set; - type Did = S::Did; + type Role = Unset; } ///State transition - sets the `did` field to Set pub struct SetDid(PhantomData S>); impl sealed::Sealed for SetDid {} impl State for SetDid { - type Role = S::Role; type Did = Set; + type Role = S::Role; + } + ///State transition - sets the `role` field to Set + pub struct SetRole(PhantomData S>); + impl sealed::Sealed for SetRole {} + impl State for SetRole { + type Did = S::Did; + type Role = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `role` field - pub struct role(()); ///Marker type for the `did` field pub struct did(()); + ///Marker type for the `role` field + pub struct role(()); } } @@ -72,7 +72,7 @@ pub struct AddMemberBuilder<'a, S: add_member_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -122,7 +122,7 @@ where /// Set the `role` field (required) pub fn role( mut self, - value: impl Into>, + value: impl Into>, ) -> AddMemberBuilder<'a, add_member_state::SetRole> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); AddMemberBuilder { @@ -136,8 +136,8 @@ where impl<'a, S> AddMemberBuilder<'a, S> where S: add_member_state::State, - S::Role: add_member_state::IsSet, S::Did: add_member_state::IsSet, + S::Role: add_member_state::IsSet, { /// Build the final struct pub fn build(self) -> AddMember<'a> { @@ -163,6 +163,104 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum AddMemberRole<'a> { + RoleAdmin, + RoleModerator, + RoleVerifier, + RoleTriage, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> AddMemberRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RoleAdmin => "tools.ozone.team.defs#roleAdmin", + Self::RoleModerator => "tools.ozone.team.defs#roleModerator", + Self::RoleVerifier => "tools.ozone.team.defs#roleVerifier", + Self::RoleTriage => "tools.ozone.team.defs#roleTriage", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for AddMemberRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for AddMemberRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for AddMemberRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for AddMemberRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for AddMemberRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for AddMemberRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for AddMemberRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for AddMemberRole<'_> { + type Output = AddMemberRole<'static>; + fn into_static(self) -> Self::Output { + match self { + AddMemberRole::RoleAdmin => AddMemberRole::RoleAdmin, + AddMemberRole::RoleModerator => AddMemberRole::RoleModerator, + AddMemberRole::RoleVerifier => AddMemberRole::RoleVerifier, + AddMemberRole::RoleTriage => AddMemberRole::RoleTriage, + AddMemberRole::Other(v) => AddMemberRole::Other(v.into_static()), + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, @@ -200,8 +298,8 @@ pub enum AddMemberError<'a> { MemberAlreadyExists(std::option::Option>), } -impl std::fmt::Display for AddMemberError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for AddMemberError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::MemberAlreadyExists(msg) => { write!(f, "MemberAlreadyExists")?; diff --git a/crates/jacquard-api/src/tools_ozone/team/delete_member.rs b/crates/jacquard-api/src/tools_ozone/team/delete_member.rs index f339b4ca..6764ad02 100644 --- a/crates/jacquard-api/src/tools_ozone/team/delete_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/delete_member.rs @@ -149,8 +149,8 @@ pub enum DeleteMemberError<'a> { CannotDeleteSelf(std::option::Option>), } -impl std::fmt::Display for DeleteMemberError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for DeleteMemberError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::MemberNotFound(msg) => { write!(f, "MemberNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/team/update_member.rs b/crates/jacquard-api/src/tools_ozone/team/update_member.rs index fabfce2f..6841f0df 100644 --- a/crates/jacquard-api/src/tools_ozone/team/update_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/update_member.rs @@ -23,7 +23,7 @@ pub struct UpdateMember<'a> { pub disabled: std::option::Option, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub role: std::option::Option>, + pub role: std::option::Option>, } pub mod update_member_state { @@ -64,7 +64,7 @@ pub struct UpdateMemberBuilder<'a, S: update_member_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -121,15 +121,12 @@ impl<'a, S: update_member_state::State> UpdateMemberBuilder<'a, S> { impl<'a, S: update_member_state::State> UpdateMemberBuilder<'a, S> { /// Set the `role` field (optional) - pub fn role( - mut self, - value: impl Into>>, - ) -> Self { + pub fn role(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.2 = value.into(); self } /// Set the `role` field to an Option value (optional) - pub fn maybe_role(mut self, value: Option>) -> Self { + pub fn maybe_role(mut self, value: Option>) -> Self { self.__unsafe_private_named.2 = value; self } @@ -166,6 +163,104 @@ where } } +#[derive(Debug, Clone, PartialEq, Eq, Hash)] +pub enum UpdateMemberRole<'a> { + RoleAdmin, + RoleModerator, + RoleVerifier, + RoleTriage, + Other(jacquard_common::CowStr<'a>), +} + +impl<'a> UpdateMemberRole<'a> { + pub fn as_str(&self) -> &str { + match self { + Self::RoleAdmin => "tools.ozone.team.defs#roleAdmin", + Self::RoleModerator => "tools.ozone.team.defs#roleModerator", + Self::RoleVerifier => "tools.ozone.team.defs#roleVerifier", + Self::RoleTriage => "tools.ozone.team.defs#roleTriage", + Self::Other(s) => s.as_ref(), + } + } +} + +impl<'a> From<&'a str> for UpdateMemberRole<'a> { + fn from(s: &'a str) -> Self { + match s { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> From for UpdateMemberRole<'a> { + fn from(s: String) -> Self { + match s.as_str() { + "tools.ozone.team.defs#roleAdmin" => Self::RoleAdmin, + "tools.ozone.team.defs#roleModerator" => Self::RoleModerator, + "tools.ozone.team.defs#roleVerifier" => Self::RoleVerifier, + "tools.ozone.team.defs#roleTriage" => Self::RoleTriage, + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } +} + +impl<'a> core::fmt::Display for UpdateMemberRole<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } +} + +impl<'a> AsRef for UpdateMemberRole<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } +} + +impl<'a> serde::Serialize for UpdateMemberRole<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } +} + +impl<'de, 'a> serde::Deserialize<'de> for UpdateMemberRole<'a> +where + 'de: 'a, +{ + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } +} + +impl<'a> Default for UpdateMemberRole<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } +} + +impl jacquard_common::IntoStatic for UpdateMemberRole<'_> { + type Output = UpdateMemberRole<'static>; + fn into_static(self) -> Self::Output { + match self { + UpdateMemberRole::RoleAdmin => UpdateMemberRole::RoleAdmin, + UpdateMemberRole::RoleModerator => UpdateMemberRole::RoleModerator, + UpdateMemberRole::RoleVerifier => UpdateMemberRole::RoleVerifier, + UpdateMemberRole::RoleTriage => UpdateMemberRole::RoleTriage, + UpdateMemberRole::Other(v) => UpdateMemberRole::Other(v.into_static()), + } + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, @@ -203,8 +298,8 @@ pub enum UpdateMemberError<'a> { MemberNotFound(std::option::Option>), } -impl std::fmt::Display for UpdateMemberError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for UpdateMemberError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::MemberNotFound(msg) => { write!(f, "MemberNotFound")?; diff --git a/crates/jacquard-api/src/tools_ozone/verification.rs b/crates/jacquard-api/src/tools_ozone/verification.rs index 39d6b583..67439175 100644 --- a/crates/jacquard-api/src/tools_ozone/verification.rs +++ b/crates/jacquard-api/src/tools_ozone/verification.rs @@ -75,104 +75,104 @@ pub mod verification_view_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type DisplayName; - type Subject; - type Uri; - type Handle; type CreatedAt; type Issuer; + type Handle; + type Subject; + type Uri; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type DisplayName = Unset; - type Subject = Unset; - type Uri = Unset; - type Handle = Unset; type CreatedAt = Unset; type Issuer = Unset; + type Handle = Unset; + type Subject = Unset; + type Uri = Unset; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { type DisplayName = Set; - type Subject = S::Subject; - type Uri = S::Uri; - type Handle = S::Handle; - type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; - } - ///State transition - sets the `subject` field to Set - pub struct SetSubject(PhantomData S>); - impl sealed::Sealed for SetSubject {} - impl State for SetSubject { - type DisplayName = S::DisplayName; - type Subject = Set; - type Uri = S::Uri; - type Handle = S::Handle; type CreatedAt = S::CreatedAt; type Issuer = S::Issuer; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type DisplayName = S::DisplayName; - type Subject = S::Subject; - type Uri = Set; type Handle = S::Handle; - type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type DisplayName = S::DisplayName; type Subject = S::Subject; type Uri = S::Uri; - type Handle = Set; - type CreatedAt = S::CreatedAt; - type Issuer = S::Issuer; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { type DisplayName = S::DisplayName; - type Subject = S::Subject; - type Uri = S::Uri; - type Handle = S::Handle; type CreatedAt = Set; type Issuer = S::Issuer; + type Handle = S::Handle; + type Subject = S::Subject; + type Uri = S::Uri; } ///State transition - sets the `issuer` field to Set pub struct SetIssuer(PhantomData S>); impl sealed::Sealed for SetIssuer {} impl State for SetIssuer { type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; + type Issuer = Set; + type Handle = S::Handle; + type Subject = S::Subject; + type Uri = S::Uri; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; + type Issuer = S::Issuer; + type Handle = Set; type Subject = S::Subject; type Uri = S::Uri; + } + ///State transition - sets the `subject` field to Set + pub struct SetSubject(PhantomData S>); + impl sealed::Sealed for SetSubject {} + impl State for SetSubject { + type DisplayName = S::DisplayName; + type CreatedAt = S::CreatedAt; + type Issuer = S::Issuer; type Handle = S::Handle; + type Subject = Set; + type Uri = S::Uri; + } + ///State transition - sets the `uri` field to Set + pub struct SetUri(PhantomData S>); + impl sealed::Sealed for SetUri {} + impl State for SetUri { + type DisplayName = S::DisplayName; type CreatedAt = S::CreatedAt; - type Issuer = Set; + type Issuer = S::Issuer; + type Handle = S::Handle; + type Subject = S::Subject; + type Uri = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `display_name` field pub struct display_name(()); - ///Marker type for the `subject` field - pub struct subject(()); - ///Marker type for the `uri` field - pub struct uri(()); - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `issuer` field pub struct issuer(()); + ///Marker type for the `handle` field + pub struct handle(()); + ///Marker type for the `subject` field + pub struct subject(()); + ///Marker type for the `uri` field + pub struct uri(()); } } @@ -480,11 +480,11 @@ impl<'a, S> VerificationViewBuilder<'a, S> where S: verification_view_state::State, S::DisplayName: verification_view_state::IsSet, - S::Subject: verification_view_state::IsSet, - S::Uri: verification_view_state::IsSet, - S::Handle: verification_view_state::IsSet, S::CreatedAt: verification_view_state::IsSet, S::Issuer: verification_view_state::IsSet, + S::Handle: verification_view_state::IsSet, + S::Subject: verification_view_state::IsSet, + S::Uri: verification_view_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationView<'a> { diff --git a/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs b/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs index e8c6eb79..dd466c87 100644 --- a/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs +++ b/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs @@ -36,37 +36,37 @@ pub mod grant_error_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Error; type Subject; + type Error; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Error = Unset; type Subject = Unset; - } - ///State transition - sets the `error` field to Set - pub struct SetError(PhantomData S>); - impl sealed::Sealed for SetError {} - impl State for SetError { - type Error = Set; - type Subject = S::Subject; + type Error = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Error = S::Error; type Subject = Set; + type Error = S::Error; + } + ///State transition - sets the `error` field to Set + pub struct SetError(PhantomData S>); + impl sealed::Sealed for SetError {} + impl State for SetError { + type Subject = S::Subject; + type Error = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `error` field - pub struct error(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `error` field + pub struct error(()); } } @@ -139,8 +139,8 @@ where impl<'a, S> GrantErrorBuilder<'a, S> where S: grant_error_state::State, - S::Error: grant_error_state::IsSet, S::Subject: grant_error_state::IsSet, + S::Error: grant_error_state::IsSet, { /// Build the final struct pub fn build(self) -> GrantError<'a> { @@ -640,51 +640,51 @@ pub mod verification_input_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Handle; type DisplayName; type Subject; + type Handle; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Handle = Unset; type DisplayName = Unset; type Subject = Unset; - } - ///State transition - sets the `handle` field to Set - pub struct SetHandle(PhantomData S>); - impl sealed::Sealed for SetHandle {} - impl State for SetHandle { - type Handle = Set; - type DisplayName = S::DisplayName; - type Subject = S::Subject; + type Handle = Unset; } ///State transition - sets the `display_name` field to Set pub struct SetDisplayName(PhantomData S>); impl sealed::Sealed for SetDisplayName {} impl State for SetDisplayName { - type Handle = S::Handle; type DisplayName = Set; type Subject = S::Subject; + type Handle = S::Handle; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type Handle = S::Handle; type DisplayName = S::DisplayName; type Subject = Set; + type Handle = S::Handle; + } + ///State transition - sets the `handle` field to Set + pub struct SetHandle(PhantomData S>); + impl sealed::Sealed for SetHandle {} + impl State for SetHandle { + type DisplayName = S::DisplayName; + type Subject = S::Subject; + type Handle = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `handle` field - pub struct handle(()); ///Marker type for the `display_name` field pub struct display_name(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `handle` field + pub struct handle(()); } } @@ -797,9 +797,9 @@ where impl<'a, S> VerificationInputBuilder<'a, S> where S: verification_input_state::State, - S::Handle: verification_input_state::IsSet, S::DisplayName: verification_input_state::IsSet, S::Subject: verification_input_state::IsSet, + S::Handle: verification_input_state::IsSet, { /// Build the final struct pub fn build(self) -> VerificationInput<'a> { diff --git a/crates/jacquard-api/src/uk_skyblur/post.rs b/crates/jacquard-api/src/uk_skyblur/post.rs index 9c06166e..ecf1ccee 100644 --- a/crates/jacquard-api/src/uk_skyblur/post.rs +++ b/crates/jacquard-api/src/uk_skyblur/post.rs @@ -52,67 +52,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Text; type CreatedAt; - type Visibility; + type Text; type Uri; + type Visibility; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Text = Unset; type CreatedAt = Unset; - type Visibility = Unset; + type Text = Unset; type Uri = Unset; - } - ///State transition - sets the `text` field to Set - pub struct SetText(PhantomData S>); - impl sealed::Sealed for SetText {} - impl State for SetText { - type Text = Set; - type CreatedAt = S::CreatedAt; - type Visibility = S::Visibility; - type Uri = S::Uri; + type Visibility = Unset; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Text = S::Text; type CreatedAt = Set; - type Visibility = S::Visibility; + type Text = S::Text; type Uri = S::Uri; + type Visibility = S::Visibility; } - ///State transition - sets the `visibility` field to Set - pub struct SetVisibility(PhantomData S>); - impl sealed::Sealed for SetVisibility {} - impl State for SetVisibility { - type Text = S::Text; + ///State transition - sets the `text` field to Set + pub struct SetText(PhantomData S>); + impl sealed::Sealed for SetText {} + impl State for SetText { type CreatedAt = S::CreatedAt; - type Visibility = Set; + type Text = Set; type Uri = S::Uri; + type Visibility = S::Visibility; } ///State transition - sets the `uri` field to Set pub struct SetUri(PhantomData S>); impl sealed::Sealed for SetUri {} impl State for SetUri { - type Text = S::Text; type CreatedAt = S::CreatedAt; - type Visibility = S::Visibility; + type Text = S::Text; type Uri = Set; + type Visibility = S::Visibility; + } + ///State transition - sets the `visibility` field to Set + pub struct SetVisibility(PhantomData S>); + impl sealed::Sealed for SetVisibility {} + impl State for SetVisibility { + type CreatedAt = S::CreatedAt; + type Text = S::Text; + type Uri = S::Uri; + type Visibility = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `text` field - pub struct text(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `visibility` field - pub struct visibility(()); + ///Marker type for the `text` field + pub struct text(()); ///Marker type for the `uri` field pub struct uri(()); + ///Marker type for the `visibility` field + pub struct visibility(()); } } @@ -265,10 +265,10 @@ where impl<'a, S> PostBuilder<'a, S> where S: post_state::State, - S::Text: post_state::IsSet, S::CreatedAt: post_state::IsSet, - S::Visibility: post_state::IsSet, + S::Text: post_state::IsSet, S::Uri: post_state::IsSet, + S::Visibility: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs b/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs index ac6841c7..c2f1fc3a 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs @@ -38,66 +38,66 @@ pub mod decrypt_by_cid_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Pds; - type Repo; type Password; type Cid; + type Repo; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Pds = Unset; - type Repo = Unset; type Password = Unset; type Cid = Unset; + type Repo = Unset; } ///State transition - sets the `pds` field to Set pub struct SetPds(PhantomData S>); impl sealed::Sealed for SetPds {} impl State for SetPds { type Pds = Set; - type Repo = S::Repo; - type Password = S::Password; - type Cid = S::Cid; - } - ///State transition - sets the `repo` field to Set - pub struct SetRepo(PhantomData S>); - impl sealed::Sealed for SetRepo {} - impl State for SetRepo { - type Pds = S::Pds; - type Repo = Set; type Password = S::Password; type Cid = S::Cid; + type Repo = S::Repo; } ///State transition - sets the `password` field to Set pub struct SetPassword(PhantomData S>); impl sealed::Sealed for SetPassword {} impl State for SetPassword { type Pds = S::Pds; - type Repo = S::Repo; type Password = Set; type Cid = S::Cid; + type Repo = S::Repo; } ///State transition - sets the `cid` field to Set pub struct SetCid(PhantomData S>); impl sealed::Sealed for SetCid {} impl State for SetCid { type Pds = S::Pds; - type Repo = S::Repo; type Password = S::Password; type Cid = Set; + type Repo = S::Repo; + } + ///State transition - sets the `repo` field to Set + pub struct SetRepo(PhantomData S>); + impl sealed::Sealed for SetRepo {} + impl State for SetRepo { + type Pds = S::Pds; + type Password = S::Password; + type Cid = S::Cid; + type Repo = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `pds` field pub struct pds(()); - ///Marker type for the `repo` field - pub struct repo(()); ///Marker type for the `password` field pub struct password(()); ///Marker type for the `cid` field pub struct cid(()); + ///Marker type for the `repo` field + pub struct repo(()); } } @@ -211,9 +211,9 @@ impl<'a, S> DecryptByCidBuilder<'a, S> where S: decrypt_by_cid_state::State, S::Pds: decrypt_by_cid_state::IsSet, - S::Repo: decrypt_by_cid_state::IsSet, S::Password: decrypt_by_cid_state::IsSet, S::Cid: decrypt_by_cid_state::IsSet, + S::Repo: decrypt_by_cid_state::IsSet, { /// Build the final struct pub fn build(self) -> DecryptByCid<'a> { diff --git a/crates/jacquard-api/src/us_polhem/blog/content.rs b/crates/jacquard-api/src/us_polhem/blog/content.rs index 7b5a44a2..e3232d73 100644 --- a/crates/jacquard-api/src/us_polhem/blog/content.rs +++ b/crates/jacquard-api/src/us_polhem/blog/content.rs @@ -38,51 +38,51 @@ pub mod content_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Content; type Slug; type CreatedAt; - type Content; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Content = Unset; type Slug = Unset; type CreatedAt = Unset; - type Content = Unset; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + type Slug = S::Slug; + type CreatedAt = S::CreatedAt; } ///State transition - sets the `slug` field to Set pub struct SetSlug(PhantomData S>); impl sealed::Sealed for SetSlug {} impl State for SetSlug { + type Content = S::Content; type Slug = Set; type CreatedAt = S::CreatedAt; - type Content = S::Content; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { - type Slug = S::Slug; - type CreatedAt = Set; type Content = S::Content; - } - ///State transition - sets the `content` field to Set - pub struct SetContent(PhantomData S>); - impl sealed::Sealed for SetContent {} - impl State for SetContent { type Slug = S::Slug; - type CreatedAt = S::CreatedAt; - type Content = Set; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `content` field + pub struct content(()); ///Marker type for the `slug` field pub struct slug(()); ///Marker type for the `created_at` field pub struct created_at(()); - ///Marker type for the `content` field - pub struct content(()); } } @@ -195,9 +195,9 @@ where impl<'a, S> ContentBuilder<'a, S> where S: content_state::State, + S::Content: content_state::IsSet, S::Slug: content_state::IsSet, S::CreatedAt: content_state::IsSet, - S::Content: content_state::IsSet, { /// Build the final struct pub fn build(self) -> Content<'a> { diff --git a/crates/jacquard-api/src/us_polhem/blog/post.rs b/crates/jacquard-api/src/us_polhem/blog/post.rs index 3d3f8d39..37b87b66 100644 --- a/crates/jacquard-api/src/us_polhem/blog/post.rs +++ b/crates/jacquard-api/src/us_polhem/blog/post.rs @@ -53,67 +53,67 @@ pub mod post_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Slug; type Title; type CreatedAt; type Content; - type Slug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Slug = Unset; type Title = Unset; type CreatedAt = Unset; type Content = Unset; - type Slug = Unset; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; + type Title = S::Title; + type CreatedAt = S::CreatedAt; + type Content = S::Content; } ///State transition - sets the `title` field to Set pub struct SetTitle(PhantomData S>); impl sealed::Sealed for SetTitle {} impl State for SetTitle { + type Slug = S::Slug; type Title = Set; type CreatedAt = S::CreatedAt; type Content = S::Content; - type Slug = S::Slug; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Slug = S::Slug; type Title = S::Title; type CreatedAt = Set; type Content = S::Content; - type Slug = S::Slug; } ///State transition - sets the `content` field to Set pub struct SetContent(PhantomData S>); impl sealed::Sealed for SetContent {} impl State for SetContent { - type Title = S::Title; - type CreatedAt = S::CreatedAt; - type Content = Set; type Slug = S::Slug; - } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { type Title = S::Title; type CreatedAt = S::CreatedAt; - type Content = S::Content; - type Slug = Set; + type Content = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `title` field pub struct title(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `content` field pub struct content(()); - ///Marker type for the `slug` field - pub struct slug(()); } } @@ -333,10 +333,10 @@ impl<'a, S: post_state::State> PostBuilder<'a, S> { impl<'a, S> PostBuilder<'a, S> where S: post_state::State, + S::Slug: post_state::IsSet, S::Title: post_state::IsSet, S::CreatedAt: post_state::IsSet, S::Content: post_state::IsSet, - S::Slug: post_state::IsSet, { /// Build the final struct pub fn build(self) -> Post<'a> { diff --git a/crates/jacquard-api/src/us_polhem/blog/tag.rs b/crates/jacquard-api/src/us_polhem/blog/tag.rs index c8b9e90f..4ea8edc5 100644 --- a/crates/jacquard-api/src/us_polhem/blog/tag.rs +++ b/crates/jacquard-api/src/us_polhem/blog/tag.rs @@ -37,67 +37,67 @@ pub mod tag_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { + type Slug; type CreatedAt; type Name; type Description; - type Slug; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { + type Slug = Unset; type CreatedAt = Unset; type Name = Unset; type Description = Unset; - type Slug = Unset; + } + ///State transition - sets the `slug` field to Set + pub struct SetSlug(PhantomData S>); + impl sealed::Sealed for SetSlug {} + impl State for SetSlug { + type Slug = Set; + type CreatedAt = S::CreatedAt; + type Name = S::Name; + type Description = S::Description; } ///State transition - sets the `created_at` field to Set pub struct SetCreatedAt(PhantomData S>); impl sealed::Sealed for SetCreatedAt {} impl State for SetCreatedAt { + type Slug = S::Slug; type CreatedAt = Set; type Name = S::Name; type Description = S::Description; - type Slug = S::Slug; } ///State transition - sets the `name` field to Set pub struct SetName(PhantomData S>); impl sealed::Sealed for SetName {} impl State for SetName { + type Slug = S::Slug; type CreatedAt = S::CreatedAt; type Name = Set; type Description = S::Description; - type Slug = S::Slug; } ///State transition - sets the `description` field to Set pub struct SetDescription(PhantomData S>); impl sealed::Sealed for SetDescription {} impl State for SetDescription { - type CreatedAt = S::CreatedAt; - type Name = S::Name; - type Description = Set; type Slug = S::Slug; - } - ///State transition - sets the `slug` field to Set - pub struct SetSlug(PhantomData S>); - impl sealed::Sealed for SetSlug {} - impl State for SetSlug { type CreatedAt = S::CreatedAt; type Name = S::Name; - type Description = S::Description; - type Slug = Set; + type Description = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { + ///Marker type for the `slug` field + pub struct slug(()); ///Marker type for the `created_at` field pub struct created_at(()); ///Marker type for the `name` field pub struct name(()); ///Marker type for the `description` field pub struct description(()); - ///Marker type for the `slug` field - pub struct slug(()); } } @@ -210,10 +210,10 @@ where impl<'a, S> TagBuilder<'a, S> where S: tag_state::State, + S::Slug: tag_state::IsSet, S::CreatedAt: tag_state::IsSet, S::Name: tag_state::IsSet, S::Description: tag_state::IsSet, - S::Slug: tag_state::IsSet, { /// Build the final struct pub fn build(self) -> Tag<'a> { diff --git a/crates/jacquard-api/src/win_tomo_x/pushat.rs b/crates/jacquard-api/src/win_tomo_x/pushat.rs index 7b10d306..c02e6cb8 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat.rs @@ -37,51 +37,51 @@ pub mod device_list_item_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Name; - type Id; type Current; + type Id; + type Name; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Name = Unset; - type Id = Unset; type Current = Unset; + type Id = Unset; + type Name = Unset; } - ///State transition - sets the `name` field to Set - pub struct SetName(PhantomData S>); - impl sealed::Sealed for SetName {} - impl State for SetName { - type Name = Set; + ///State transition - sets the `current` field to Set + pub struct SetCurrent(PhantomData S>); + impl sealed::Sealed for SetCurrent {} + impl State for SetCurrent { + type Current = Set; type Id = S::Id; - type Current = S::Current; + type Name = S::Name; } ///State transition - sets the `id` field to Set pub struct SetId(PhantomData S>); impl sealed::Sealed for SetId {} impl State for SetId { - type Name = S::Name; - type Id = Set; type Current = S::Current; - } - ///State transition - sets the `current` field to Set - pub struct SetCurrent(PhantomData S>); - impl sealed::Sealed for SetCurrent {} - impl State for SetCurrent { + type Id = Set; type Name = S::Name; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Current = S::Current; type Id = S::Id; - type Current = Set; + type Name = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `name` field - pub struct name(()); - ///Marker type for the `id` field - pub struct id(()); ///Marker type for the `current` field pub struct current(()); + ///Marker type for the `id` field + pub struct id(()); + ///Marker type for the `name` field + pub struct name(()); } } @@ -174,9 +174,9 @@ where impl<'a, S> DeviceListItemBuilder<'a, S> where S: device_list_item_state::State, - S::Name: device_list_item_state::IsSet, - S::Id: device_list_item_state::IsSet, S::Current: device_list_item_state::IsSet, + S::Id: device_list_item_state::IsSet, + S::Name: device_list_item_state::IsSet, { /// Build the final struct pub fn build(self) -> DeviceListItem<'a> { diff --git a/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs b/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs index db1e1935..74e21929 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs @@ -34,37 +34,37 @@ pub mod push_notify_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Body; type Target; + type Body; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Body = Unset; type Target = Unset; - } - ///State transition - sets the `body` field to Set - pub struct SetBody(PhantomData S>); - impl sealed::Sealed for SetBody {} - impl State for SetBody { - type Body = Set; - type Target = S::Target; + type Body = Unset; } ///State transition - sets the `target` field to Set pub struct SetTarget(PhantomData S>); impl sealed::Sealed for SetTarget {} impl State for SetTarget { - type Body = S::Body; type Target = Set; + type Body = S::Body; + } + ///State transition - sets the `body` field to Set + pub struct SetBody(PhantomData S>); + impl sealed::Sealed for SetBody {} + impl State for SetBody { + type Target = S::Target; + type Body = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `body` field - pub struct body(()); ///Marker type for the `target` field pub struct target(()); + ///Marker type for the `body` field + pub struct body(()); } } @@ -137,8 +137,8 @@ where impl<'a, S> PushNotifyBuilder<'a, S> where S: push_notify_state::State, - S::Body: push_notify_state::IsSet, S::Target: push_notify_state::IsSet, + S::Body: push_notify_state::IsSet, { /// Build the final struct pub fn build(self) -> PushNotify<'a> { @@ -198,8 +198,8 @@ pub enum PushNotifyError<'a> { DeviceNotFoundError(std::option::Option>), } -impl std::fmt::Display for PushNotifyError<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for PushNotifyError<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { Self::ServiceNotAllowedError(msg) => { write!(f, "ServiceNotAllowedError")?; diff --git a/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs b/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs index 4130d197..a5c74916 100644 --- a/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs +++ b/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs @@ -36,37 +36,37 @@ pub mod poke_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type CreatedAt; type Subject; + type CreatedAt; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type CreatedAt = Unset; type Subject = Unset; - } - ///State transition - sets the `created_at` field to Set - pub struct SetCreatedAt(PhantomData S>); - impl sealed::Sealed for SetCreatedAt {} - impl State for SetCreatedAt { - type CreatedAt = Set; - type Subject = S::Subject; + type CreatedAt = Unset; } ///State transition - sets the `subject` field to Set pub struct SetSubject(PhantomData S>); impl sealed::Sealed for SetSubject {} impl State for SetSubject { - type CreatedAt = S::CreatedAt; type Subject = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Subject = S::Subject; + type CreatedAt = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `created_at` field - pub struct created_at(()); ///Marker type for the `subject` field pub struct subject(()); + ///Marker type for the `created_at` field + pub struct created_at(()); } } @@ -159,8 +159,8 @@ impl<'a, S: poke_state::State> PokeBuilder<'a, S> { impl<'a, S> PokeBuilder<'a, S> where S: poke_state::State, - S::CreatedAt: poke_state::IsSet, S::Subject: poke_state::IsSet, + S::CreatedAt: poke_state::IsSet, { /// Build the final struct pub fn build(self) -> Poke<'a> { diff --git a/crates/jacquard-lexicon/src/codegen.rs b/crates/jacquard-lexicon/src/codegen.rs index dbe6fbf3..2feb455d 100644 --- a/crates/jacquard-lexicon/src/codegen.rs +++ b/crates/jacquard-lexicon/src/codegen.rs @@ -47,6 +47,27 @@ impl<'c> CodeGenerator<'c> { utils::generate_doc_comment(desc) } + /// Track namespace dependency when a ref crosses namespace boundaries + pub(crate) fn track_ref_namespace_dep(&self, current_nsid: &str, ref_str: &str) { + use nsid_utils::NsidPath; + + let current_path = NsidPath::parse(current_nsid); + let ref_path = nsid_utils::RefPath::parse(ref_str, None); + let ref_nsid_path = NsidPath::parse(ref_path.nsid()); + + let current_ns = current_path.namespace(); + let ref_ns = ref_nsid_path.namespace(); + + // Only track if crossing namespace boundaries + if current_ns != ref_ns { + self.namespace_deps + .borrow_mut() + .entry(current_ns) + .or_default() + .insert(ref_ns); + } + } + /// Generate or reference the shared lexicon_doc function for this NSID /// Returns (optional shared function, trait impl tokens) pub(crate) fn generate_schema_impl_with_shared( diff --git a/crates/jacquard-lexicon/src/codegen/structs.rs b/crates/jacquard-lexicon/src/codegen/structs.rs index 402a2b3c..3f95f6a9 100644 --- a/crates/jacquard-lexicon/src/codegen/structs.rs +++ b/crates/jacquard-lexicon/src/codegen/structs.rs @@ -9,7 +9,7 @@ use quote::quote; use std::collections::BTreeMap; use super::CodeGenerator; -use super::utils::{make_ident, value_to_variant_name}; +use super::utils::{known_value_to_variant_name, make_ident, value_to_variant_name}; /// Enum variant kind for IntoStatic generation #[derive(Debug, Clone)] @@ -75,6 +75,12 @@ impl<'c> CodeGenerator<'c> { } } } + LexObjectProperty::String(s) if s.known_values.is_some() => { + let enum_name = + self.generate_field_type_name(nsid, parent_type_name, field_name, ""); + let enum_def = self.generate_inline_known_values_enum(&enum_name, s)?; + nested.push(enum_def); + } _ => {} } } @@ -534,6 +540,137 @@ impl<'c> CodeGenerator<'c> { } } + + impl<'a> core::fmt::Display for #ident<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } + } + + impl<'a> serde::Serialize for #ident<'a> { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + serializer.serialize_str(self.as_str()) + } + } + + impl<'de, 'a> serde::Deserialize<'de> for #ident<'a> + where + 'de: 'a, + { + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + let s = <&'de str>::deserialize(deserializer)?; + Ok(Self::from(s)) + } + } + + #into_static_impl + }) + } + + /// Generate enum for inline string property with known values. + /// Unlike `generate_known_values_enum`, this takes the type name directly + /// and uses fragment extraction for NSID#fragment values. + pub(super) fn generate_inline_known_values_enum( + &self, + type_name: &str, + string: &LexString<'static>, + ) -> Result { + let ident = syn::Ident::new(type_name, proc_macro2::Span::call_site()); + + let known_values = string.known_values.as_ref().unwrap(); + let mut variants = Vec::new(); + let mut from_str_arms = Vec::new(); + let mut as_str_arms = Vec::new(); + + for value in known_values { + let value_str = value.as_ref(); + // Use known_value_to_variant_name to extract fragment from NSID#fragment + let variant_name = known_value_to_variant_name(value_str); + let variant_ident = syn::Ident::new(&variant_name, proc_macro2::Span::call_site()); + + variants.push(quote! { + #variant_ident + }); + + from_str_arms.push(quote! { + #value_str => Self::#variant_ident + }); + + as_str_arms.push(quote! { + Self::#variant_ident => #value_str + }); + } + + let doc = self.generate_doc_comment(string.description.as_ref()); + + // Generate IntoStatic impl + let variant_info: Vec<(String, EnumVariantKind)> = known_values + .iter() + .map(|value| { + let variant_name = known_value_to_variant_name(value.as_ref()); + (variant_name, EnumVariantKind::Unit) + }) + .chain(std::iter::once(( + "Other".to_string(), + EnumVariantKind::Tuple, + ))) + .collect(); + let into_static_impl = + self.generate_into_static_for_enum(type_name, &variant_info, true, false); + + Ok(quote! { + #doc + #[derive(Debug, Clone, PartialEq, Eq, Hash)] + pub enum #ident<'a> { + #(#variants,)* + Other(jacquard_common::CowStr<'a>), + } + + impl<'a> #ident<'a> { + pub fn as_str(&self) -> &str { + match self { + #(#as_str_arms,)* + Self::Other(s) => s.as_ref(), + } + } + } + + impl<'a> From<&'a str> for #ident<'a> { + fn from(s: &'a str) -> Self { + match s { + #(#from_str_arms,)* + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } + } + + impl<'a> From for #ident<'a> { + fn from(s: String) -> Self { + match s.as_str() { + #(#from_str_arms,)* + _ => Self::Other(jacquard_common::CowStr::from(s)), + } + } + } + + impl<'a> core::fmt::Display for #ident<'a> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + write!(f, "{}", self.as_str()) + } + } + + impl<'a> AsRef for #ident<'a> { + fn as_ref(&self) -> &str { + self.as_str() + } + } + impl<'a> serde::Serialize for #ident<'a> { fn serialize(&self, serializer: S) -> Result where @@ -556,6 +693,12 @@ impl<'c> CodeGenerator<'c> { } } + impl<'a> Default for #ident<'a> { + fn default() -> Self { + Self::Other(Default::default()) + } + } + #into_static_impl }) } diff --git a/crates/jacquard-lexicon/src/codegen/types.rs b/crates/jacquard-lexicon/src/codegen/types.rs index a65bf7e8..3fa66cc2 100644 --- a/crates/jacquard-lexicon/src/codegen/types.rs +++ b/crates/jacquard-lexicon/src/codegen/types.rs @@ -20,7 +20,17 @@ impl<'c> CodeGenerator<'c> { match prop { LexObjectProperty::Boolean(_) => Ok(quote! { bool }), LexObjectProperty::Integer(_) => Ok(quote! { i64 }), - LexObjectProperty::String(s) => Ok(self.string_to_rust_type(s)), + LexObjectProperty::String(s) => { + // If string has known_values, use the generated enum type + if s.known_values.is_some() { + let enum_name = + self.generate_field_type_name(nsid, parent_type_name, field_name, ""); + let enum_ident = syn::Ident::new(&enum_name, proc_macro2::Span::call_site()); + Ok(quote! { #enum_ident<'a> }) + } else { + Ok(self.string_to_rust_type(s)) + } + } LexObjectProperty::Bytes(_) => Ok(quote! { bytes::Bytes }), LexObjectProperty::CidLink(_) => { Ok(quote! { jacquard_common::types::cid::CidLink<'a> }) @@ -77,6 +87,8 @@ impl<'c> CodeGenerator<'c> { } else { ref_type.r#ref.to_string() }; + // Track namespace dependency for cross-namespace refs + self.track_ref_namespace_dep(nsid, &ref_str); self.ref_to_rust_type(&ref_str) } LexObjectProperty::Union(union) => { @@ -104,6 +116,8 @@ impl<'c> CodeGenerator<'c> { Ok(quote! { #union_ident<'a> }) } else { // Non-self-ref single-variant: use the ref type directly + // Track namespace dependency for cross-namespace refs + self.track_ref_namespace_dep(nsid, &ref_str); self.ref_to_rust_type(&ref_str) } } else { diff --git a/crates/jacquard-lexicon/src/codegen/utils.rs b/crates/jacquard-lexicon/src/codegen/utils.rs index ed9bac81..dc7cdc1b 100644 --- a/crates/jacquard-lexicon/src/codegen/utils.rs +++ b/crates/jacquard-lexicon/src/codegen/utils.rs @@ -38,6 +38,20 @@ pub(super) fn value_to_variant_name(value: &str) -> String { } } +/// Convert a knownValues entry to a valid Rust variant name. +/// For NSID#fragment values (e.g., "tools.ozone.team.defs#roleAdmin"), +/// extracts just the fragment part for the variant name. +/// For plain values (e.g., "create"), uses the whole value. +pub(super) fn known_value_to_variant_name(value: &str) -> String { + // If contains #, use just the fragment part for the variant name + let name_part = if let Some(idx) = value.rfind('#') { + &value[idx + 1..] + } else { + value + }; + value_to_variant_name(name_part) +} + /// Check if a string is already a valid identifier (alphanumeric + underscore, not starting with digit) #[inline] fn is_valid_identifier(s: &str) -> bool { diff --git a/crates/jacquard-lexicon/src/codegen/xrpc.rs b/crates/jacquard-lexicon/src/codegen/xrpc.rs index 29bb5284..5d4f8f32 100644 --- a/crates/jacquard-lexicon/src/codegen/xrpc.rs +++ b/crates/jacquard-lexicon/src/codegen/xrpc.rs @@ -902,8 +902,8 @@ impl<'c> CodeGenerator<'c> { #(#variants,)* } - impl std::fmt::Display for #ident<'_> { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + impl core::fmt::Display for #ident<'_> { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { #(#display_arms)* Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), diff --git a/examples/subscribe_repos.rs b/examples/subscribe_repos.rs index d706202c..87af55b0 100644 --- a/examples/subscribe_repos.rs +++ b/examples/subscribe_repos.rs @@ -8,6 +8,7 @@ use clap::Parser; use jacquard::api::com_atproto::sync::subscribe_repos::{SubscribeRepos, SubscribeReposMessage}; +use jacquard_api::com_atproto::sync::subscribe_repos::RepoOp; use jacquard_common::xrpc::{SubscriptionClient, TungsteniteSubscriptionClient}; use miette::IntoDiagnostic; use n0_future::StreamExt; @@ -44,20 +45,22 @@ fn normalize_url(input: &str) -> Result { fn print_message(msg: &SubscribeReposMessage) { match msg { SubscribeReposMessage::Commit(commit) => { - println!( - "Commit | repo={} seq={} time={} rev={} commit={} ops={} prev={}", - commit.repo, - commit.seq, - commit.time, - commit.rev, - commit.commit, - commit.ops.len(), - commit - .since - .as_ref() - .map(|ts| ts.to_smolstr()) - .unwrap_or_default(), - ); + if commit.ops.iter().any(|op| op.action == "delete") { + println!( + "Commit | repo={} seq={} time={} rev={} commit={} ops={:?} prev={}", + commit.repo, + commit.seq, + commit.time, + commit.rev, + commit.commit, + commit.ops, + commit + .since + .as_ref() + .map(|ts| ts.to_smolstr()) + .unwrap_or_default(), + ); + } } SubscribeReposMessage::Identity(identity) => { println!( @@ -125,7 +128,7 @@ async fn main() -> miette::Result<()> { Some(result) = messages.next() => { match result { Ok(msg) => print_message(&msg), - Err(e) => eprintln!("Error: {}", e), + Err(e) => eprintln!("--- ERROR: {} ---", e), } } _ = &mut rx => {